summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDanylo Piliaiev <[email protected]>2018-08-13 18:57:38 +0300
committerTapani Pälli <[email protected]>2018-08-15 10:01:43 +0300
commit479a849ad606482c3cf67157b77af94ecd450ace (patch)
tree87ab1770f59814b205567a0f228d18cde1e9a59d /src/mesa
parentbffa025adaa68c429f86f1736600de7710b21a08 (diff)
glsl: Avoid calling get_array_element for scalar constants
Accessing scalar constant as an array in function call or initializer list triggered assert in get_array_element. Examples: func(0[0]); vec2 t = { 0[0], 0 }; Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107550 Signed-off-by: Danylo Piliaiev <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions