summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-29 04:36:36 +0200
committerMarek Olšák <[email protected]>2011-05-29 05:15:27 +0200
commitf76787b3eae3f0b8af839fabfb24b57715a017f6 (patch)
tree5818a1c505a045b525971e0cc60dff4185ee58e0 /src/mesa/state_tracker/st_manager.h
parentd18792f93d6dcdf7ef971522bdfba1ceeb0c6668 (diff)
r300g: fix occlusion queries when depth test is disabled or zbuffer is missing
From now on, depth test is always enabled in hardware. If depth test is disabled in Gallium, the hardware Z function is set to ALWAYS. If there is no zbuffer set, the colorbuffer0 memory is set as a zbuffer to silence the CS checker. This fixes piglit: - occlusion-query-discard - NV_conditional_render/bitmap - NV_conditional_render/drawpixels - NV_conditional_render/vertex_array
Diffstat (limited to 'src/mesa/state_tracker/st_manager.h')
0 files changed, 0 insertions, 0 deletions