mesa/src
Emma Anholt 695587413b nir: Don't assert on tg4 offset range.
From the GL 4.6 spec: "If the value of any non-ignored component of the
offset vector operand is outside implementation-dependent limits, the
results of the texture lookup are undefined."  We shouldn't assertion
fail, then.

GLSL-to-NIR shouldn't be enforcing limits on TG4 offsets, since it doesn't
for non-TG4 tex_src_offset either.  Leave it up to the driver to handle
it.

Fixes a crash in a piglit test on nouveau that supplies a negative random
number up to 10,000 as the first coordinate for some reason.  Other NIR
drivers lowered TG4 explicit offsets to tex_src_offset, so they weren't
affected.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16261>
2022-05-03 21:45:49 +00:00
..
amd ac,radeonsi: report SCALED formats as unsupported by samplers and color buffers 2022-05-03 11:11:08 -04:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi agx: Lower mediump flat shading 2022-05-01 22:00:00 -04:00
broadcom v3dv: ignore barriers for image layout transitions from undefined layouts 2022-05-02 08:04:13 +02:00
compiler nir: Don't assert on tg4 offset range. 2022-05-03 21:45:49 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl wgl: Implement WGL_ARB_create_context_robustness 2022-04-28 19:33:04 +00:00
etnaviv etnaviv: fill all minor GPU features from the kernel 2022-04-27 09:10:27 +00:00
freedreno freedreno/drm-shim: Better iova handling 2022-05-02 19:50:33 +00:00
gallium nir: Don't assert on tg4 offset range. 2022-05-03 21:45:49 +00:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx/kopper: Wire up a way for SwapBuffers to fail 2022-04-27 21:50:16 +00:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imagination pvr: Add compute update kernel in vkCmdDispatch(). 2022-05-03 13:41:28 +00:00
imgui
intel anv: remove static_state_mask 2022-05-03 17:12:45 +00:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi win32: Do not use BUILD_GL32, we use def file to export win32 dll symbols. 2022-04-19 19:38:47 +00:00
mesa mesa: Ensure ARB programs end in a newline 2022-05-02 16:02:54 +00:00
microsoft microsoft/compiler: Unload DXIL validator library *after* calling Release() 2022-04-29 16:16:22 +00:00
nouveau Use proper types for meson objects 2022-04-18 13:03:08 +03:00
panfrost pan/bi: Use a dynarray for predecessors 2022-05-03 17:56:16 +00:00
tool ci: Use a dlclose-disabling preload library for leak checking in Vulkan. 2022-01-27 23:47:46 +00:00
util util: fix test on msvc 2022-05-03 19:33:20 +00:00
virtio venus: log performance envs upon instance creation with debug init 2022-05-02 20:20:43 +00:00
vulkan vulkan/wsi/wayland: Fix double free on error condition 2022-05-02 19:26:27 +00:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00