agx: don't inline imms into stack_store
we need opt_large_consts.. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:

committed by
Marge Bot

parent
f6c17cbe48
commit
34ca925064
@@ -159,7 +159,8 @@ agx_optimizer_inline_imm(agx_instr **defs, agx_instr *I, bool is_float)
|
||||
I->op == AGX_OPCODE_LOCAL_ATOMIC) &&
|
||||
s != 2)
|
||||
continue;
|
||||
if ((I->op == AGX_OPCODE_LOCAL_LOAD || I->op == AGX_OPCODE_DEVICE_LOAD) &&
|
||||
if ((I->op == AGX_OPCODE_LOCAL_LOAD || I->op == AGX_OPCODE_DEVICE_LOAD ||
|
||||
I->op == AGX_OPCODE_STACK_STORE) &&
|
||||
s != 1)
|
||||
continue;
|
||||
if (I->op == AGX_OPCODE_SPLIT)
|
||||
|
Reference in New Issue
Block a user