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/amd/vulkan/radv_nir_to_llvm.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/amd/vulkan/radv_nir_to_llvm.c')
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index a589ff41559..20371759a97 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -2268,7 +2268,7 @@ static void mark_16bit_fs_input(struct radv_shader_context *ctx, mark_16bit_fs_input(ctx, glsl_get_array_element(type), location + i * stride); } } else { - assert(glsl_type_is_struct(type)); + assert(glsl_type_is_struct_or_ifc(type)); for (unsigned i = 0; i < glsl_get_length(type); i++) { mark_16bit_fs_input(ctx, glsl_get_struct_field(type, i), location); location += glsl_count_attribute_slots(glsl_get_struct_field(type, i), false); |