intel/nir: Set src_type on TCS quads workaround store_output
We weren't setting this and now it's validated, causing assert failures.
Fixes: 1632948a76 ("nir: validate src_type of store_output intrinsics, require bit_size >= 16")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11107
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29027>
This commit is contained in:
@@ -98,6 +98,7 @@ emit_quads_workaround(nir_builder *b, nir_block *block)
|
||||
nir_imm_float(b, 2.0f), inner);
|
||||
|
||||
nir_store_output(b, inner, nir_imm_int(b, 0),
|
||||
.src_type = nir_type_uint32,
|
||||
.component = 2,
|
||||
.write_mask = WRITEMASK_XY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user