SPIRV-Cross/shaders
Sebastián Aedo 905b8244e7 Clamp vector element access to vector size.
In cases where we know the size of the vector and the index at compile
time, we can check if it's accessing in bounds and rely in undefined
behavior otherwise.

Signed-off-by: Sebastián Aedo <saedo@codeweavers.com>
2021-12-07 16:00:06 -03:00
..
amd Move all .invalid shaders into no-opt folders. 2019-11-05 13:19:19 -05:00
asm Clamp vector element access to vector size. 2021-12-07 16:00:06 -03:00
comp Move all .invalid shaders into no-opt folders. 2019-11-05 13:19:19 -05:00
desktop-only GLSL: Improve support for GL_ARB_shader_draw_parameters in desktop GLSL. 2020-05-22 12:53:34 +02:00
flatten Move all .invalid shaders into no-opt folders. 2019-11-05 13:19:19 -05:00
frag Handle Modf/Frexp in more cases. 2021-11-07 11:36:44 +01:00
geom GLSL: Add support for transform_feedback3 geometry streams. 2020-09-30 13:01:35 +02:00
legacy Merge pull request #1530 from rdb/legacy-glsl-round 2020-11-07 16:40:18 +01:00
tesc Add explicit in/out locations everywhere. 2017-06-21 09:39:08 +02:00
tese GLSL: Fix array of input patch variables. 2019-12-10 12:02:12 +01:00
vert Honor NoContraction qualifier. 2021-05-07 12:59:47 +02:00
vulkan GLSL: Deal with buffer_reference_align. 2021-11-07 17:11:46 +01:00