intel/fs: fix pull-constant-load prior to gfx7
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 2 Jun 2023 19:37:46 +0000 (22:37 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Jun 2023 14:47:41 +0000 (14:47 +0000)
commit049c791a63201bd2081b814e18b4c82c7beee305
tree1690b6ec19eac1adfe2d6dfb59855118ee300ad0
parentc56dd678e4827a0d32f693d04f451ac45c890e82
intel/fs: fix pull-constant-load prior to gfx7

In ad9bc1ffb5 ("intel/fs: enable UBO accesses through bindless heap")
we added a new source, we need to fixup the source index for the
generator.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: ad9bc1ffb5 ("intel/fs: enable UBO accesses through bindless heap")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23405>
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_lower_logical_sends.cpp