r600/sfn: Handle color0 writes all on R700 like on EG
Fixes:069f3869ac
r600/sfn: Fix color outputs when color0 writes all Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Filip Gawin <filip@gawin.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18212> (cherry picked from commit3a0f085837
)
This commit is contained in:
@@ -10327,7 +10327,7 @@
|
||||
"description": "r600/sfn: Handle color0 writes all on R700 like on EG",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "069f3869ac3a140898224c8c37d5b3b6349361a4"
|
||||
},
|
||||
|
@@ -491,10 +491,9 @@ bool FragmentShader::emit_export_pixel(nir_intrinsic_instr& intr)
|
||||
ShaderOutput output(driver_location, TGSI_SEMANTIC_COLOR, write_mask);
|
||||
add_output(output);
|
||||
|
||||
unsigned color_outputs = m_fs_write_all && chip_class() >= ISA_CC_EVERGREEN ?
|
||||
unsigned color_outputs = m_fs_write_all && chip_class() >= ISA_CC_R700 ?
|
||||
m_max_color_exports : 1;
|
||||
|
||||
|
||||
for (unsigned k = 0; k < color_outputs; ++k) {
|
||||
|
||||
unsigned location = (m_dual_source_blend && (semantics.location == FRAG_RESULT_COLOR)
|
||||
|
Reference in New Issue
Block a user