mesa/src
Jason Ekstrand e10851ff34 anv: Stop bounds-checking pushed UBOs
The bounds checking is actually less safe than just pushing the data.
If the bounds checking actually ever kicks in and it's not on the last
UBO push range, then the shrinking will cause all subsequent ranges to
be pushed to the wrong place in the GRF.  One of the behaviors we
definitely don't want is for OOB UBO access to result in completely
unrelated UBOs returning garbage values.  It's safer to just push the
UBOs as-requested.  If we're really concerned about robustness, we can
emit shader code to do bounds checking which should be stupid cheap (a
CMP followed by SEL).

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2019-11-20 08:24:09 -08:00
..
amd radv: Remove _mesa_locale_init/fini calls. 2019-11-04 08:02:36 -08:00
broadcom v3d: clamp gl_PointSize to a minimum of 1.0 2019-08-13 09:44:54 +02:00
compiler nir/algebraic: Mark other comparison exact when removing a == a 2019-11-19 16:56:00 -08:00
drm-shim meson: replace libmesa_util with idep_mesautil 2019-08-03 00:08:37 +00:00
egl egl: fix _EGL_NATIVE_PLATFORM fallback 2019-11-13 11:10:13 -08:00
etnaviv etnaviv: Add valgrind support 2019-08-14 10:36:20 +02:00
freedreno turnip: Remove _mesa_locale_init/fini calls. 2019-11-04 08:02:36 -08:00
gallium Call shmget() with permission 0600 instead of 0777 2019-11-20 08:24:09 -08:00
gbm meson: replace last uses of libxmlconfig with idep_xmlconfig 2019-08-03 00:08:37 +00:00
getopt
glx drisw: Fix shared memory leak on drawable resize 2019-09-30 09:09:47 -07:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: fix Mesa build 2019-10-01 12:30:02 -07:00
imgui imgui: bump imgui memory editor copy 2019-06-18 15:34:13 +00:00
intel anv: Stop bounds-checking pushed UBOs 2019-11-20 08:24:09 -08:00
loader driconfig: add a new engine name/version parameter 2019-09-18 09:09:54 -07:00
mapi GL: drop symbols mangling support 2019-10-11 11:09:22 -07:00
mesa Call shmget() with permission 0600 instead of 0777 2019-11-20 08:24:09 -08:00
panfrost pan/midgard: Fix writeout combining 2019-09-04 11:52:36 -07:00
util st/mesa: fix Sanctuary and Tropics by disabling ARB_gpu_shader5 for them 2019-11-19 16:56:00 -08:00
vulkan vulkan: add vk_x11_strict_image_count option 2019-09-18 09:09:54 -07:00
meson.build meson: rename glvnd_missing_pc_files to not glvnd_has_headers_and_pc_files 2019-10-11 11:09:26 -07:00
SConscript