summaryrefslogtreecommitdiffstats
path: root/src/SConscript
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-12-30 13:31:24 +1100
committerTimothy Arceri <[email protected]>2016-03-05 19:38:34 +1100
commit9f24f42c491221a79641a0d810f9c78393d81e5c (patch)
tree82e74776fa31f1431aadf3b79cbff58067d8682e /src/SConscript
parent8abed7f185329250adf9f8c90a131797feda83b6 (diff)
glsl: add offset to glsl interface type
In this patch we also copy the offset value from the ast and implement offset linking rules by adding it to the record_compare() function. From Section 4.4.5 (Uniform and Shader Storage Block Layout Qualifiers) of the GLSL 4.50 spec: "Two blocks linked together in the same program with the same block name must have the exact same set of members qualified with offset and their integral-constant-expression values must be the same, or a link-time error results." Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions