mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
ir3: allow imm src0 (IBO) on bindless atomics
Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39932>
This commit is contained in:
parent
b8437e30bf
commit
bd69573c34
1 changed files with 5 additions and 3 deletions
|
|
@ -1884,11 +1884,13 @@ ir3_valid_flags(struct ir3_instruction *instr, unsigned n, unsigned flags)
|
|||
/* disallow immediates in anything but the SSBO slot argument for
|
||||
* cat6 instructions:
|
||||
*/
|
||||
if (is_global_a3xx_atomic(instr->opc) && (n != 0))
|
||||
if ((is_global_a3xx_atomic(instr->opc) ||
|
||||
is_bindless_atomic(instr->opc)) &&
|
||||
(n != 0)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (is_local_atomic(instr->opc) || is_global_a6xx_atomic(instr->opc) ||
|
||||
is_bindless_atomic(instr->opc))
|
||||
if (is_local_atomic(instr->opc) || is_global_a6xx_atomic(instr->opc))
|
||||
return false;
|
||||
|
||||
if (instr->opc == OPC_STG && (n == 2))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue