From 116c541c0745b9eb6dba3ba3d2567a1fde90cf03 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 11 Mar 2020 21:45:32 -0400 Subject: [PATCH] pan/bi: Fix missing src_types We want types to be consistent throughout the IR so we don't have to make exceptions to parse things out. These cases just got missed. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 5b42b3ccd4e..0195940cda0 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -125,6 +125,9 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr) .src = { bir_src_index(&instr->src[0]) }, + .src_types = { + nir_type_float32, + }, .swizzle = { { 0, 1, 2, 3 } } @@ -148,6 +151,10 @@ bi_emit_st_vary(bi_context *ctx, nir_intrinsic_instr *instr) address.dest, bir_src_index(&instr->src[0]) }, + .src_types = { + nir_type_uint64, + nir_type_uint32 + }, .swizzle = { { 0 }, { 0, 1, 2, 3 } -- 2.30.2