mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 12:20:35 +01:00
r600/sfn: Handle color0 writes all on R700 like on EG
Fixes:069f3869acr600/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:
parent
ab35b97b78
commit
7bcd2e6767
2 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue