Skip to content
Snippets Groups Projects
Commit 53787824 authored by Tapani Pälli's avatar Tapani Pälli Committed by Dylan Baker
Browse files

i965: setup sized internalformat for MESA_FORMAT_R10G10B10A2_UNORM


Commit d2b60e43 introduced restrictions (as per GLES spec) on the
internal format. We need to setup a sized format for the texture image
so framebuffers created with that are considered complete.

This change fixes following Android CTS test in AHardwareBufferNativeTests
category:

   SingleLayer_ColorTest_GpuColorOutputAndSampledImage_R10G10B10A2_UNORM

Signed-off-by: default avatarTapani Pälli <tapani.palli@intel.com>
Fixes: d2b60e43 ("mesa/main: R10G10B10_(A2) formats are not color renderable in ES")
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 412badd0)
parent 2936df10
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment