From: Rob Clark Date: Mon, 8 Jun 2020 18:52:14 +0000 (-0700) Subject: nir/builder: don't set intr->num_components X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f70d6030e3c0fe3eda912994801330146168fdd4;p=mesa.git nir/builder: don't set intr->num_components The "load-sysval" intrinsics are not vectorized. Signed-off-by: Rob Clark Reviewed-by: Jason Ekstrand Part-of: --- diff --git a/src/compiler/nir/nir_builder_opcodes_h.py b/src/compiler/nir/nir_builder_opcodes_h.py index f0d8cf1db68..ec212f4e309 100644 --- a/src/compiler/nir/nir_builder_opcodes_h.py +++ b/src/compiler/nir/nir_builder_opcodes_h.py @@ -56,7 +56,6 @@ nir_load_system_value(nir_builder *build, nir_intrinsic_op op, int index, unsigned bit_size) { nir_intrinsic_instr *load = nir_intrinsic_instr_create(build->shader, op); - load->num_components = nir_intrinsic_infos[op].dest_components; load->const_index[0] = index; nir_ssa_dest_init(&load->instr, &load->dest, nir_intrinsic_infos[op].dest_components, bit_size, NULL);