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:
Kenneth Graunke
2024-05-02 13:58:21 -07:00
parent 42ed28a726
commit 8d983b3425
@@ -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);