mesa/src
Iago Toral Quiroga 81615ad444 intel/compiler: properly size attribute wa_flags array for Vulkan
Mesa will map user defined vertex input attributes to slots
starting at VERT_ATTRIB_GENERIC0 which gives us room for only 16
slots (up to GL_VERT_ATTRIB_MAX). This sufficient for GL, where
we expose exactly 16 vertex attributes for user defined inputs, but
in Vulkan we can expose up to 28 (which are also mapped from
VERT_ATTRIB_GENERIC0 onwards) so we need to account for this when
we scope the size of the array of attribute workaround flags
that is used during the brw_vertex_workarounds NIR pass. This
prevents out-of-bounds accesses in that array for NIR shaders
that use more than 16 vertex input attributes.

Fixes:
dEQP-VK.pipeline.vertex_input.max_attributes.*

Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2017-08-11 10:41:44 +02:00
..
amd ac: fail shader compilation if libelf is replaced by an incompatible version 2017-08-10 13:24:23 +02:00
broadcom
compiler glsl: stop cloning builtin fuctions _mesa_glsl_find_builtin_function() 2017-08-11 15:44:15 +10:00
egl egl: avoid eglCreatePlatform*Surface{EXT,} crash with invalid dpy 2017-08-10 19:41:51 +01:00
gallium ac: fail shader compilation if libelf is replaced by an incompatible version 2017-08-10 13:24:23 +02:00
gbm loader: rework xmlconfig dependency 2017-08-04 23:54:52 +01:00
getopt
glx dri: Introduce SWAP_METHOD tokens 2017-08-10 09:15:33 +02:00
gtest
hgl
intel intel/compiler: properly size attribute wa_flags array for Vulkan 2017-08-11 10:41:44 +02:00
loader loader: drop the [gs]et_swap_interval callbacks 2017-08-04 23:57:22 +01:00
mapi glapi: per the extension spec, the EXT-suffixed function should be used 2017-08-07 20:32:37 -04:00
mesa glsl: pass mem_ctx to constant_expression_value(...) and friends 2017-08-11 15:44:08 +10:00
util util/ralloc: add ralloc_str_append() helper 2017-08-11 10:43:31 +10:00
vulkan vulkan: Import in the latest 1.0.57 header and XML from Khronos 2017-08-01 13:27:12 -07:00
Makefile.am build: Convert git_sha1_gen script to Python (part2). 2017-08-01 16:33:55 +01:00
SConscript