From 5f953b8f5076ad041af05bb1dce5bcf90297a3ac Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 23 Apr 2020 19:03:44 -0400 Subject: [PATCH] pan/bi: Passthrough type for ATEST Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 4 ++-- 1 file 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 = { -- 2.30.2