llvmpipe: never infer early zs tests when fbfetch is active
this breaks zs fbfetch Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16346>
This commit is contained in:
committed by
Marge Bot
parent
5c24eb721a
commit
ef8c5a20ee
@@ -619,7 +619,8 @@ generate_fs_loop(struct gallivm_state *gallivm,
|
||||
|
||||
if (shader->info.base.properties[TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL])
|
||||
depth_mode = EARLY_DEPTH_TEST | EARLY_DEPTH_WRITE;
|
||||
else if (!shader->info.base.writes_z && !shader->info.base.writes_stencil) {
|
||||
else if (!shader->info.base.writes_z && !shader->info.base.writes_stencil &&
|
||||
!shader->info.base.uses_fbfetch) {
|
||||
if (shader->info.base.writes_memory)
|
||||
depth_mode = LATE_DEPTH_TEST | LATE_DEPTH_WRITE;
|
||||
else if (key->alpha.enabled ||
|
||||
|
||||
Reference in New Issue
Block a user