summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cl_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_image.c b/src/cl_image.c
index 3a4be825..d58bdf38 100644
--- a/src/cl_image.c
+++ b/src/cl_image.c
@@ -137,6 +137,7 @@ cl_image_get_intel_format(const cl_image_format *fmt)
case CL_RG:
switch (type) {
case CL_UNORM_INT8: return I965_SURFACEFORMAT_R8G8_UNORM;
+ case CL_UNSIGNED_INT8: return I965_SURFACEFORMAT_R8G8_UINT;
default: return INTEL_UNSUPPORTED_FORMAT;
};
#if 0