projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno/ir3: Add new LDLW/STLW instructions
[mesa.git]
/
src
/
freedreno
/
ir3
/
ir3_cp.c
diff --git
a/src/freedreno/ir3/ir3_cp.c
b/src/freedreno/ir3/ir3_cp.c
index 704ddf99937c63711cd6f882dd316250ce955a42..d60c1aae49cbae9bd844e11667cd8591c838b523 100644
(file)
--- a/
src/freedreno/ir3/ir3_cp.c
+++ b/
src/freedreno/ir3/ir3_cp.c
@@
-216,6
+216,9
@@
static bool valid_flags(struct ir3_instruction *instr, unsigned n,
if ((instr->opc == OPC_STL) && (n != 2))
return false;
+ if (instr->opc == OPC_STLW && n == 0)
+ return false;
+
/* disallow CP into anything but the SSBO slot argument for
* atomics:
*/