OSDN Git Service

llvmpipe: fix bug in early depth test / late depth write handling
authorRoland Scheidegger <sroland@vmware.com>
Tue, 21 May 2013 20:51:15 +0000 (22:51 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 22 May 2013 20:57:27 +0000 (22:57 +0200)
commit5314f5d82972a1a7a8ccd9d828e66db3fcdbd412
tree6e2d2fd073d1891087fcd162292ddd6210af4875
parent6d20e251f25b47c19a5fcd80d9aa30bf75367590
llvmpipe: fix bug in early depth test / late depth write handling

Using wrong type if the format was less than 32bits.
No piglit changes as it doesn't hit that path.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_bld_depth.c