diff options
author | Eric Anholt <[email protected]> | 2017-05-01 16:00:47 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-05-08 12:15:49 -0700 |
commit | efa9750e96cc80ff76e0082063da37be53c07a12 (patch) | |
tree | ef68cbc80ff3618e41c2f6a76a5de56de9be5ccd /src/amd/common | |
parent | ae7aa8dbaf7c65a8b0d86713530a751b7d2f10b0 (diff) |
glsl: Restrict functions to not return arrays or SOAs in GLSL 1.00.
From the spec,
Arrays are allowed as arguments, but not as the return type. [...] The
return type can also be a structure if the structure does not contain
an array.
Fixes DEQP shaders.functions.invalid.return_array_in_struct_fragment.
v2: Spec cite wording change
Reviewed-by: Samuel Pitoiset <[email protected]>
Tested-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/amd/common')
0 files changed, 0 insertions, 0 deletions