intel/fs: drop FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD_GFX7
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 21 Dec 2022 18:16:27 +0000 (20:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 26 Jan 2023 11:26:53 +0000 (11:26 +0000)
commit13cca489203bbfb30050fb79bcaff92f5691c7d8
tree595a4e6d88d78d38f083c0f490ecbcb004606ae5
parent5bc91550d1d78d3d35251e0080e74733530ee25d
intel/fs: drop FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD_GFX7

We can lower FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD into other more
generic sends and drop this internal opcode.

The idea behind this change is to allow bindless surfaces to be used
for UBO pulls and why it's interesting to be able to reuse
setup_surface_descriptors(). But that will come in a later change.

No shader-db changes on TGL & DG2.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20416>
src/intel/compiler/brw_eu_defines.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_ir_performance.cpp
src/intel/compiler/brw_lower_logical_sends.cpp
src/intel/compiler/brw_schedule_instructions.cpp
src/intel/compiler/brw_shader.cpp