From: Alyssa Rosenzweig Date: Thu, 23 Apr 2020 23:03:44 +0000 (-0400) Subject: pan/bi: Passthrough type for ATEST X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f953b8f5076ad041af05bb1dce5bcf90297a3ac;p=mesa.git pan/bi: Passthrough type for ATEST Signed-off-by: Alyssa Rosenzweig Part-of: --- 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 = {