From b617bfcccfd906c638ef6c6eb5adab857e1938e5 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 25 Jan 2018 07:59:06 -0500 Subject: compiler: int8/uint8 support OpenCL kernels also have int8/uint8. v2: remove changes in nir_search as Jason posted a patch for that Reviewed-by: Jason Ekstrand Signed-off-by: Rob Clark Signed-off-by: Karol Herbst --- src/mesa/state_tracker/st_glsl_types.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/state_tracker') diff --git a/src/mesa/state_tracker/st_glsl_types.cpp b/src/mesa/state_tracker/st_glsl_types.cpp index e57fbc8f314..d4d2139d9da 100644 --- a/src/mesa/state_tracker/st_glsl_types.cpp +++ b/src/mesa/state_tracker/st_glsl_types.cpp @@ -101,6 +101,8 @@ st_glsl_storage_type_size(const struct glsl_type *type, bool is_bindless) case GLSL_TYPE_FLOAT16: case GLSL_TYPE_UINT16: case GLSL_TYPE_INT16: + case GLSL_TYPE_UINT8: + case GLSL_TYPE_INT8: assert(!"Invalid type in type_size"); break; } -- cgit v1.2.3