diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-11 21:45:32 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-12 12:41:08 +0000 |
commit | 116c541c0745b9eb6dba3ba3d2567a1fde90cf03 (patch) | |
tree | d01397dac971828b86973c017da8bb6d6086632a /src/panfrost | |
parent | e1d95339254361d4a481b35b3d2adeb4ae417d03 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4158>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 } |