From: Alyssa Rosenzweig Date: Thu, 12 Mar 2020 01:45:32 +0000 (-0400) Subject: pan/bi: Fix missing src_types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=116c541c0745b9eb6dba3ba3d2567a1fde90cf03;p=mesa.git 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: --- 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 }