glsl: tidy up struct with a single member
There used to be more members but they now share other fields in order to keep memory use low. Also making the naming more generic will allow us to reuse the field for explicit byte offsets within blocks for ARB_enhanced_layouts. Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
+1
-1
@@ -1014,7 +1014,7 @@ cross_validate_globals(struct gl_shader_program *prog,
|
||||
}
|
||||
|
||||
if (var->type->contains_atomic() &&
|
||||
var->data.atomic.offset != existing->data.atomic.offset) {
|
||||
var->data.offset != existing->data.offset) {
|
||||
linker_error(prog, "offset specifications for %s "
|
||||
"`%s' have differing values\n",
|
||||
mode_string(var), var->name);
|
||||
|
||||
Reference in New Issue
Block a user