diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-28 11:47:33 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-30 08:13:07 +0200 |
commit | e21bb9e7bdea0f73809759d3c248048eedd79663 (patch) | |
tree | 5e85b414900a8075781239459a94b9bf9640c248 /src/glsl/loop_analysis.cpp | |
parent | f3afcbecc63ec565a0386cda554d145ca908367d (diff) |
glsl: assert base_alignment > 0 for records
From GLSL 1.50 spec, section 4.1.8 "Structures":
"Structures must have at least one member declaration."
So the base_alignment should be higher than zero.
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.cpp')
0 files changed, 0 insertions, 0 deletions