aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-27 19:11:07 -0400
committerMarge Bot <[email protected]>2020-04-29 15:35:54 +0000
commit53c183736e3ae3692eecd761c1b82676b429bc59 (patch)
treeaa5ae0d121cbaeaca0cbbed6fe1f68607286c53d /src/panfrost/midgard
parent74fadc8859e9bd147617890e9b6094712e7083fe (diff)
pan/mdg: Track v_mov type (force uint32 for now?)
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index 92772e26a42..5158ea6a85c 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -518,8 +518,10 @@ v_mov(unsigned src, unsigned dest)
.type = TAG_ALU_4,
.mask = 0xF,
.src = { ~0, src, ~0, ~0 },
+ .src_types = { 0, nir_type_uint32 },
.swizzle = SWIZZLE_IDENTITY,
.dest = dest,
+ .dest_type = nir_type_uint32,
.alu = {
.op = midgard_alu_op_imov,
.reg_mode = midgard_reg_mode_32,