mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
r600/sfn: Use valid pixel mode for SSBO and Image result fetches
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10608>
This commit is contained in:
parent
129de7ee60
commit
91209206f2
1 changed files with 2 additions and 0 deletions
|
|
@ -459,6 +459,7 @@ EmitSSBOInstruction::emit_ssbo_atomic_op(const nir_intrinsic_instr *intrin)
|
|||
{0,7,7,7});
|
||||
fetch->set_flag(vtx_srf_mode);
|
||||
fetch->set_flag(vtx_use_tc);
|
||||
fetch->set_flag(vtx_vpm);
|
||||
emit_instruction(fetch);
|
||||
return true;
|
||||
|
||||
|
|
@ -548,6 +549,7 @@ bool EmitSSBOInstruction::fetch_return_value(const nir_intrinsic_instr *intrin)
|
|||
image_offset, {0,1,2,3});
|
||||
fetch->set_flag(vtx_srf_mode);
|
||||
fetch->set_flag(vtx_use_tc);
|
||||
fetch->set_flag(vtx_vpm);
|
||||
if (format_comp)
|
||||
fetch->set_flag(vtx_format_comp_signed);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue