aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_transform.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-06-04 10:07:57 -0700
committerMarge Bot <[email protected]>2020-06-05 00:57:44 +0000
commitf1f81abfd440b7b8ddb51203878a6b97547c19f5 (patch)
tree7cac72cd20002051345b13161c0f6b992a96ba62 /src/gallium/auxiliary/tgsi/tgsi_transform.h
parent4d7ee2749f50f7cd76ce7bd753a2b9762e3af375 (diff)
freedreno/a6xx: more early-z
Technically we only have to do late-z in the alpha-test or discard case if depth-write is enabled. If depth write is disabled, the depth read / test / conditional-write interlock that we need to emulate is not a problem, so we can still use early-z test. There is a slightly weird case when there is no zsbuf attachment (see dEQP-GLES31.functional.fbo.no_attachments.*) where the hw wants us to use LATE_Z.. not entirely sure if this is an interaction with occlusion query or just a pecularity of how the hw works when there is no depth buffer. Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5336>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_transform.h')
0 files changed, 0 insertions, 0 deletions