mesa/src
Gert Wollny 74adc624b6 softpipe: dynamically allocate space for immediate constants
The number of immediate constants was fixed and the size check was
only done by means of an assertion. Given this a shader that emits
more immediate constants would result in a memory corruption when
mesa is build in release mode.

Instead of using this fixed limit allocate the space dynamically, let it
grow as needed, and also remove the unused ImmArray.

Fixes: dEQP-GLES31.functional.ssbo.layout.random.arrays_of_arrays.1

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
2018-10-18 10:59:51 +02:00
..
amd radv: use nir_shrink_vec_array_vars() 2018-10-18 15:04:09 +11:00
broadcom v3d: Add support for hardware pack/unpack of half floats. 2018-10-15 17:16:44 -07:00
compiler glsl: Check the subroutine associated functions names 2018-10-16 08:15:21 +03:00
egl egl: Use correct shared libraries suffix on macOS. 2018-10-11 11:30:00 -07:00
gallium softpipe: dynamically allocate space for immediate constants 2018-10-18 10:59:51 +02:00
gbm gbm: Add GBM_FORMAT_ARGB1555 support 2018-10-09 10:32:51 +02:00
getopt
glx apple/glx/log: added missing va_end() after va_copy() 2018-09-06 17:33:27 +01:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel vulkan: Add VK_EXT_calibrated_timestamps extension (radv and anv) [v5] 2018-10-17 20:10:15 -07:00
loader loader/dri3: Don't wait for fence of old buffer when re-allocating it 2018-09-12 16:55:09 +02:00
mapi meson: only build clapi tests when OpenGL is being built 2018-10-09 08:55:48 -07:00
mesa Fix setting indent-tabs-mode in the Emacs .dir-locals.el files 2018-10-17 19:03:08 +02:00
util util: document a limitation of util_fast_udiv32 2018-10-17 12:27:58 -04:00
vulkan vulkan: Update the XML and headers to 1.1.88 2018-10-13 09:56:18 -05:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
meson.build meson: Only build gallium state tracker tests with shared_glapi 2018-10-09 08:55:56 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00