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 <kherbst@redhat.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user