mesa/src
Rhys Perry f03c20ffae aco: fix WQM for texture instructions with args before the coordinates
Previously, we might not have required all coordinates to be in WQM if
there were other args before them. We should probably also require that
the offset is in WQM.

fossil-db (GFX10.3):
Totals from 10053 (7.21% of 139391) affected shaders:
SGPRs: 911032 -> 911048 (+0.00%); split: -0.00%, +0.00%
VGPRs: 689856 -> 688412 (-0.21%); split: -0.26%, +0.05%
CodeSize: 84151460 -> 84140396 (-0.01%); split: -0.02%, +0.01%
MaxWaves: 77526 -> 77527 (+0.00%)
Instrs: 15972106 -> 15971521 (-0.00%); split: -0.01%, +0.01%

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4153
Fixes: 4015b3651a ("aco: only require texture coordinates to be in WQM if NSA is used")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8693>
2021-01-25 16:31:39 +00:00
..
amd aco: fix WQM for texture instructions with args before the coordinates 2021-01-25 16:31:39 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3dv/meta: Use sized types for nir_tex_instr::dest_type 2021-01-25 11:21:42 +01:00
compiler nir/lower_tex: Assume that nir_tex_instr::dest_type is sized 2021-01-25 11:21:59 +01:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/dri2: fix image loaderPrivate type mixup 2020-12-24 00:05:15 +09:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno ir3: Assume that nir_tex_instr::dest_type is sized 2021-01-25 11:22:07 +01:00
gallium zink: add a VkExternalMemoryImageCreateInfo for PIPE_BIND_SHARED images 2021-01-25 16:14:30 +00:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx: Provide glvnd wrapper for glXSwapIntervalEXT 2021-01-22 22:34:23 -08:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: Use sized types for nir_tex_instr::dest_type 2021-01-25 11:21:42 +01:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi mesa: remove _mesa_initialize_exec_dispatch from draw.c by autogenerating it 2021-01-21 00:12:35 +00:00
mesa ptn: Use sized types for nir_tex_instr::dest_type 2021-01-25 11:21:53 +01:00
microsoft dxil: Use sized types for nir_tex_instr::dest_type 2021-01-25 11:21:42 +01:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Assume that nir_tex_instr::dest_type is sized 2021-01-25 11:21:59 +01:00
util util: When building 'ARM64EC', don't use x64 intrinsics which need to be emulated 2021-01-22 17:56:08 +00:00
virtio virgl: update headers 2021-01-22 21:25:48 +00:00
vulkan vk-device-select: add device group support 2021-01-25 07:08:14 +10:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00