gallium: disable early Z test if fragment shader contains KIL instruction.
authorBrian <brian.paul@tungstengraphics.com>
Sat, 23 Feb 2008 23:17:17 +0000 (16:17 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 23 Feb 2008 23:17:17 +0000 (16:17 -0700)
commit012391357fcbefd2b34e999eed91a129d5efd77c
tree2d2e639aeb24923af9108bb56daaf8356155d378
parent35ca45daba3906ac94fb879d2374d476ba2dac47
gallium: disable early Z test if fragment shader contains KIL instruction.

Use tgsi_scan_shader() to determine if the fragment shader uses KIL or
writes fragment.z
src/gallium/drivers/softpipe/sp_quad.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/softpipe/sp_state_fs.c