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 <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4158>
This commit is contained in:
Alyssa Rosenzweig 2020-03-11 21:45:32 -04:00 committed by Marge Bot
parent e1d9533925
commit 116c541c07

View file

@ -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 }