diff options
Diffstat (limited to 'src/mesa/main/shaderimage.c')
-rw-r--r-- | src/mesa/main/shaderimage.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c index 596eadd4f85..feff8ccd916 100644 --- a/src/mesa/main/shaderimage.c +++ b/src/mesa/main/shaderimage.c @@ -430,9 +430,8 @@ _mesa_is_shader_image_format_supported(const struct gl_context *ctx, * ARB_shader_image_load_store extension, c.f. table 3.21 of the OpenGL 4.2 * specification. * - * These can be supported by GLES 3.1 with GL_NV_image_formats & - * GL_EXT_texture_norm16 extensions but we don't have support for the - * latter in Mesa yet. + * Following formats are supported by GLES 3.1 with GL_NV_image_formats & + * GL_EXT_texture_norm16 extensions. */ case GL_RGBA16: case GL_RGBA16_SNORM: @@ -440,7 +439,7 @@ _mesa_is_shader_image_format_supported(const struct gl_context *ctx, case GL_RG16_SNORM: case GL_R16: case GL_R16_SNORM: - return _mesa_is_desktop_gl(ctx); + return _mesa_is_desktop_gl(ctx) || _mesa_has_EXT_texture_norm16(ctx); default: return false; |