aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-23 19:03:44 -0400
committerMarge Bot <[email protected]>2020-04-27 14:52:25 +0000
commit5f953b8f5076ad041af05bb1dce5bcf90297a3ac (patch)
treed54fa0c894095befbaa95c40fb564e82c9be724f
parent462af10bb785fa99b082207229cd39313ab08773 (diff)
pan/bi: Passthrough type for ATEST
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4766>
-rw-r--r--src/panfrost/bifrost/bifrost_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c
index a28308b53a0..cdaf772709c 100644
--- a/src/panfrost/bifrost/bifrost_compile.c
+++ b/src/panfrost/bifrost/bifrost_compile.c
@@ -127,7 +127,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr)
},
.src_types = {
nir_type_uint32,
- nir_type_float32
+ nir_intrinsic_type(instr)
},
.swizzle = {
{ 0 },
@@ -151,7 +151,7 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr)
BIR_INDEX_REGISTER | 60 /* Can this be arbitrary? */,
},
.src_types = {
- nir_type_float32,
+ nir_intrinsic_type(instr),
nir_type_uint32
},
.swizzle = {