Skip to content

Commit

Permalink
Fix HLSL texture array output
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 22, 2024
1 parent 47541dc commit 909e938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ static definition parse_const(state_t *state, attribute_list attributes) {
}
else if (type_name == add_name("tex2darray")) {
d.kind = DEFINITION_TEX2DARRAY;
d.global = add_global(tex2d_type_id, attributes, name.identifier);
d.global = add_global(tex2darray_type_id, attributes, name.identifier);
}
else if (type_name == add_name("texcube")) {
d.kind = DEFINITION_TEXCUBE;
Expand Down

0 comments on commit 909e938

Please sign in to comment.