mesa/src/intel
Timothy Arceri 8bffd601ed Revert "nir: Preserve offsets in lower_io_to_scalar_early"
This reverts commit 96fa23bca5.

The correct fix to the problem was a1bc152340, making this
change obsolete as the pass skips any vars marked with
always_active_io. There was no real advantage to allowing these
vars to be split because they can't be removed anyway. Also there
is no way to split varying arrays gracefully here due to the xfb
layout rules, and this change didn't handle arrays at all.

Removing this obsolete code also fixes an assert in the new CTS
test KHR-Single-GL45.enhanced_layouts.xfb_all_stages. The test
was legally adding xfb offsets to all vertex stages but since
we only mark the varyings in the final vertex stage with the
always_active_io flag the other stages were correctly lowering
to scalars but when an array with an offset hit this code it
asserted since it couldn't handle it.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>

Fixes: a1bc152340 ("spirv: mark variables decorated with XfbBuffer as always active")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6928
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17878>
2022-08-08 01:37:20 +00:00
..
blorp intel/blorp: Set uses_sample_shading for MSAA blit shaders 2022-07-13 20:28:42 +00:00
ci Revert "nir: Preserve offsets in lower_io_to_scalar_early" 2022-08-08 01:37:20 +00:00
common intel: protect against empty invalidate ranges 2022-07-13 01:33:27 +00:00
compiler intel/rt: Handle multiple exits in lower_shader_returns 2022-08-05 11:51:31 +00:00
dev intel/dev: remove INTEL_DEVID_OVERRIDE 2022-08-02 11:17:58 +00:00
ds intel/ds: track untyped dataport flushes 2022-08-05 10:43:50 +03:00
genxml genxml: Add BVH data structures 2022-08-05 11:51:31 +00:00
isl intel/isl: Setting L1 caching policy to Write-back mode 2022-08-05 10:43:50 +03:00
nullhw-layer intel/nullhw: Use correct macro to fix build regression 2022-08-01 10:54:38 +00:00
perf intel: fix typos found by codespell 2022-06-27 10:20:55 +00:00
tools intel/tools/stub: fixup parsing of --platform= 2022-08-02 11:17:58 +00:00
vulkan anv: Don't require 32-bit addresses for scratch on Gen12.5+ 2022-08-05 11:51:31 +00:00
meson.build anv: add perfetto source 2022-01-14 20:17:44 +00:00