summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-11-08 17:51:40 -0500
committerRob Clark <[email protected]>2017-11-12 12:28:59 -0500
commit0038deb256dd17d2c1cc61d7def422a08fef9fd1 (patch)
treee181075b00f6e08545ecb999aae306d63b724c52 /src/gallium/drivers/freedreno/ir3/ir3.h
parent4e9a6c686878e6f41f48c605ff4accbdcf630ef6 (diff)
freedreno/ir3: cat6 encoding fixes
Instruction encoding/decoding fixes needed for images, shared variables, etc. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3.h')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.h b/src/gallium/drivers/freedreno/ir3/ir3.h
index 0ff8aba63bd..4658674488a 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3.h
+++ b/src/gallium/drivers/freedreno/ir3/ir3.h
@@ -226,7 +226,9 @@ struct ir3_instruction {
type_t type;
int src_offset;
int dst_offset;
- int iim_val; /* for ldgb/stgb, # of components */
+ int iim_val : 3; /* for ldgb/stgb, # of components */
+ int d : 3;
+ bool typed : 1;
} cat6;
struct {
unsigned w : 1; /* write */
@@ -631,6 +633,7 @@ is_store(struct ir3_instruction *instr)
switch (instr->opc) {
case OPC_STG:
case OPC_STGB:
+ case OPC_STIB:
case OPC_STP:
case OPC_STL:
case OPC_STLW: