glTexBuffer doesn't accept GL_RGBA8_SNORM, so use GL_RGBA8UI instead. Unfortunately, we can't use our texture table since Gallium requests PIPE_FORMAT_R8_UNORM for texture buffers. For normal sampler views, the correct semantics are passed down later, but for images (where texture and image formats can differ) this is not case. Fixes: dEQP-GLES31.functional.image_load_store.buffer.format_reinterpret.rgba8ui_rgba8_snorm dEQP-GLES31.functional.image_load_store.buffer.format_reinterpret.r32ui_rgba8_snorm dEQP-GLES31.functional.image_load_store.buffer.format_reinterpret.rgba8i_rgba8_snorm dEQP-GLES31.functional.image_load_store.buffer.format_reinterpret.rgba8_rgba8_snorm Reviewed-by: Elie Tournier <elie.tournier@collabora.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>macos/master
parent
fd10f0a017
commit
fe745cea60
Loading…
Reference in new issue