summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/compiler.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-13 09:11:48 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-14 16:57:24 -0700
commit65e6cb4eb09b45c6d10ca761dc0a48207c380c2e (patch)
treec460d06e570633899ca6a5c2bf3165cd9d688114 /src/panfrost/midgard/compiler.h
parentec2f0b580ff030112214cf2fc83d08927f1b1fb7 (diff)
pan/midgard: Wire writemask into UBO reads
Helps the disassembly be clearer and maybe regalloc be smarter. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r--src/panfrost/midgard/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index 57c6c06df6d..e7b786dd7ac 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -539,6 +539,7 @@ midgard_promote_uniforms(compiler_context *ctx, unsigned promoted_count);
midgard_instruction *
emit_ubo_read(
compiler_context *ctx,
+ nir_instr *instr,
unsigned dest,
unsigned offset,
nir_src *indirect_offset,