diff options
Diffstat (limited to 'src/intel/compiler/brw_nir.c')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index f5b66121176..2c44d8f1828 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -279,7 +279,7 @@ brw_nir_lower_vs_inputs(nir_shader *nir, int attr = nir_intrinsic_base(intrin); int slot = _mesa_bitcount_64(nir->info.inputs_read & BITFIELD64_MASK(attr)); - nir_intrinsic_set_base(intrin, 4 * slot); + nir_intrinsic_set_base(intrin, slot); } } } |