Commit 67f94968 authored by Karol Herbst's avatar Karol Herbst Committed by Karol Herbst

glsl: handle 8 and 16 bit ints in glsl_base_type_is_integer

Signed-off-by: Karol Herbst's avatarKarol Herbst <kherbst@redhat.com>
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Bas Nieuwenhuizen's avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
parent 4785e50e
Pipeline #37938 passed with stages
in 7 minutes and 40 seconds
......@@ -109,7 +109,11 @@ static inline bool glsl_base_type_is_64bit(enum glsl_base_type type)
static inline bool glsl_base_type_is_integer(enum glsl_base_type type)
{
return type == GLSL_TYPE_UINT ||
return type == GLSL_TYPE_UINT8 ||
type == GLSL_TYPE_INT8 ||
type == GLSL_TYPE_UINT16 ||
type == GLSL_TYPE_INT16 ||
type == GLSL_TYPE_UINT ||
type == GLSL_TYPE_INT ||
type == GLSL_TYPE_UINT64 ||
type == GLSL_TYPE_INT64 ||
......
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