Commit f8237353 authored by Jesse Natalie's avatar Jesse Natalie Committed by Erik Faye-Lund
Browse files

Revert "nir: Don't inline glsl_get_cl_type_size_align()"

This reverts commit 9f79447d.
parent 9ce52082
......@@ -742,14 +742,6 @@ glsl_get_cl_alignment(const struct glsl_type *type)
return type->cl_alignment();
}
void
glsl_get_cl_type_size_align(const struct glsl_type *type,
unsigned *size, unsigned *align)
{
*size = glsl_get_cl_size(type);
*align = glsl_get_cl_alignment(type);
}
unsigned
glsl_type_get_sampler_count(const struct glsl_type *type)
{
......
......@@ -116,8 +116,12 @@ int glsl_get_cl_size(const struct glsl_type *type);
int glsl_get_cl_alignment(const struct glsl_type *type);
void glsl_get_cl_type_size_align(const struct glsl_type *type,
unsigned *size, unsigned *align);
inline void
glsl_get_cl_type_size_align(const struct glsl_type *type, unsigned *size, unsigned *align)
{
*size = glsl_get_cl_size(type);
*align = glsl_get_cl_alignment(type);
}
unsigned glsl_get_explicit_size(const struct glsl_type *type, bool align_to_stride);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment