diff options
author | Timothy Arceri <[email protected]> | 2019-03-05 16:07:12 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-03-06 13:10:02 +1100 |
commit | 54522d05065d6ff1b37005c91e503b4d4f11ed67 (patch) | |
tree | 62d28c6db61428cd5b0c9b257005fedd10d35571 /src/compiler/nir/nir_split_per_member_structs.c | |
parent | e16a27fcf867c8be5ba94470d78f76348f1e8c07 (diff) |
nir: rename glsl_type_is_struct() -> glsl_type_is_struct_or_ifc()
Replace done using:
find ./src -type f -exec sed -i -- \
's/glsl_type_is_struct(/glsl_type_is_struct_or_ifc(/g' {} \;
Acked-by: Karol Herbst <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_split_per_member_structs.c')
-rw-r--r-- | src/compiler/nir/nir_split_per_member_structs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_split_per_member_structs.c b/src/compiler/nir/nir_split_per_member_structs.c index 1c148d3d63e..c4de52d1461 100644 --- a/src/compiler/nir/nir_split_per_member_structs.c +++ b/src/compiler/nir/nir_split_per_member_structs.c @@ -53,7 +53,7 @@ member_type(const struct glsl_type *type, unsigned index) assert(glsl_get_explicit_stride(type) == 0); return glsl_array_type(elem, glsl_get_length(type), 0); } else { - assert(glsl_type_is_struct(type)); + assert(glsl_type_is_struct_or_ifc(type)); assert(index < glsl_get_length(type)); return glsl_get_struct_field(type, index); } |