Skip to content

Commit

Permalink
revert 3f76364
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugobros3 committed Mar 28, 2024
1 parent fe9e1d2 commit 41ebfde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shady/type_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const Type* get_pointee_type(IrArena* arena, const Type* type) {
assert(type->tag == PtrType_TAG);
uniform &= is_addr_space_uniform(arena, type->payload.ptr_type.address_space);
type = type->payload.ptr_type.pointed_type;
while (type->tag == ArrType_TAG && !type->payload.arr_type.size)
type = type->payload.arr_type.element_type;
// while (type->tag == ArrType_TAG && !type->payload.arr_type.size)
// type = type->payload.arr_type.element_type;

if (qualified)
type = qualified_type(arena, (QualifiedType) {
Expand Down

0 comments on commit 41ebfde

Please sign in to comment.