mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
r600/sfn: Fix Cayman SSBO write with more than one value
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
3b1f82c777
commit
80efb6369a
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ bool EmitSSBOInstruction::emit_store_ssbo(const nir_intrinsic_instr* instr)
|
|||
m_store_ops.push_back(store);
|
||||
|
||||
for (unsigned i = 1; i < nir_src_num_components(instr->src[0]); ++i) {
|
||||
emit_instruction(new AluInstruction(op1_mov, temp2.reg_i(0), from_nir(instr->src[0], i), write));
|
||||
emit_instruction(new AluInstruction(op1_mov, temp2.reg_i(0), from_nir(instr->src[0], i), get_chip_class() == CAYMAN ? last_write : write));
|
||||
emit_instruction(new AluInstruction(op2_add_int, addr_vec.reg_i(0),
|
||||
{addr_vec.reg_i(0), Value::one_i}, last_write));
|
||||
store = new RatInstruction(cf_op, RatInstruction::STORE_TYPED,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue