summaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_compiler.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-03-19 13:30:03 -0400
committerRob Clark <[email protected]>2019-03-21 09:13:05 -0400
commitbcd81d238797fdccaae0e94444162f1a1769a89e (patch)
tree34b2504fccf70de9cc7e56c2c126c6d84c821083 /src/freedreno/ir3/ir3_compiler.h
parent1443694ee5a063936afc5f273d75294ea77c0bc7 (diff)
freedreno/ir3: optimize sam.s2en to sam
Detect when sampler/texture idx are immediate and switch to non s2en encoding. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_compiler.h')
-rw-r--r--src/freedreno/ir3/ir3_compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_compiler.h b/src/freedreno/ir3/ir3_compiler.h
index e2336062b29..1bc59970c4e 100644
--- a/src/freedreno/ir3/ir3_compiler.h
+++ b/src/freedreno/ir3/ir3_compiler.h
@@ -76,6 +76,7 @@ enum ir3_shader_debug {
IR3_DBG_SHADER_CS = 0x04,
IR3_DBG_DISASM = 0x08,
IR3_DBG_OPTMSGS = 0x10,
+ IR3_DBG_FORCES2EN = 0x20,
};
extern enum ir3_shader_debug ir3_shader_debug;