mesa/src
Eric Anholt 5de3cbbb2e nir: Generate load_ubo_vec4 directly for !PIPE_CAP_NATIVE_INTEGERS
The prog_to_nir->NIR-to-TGSI change ended up causing regressions on r300,
and svga against r300-class hardware, because nir_lower_uniforms_to_ubo()
introduced shifts that nir_lower_ubo_vec4() tried to reverse, but that NIR
couldn't prove are no-ops (since shifting up and back down may drop bits),
and the hardware can't do the integer ops.

Instead, make it so that nir_lower_uniforms_to_ubo can generate
nir_intrinsic_load_ubo_vec4 directly for !INTEGER hardware.

Fixes: cf3fc79cd0 ("st/mesa: Replace mesa_to_tgsi() with prog_to_nir() and nir_to_tgsi().")
Closes: #4602
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10194>
2021-04-16 21:58:00 +00:00
..
amd radv: fix clearing DCC-compressed e5b9g9r9 images 2021-04-16 11:56:32 +01:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
broadcom v3dv: better tracking of dirty push constant state 2021-04-16 12:29:11 +00:00
compiler nir: Generate load_ubo_vec4 directly for !PIPE_CAP_NATIVE_INTEGERS 2021-04-16 21:58:00 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl/android: include "util/compiler.h" for FALLTHROUGH macro 2021-04-16 16:42:20 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno ci/freedreno: Skip some precision tests on a530. 2021-04-16 04:34:14 +00:00
gallium nir: Generate load_ubo_vec4 directly for !PIPE_CAP_NATIVE_INTEGERS 2021-04-16 21:58:00 +00:00
gbm egl: fix software flag in _eglAddDevice call on DRM 2021-03-26 10:32:31 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: Remove some ancient backwards-compatibility typedefs 2021-04-16 10:13:07 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv: disable baked in pipeline bits from dynamic emission path 2021-04-16 11:53:25 +00:00
loader loader: prefer iris on Android 2021-03-31 06:28:18 +00:00
mapi scons: Remove. 2021-03-20 10:38:55 +00:00
mesa nir: Generate load_ubo_vec4 directly for !PIPE_CAP_NATIVE_INTEGERS 2021-04-16 21:58:00 +00:00
microsoft microsoft/compiler: Propagate access when lowering SSBO loads 2021-04-16 17:08:17 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost nir: Generate load_ubo_vec4 directly for !PIPE_CAP_NATIVE_INTEGERS 2021-04-16 21:58:00 +00:00
util util: Remove unused Android options_tbl_lock 2021-04-15 16:01:21 +00:00
virtio venus: fix virtgpu_bo_init_dmabuf for classic resource 2021-04-16 04:56:19 +00:00
vulkan Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-04-15 16:01:22 +00:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00