Commit 17b9f908 authored by Jesse Natalie's avatar Jesse Natalie Committed by Erik Faye-Lund

glsl_type: Add packed to structure type comparison for hash map

parent a7079c2e
......@@ -1121,6 +1121,9 @@ glsl_type::record_compare(const glsl_type *b, bool match_name,
if (this->explicit_alignment != b->explicit_alignment)
return false;
if (this->packed != b->packed)
return false;
/* From the GLSL 4.20 specification (Sec 4.2):
* "Structures must have the same name, sequence of type names, and
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment