llvmpipe: don't allow branch to end for early Z with multisample
Don't allow the branching optimisation with multisample enabled as we have to check all samples. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
This commit is contained in:
parent
d9276ae965
commit
367332b0fc
|
@ -570,7 +570,7 @@ generate_fs_loop(struct gallivm_state *gallivm,
|
|||
z, z_fb, s_fb,
|
||||
facing,
|
||||
&z_value, &s_value,
|
||||
!simple_shader);
|
||||
!simple_shader && !key->multisample);
|
||||
|
||||
if (depth_mode & EARLY_DEPTH_WRITE) {
|
||||
lp_build_depth_stencil_write_swizzled(gallivm, type,
|
||||
|
|
Loading…
Reference in New Issue