Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Erik Faye-Lund
mesa
Commits
17b9f908
Commit
17b9f908
authored
Sep 17, 2020
by
Jesse Natalie
Committed by
Erik Faye-Lund
Oct 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glsl_type: Add packed to structure type comparison for hash map
parent
a7079c2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/compiler/glsl_types.cpp
src/compiler/glsl_types.cpp
+3
-0
No files found.
src/compiler/glsl_types.cpp
View file @
17b9f908
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment