mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
agx: Disable tri merging with side effects
As Metal does. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21712>
This commit is contained in:
parent
b20c9adb4e
commit
290f3b76f3
1 changed files with 2 additions and 1 deletions
|
|
@ -2316,7 +2316,8 @@ agx_compile_shader_nir(nir_shader *nir, struct agx_shader_key *key,
|
|||
} else if (nir->info.stage == MESA_SHADER_FRAGMENT) {
|
||||
out->no_colour_output = !(nir->info.outputs_written >> FRAG_RESULT_DATA0);
|
||||
out->disable_tri_merging = nir->info.fs.needs_all_helper_invocations ||
|
||||
nir->info.fs.needs_quad_helper_invocations;
|
||||
nir->info.fs.needs_quad_helper_invocations ||
|
||||
nir->info.writes_memory;
|
||||
|
||||
/* Report a canonical depth layout */
|
||||
enum gl_frag_depth_layout layout = nir->info.fs.depth_layout;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue