mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aco: Fix p_init_scratch for task shaders.
Fixes: d2d94b62f2
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18339>
This commit is contained in:
parent
ec653eda9d
commit
16c14663e5
1 changed files with 1 additions and 1 deletions
|
|
@ -2335,7 +2335,7 @@ lower_to_hw_instr(Program* program)
|
|||
|
||||
Operand scratch_addr = instr->operands[0];
|
||||
Operand scratch_addr_lo(scratch_addr.physReg(), s1);
|
||||
if (program->stage != compute_cs) {
|
||||
if (program->stage.hw != HWStage::CS) {
|
||||
bld.smem(aco_opcode::s_load_dwordx2, instr->definitions[0], scratch_addr,
|
||||
Operand::zero());
|
||||
scratch_addr_lo.setFixed(instr->definitions[0].physReg());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue