summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/transformfeedback.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-03-06 12:19:04 -0500
committerIlia Mirkin <[email protected]>2016-03-07 00:36:08 -0500
commitf6827e20d12ab062440bc809b8f2338b68edac45 (patch)
tree0078c24333936234750993c80d218f979cf04405 /src/mesa/main/transformfeedback.c
parent3dd0441f6cbcceb42effea2219d835082c2e2725 (diff)
glsl: avoid stack smashing when there are too many attributes
This fixes a crash in dEQP-GLES3.functional.transform_feedback.array_element.separate.points.lowp_mat3x2 and likely others. The vertex shader has > 16 input variables (without explicit locations), which causes us to index outside of the to_assign array. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Cc: "11.1 11.2" <[email protected]>
Diffstat (limited to 'src/mesa/main/transformfeedback.c')
0 files changed, 0 insertions, 0 deletions