mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 19:20:38 +01:00
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:
parent
76ca02ff7b
commit
331bc00d77
1 changed files with 2 additions and 1 deletions
|
|
@ -620,7 +620,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 ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue