mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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:
parent
e1d9533925
commit
116c541c07
1 changed files with 7 additions and 0 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue