Bug 92342

Summary: BGRA_EXT and type UNSIGNED_BYTE is a valid combination for TexImage2D
Product: Mesa Reporter: kalyank <kondapallykalyancontribute>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: chadversary
Version: 11.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix

Description kalyank 2015-10-08 05:37:13 UTC
Created attachment 118748 [details]
Fix

Mesa advertises support for https://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_format_BGRA8888.txt. This extension adds BGRA_EXT as a valid internal and external format for TexSubImage2D. Also, this extension makes BGRA_EXT format and UNSIGNED_BYTE type a valid combination.

This used to  work before but reports as INVALID_OPERATION with 11.2. This was found while trying Mesa 11.2 with Chromium.
Comment 1 Tapani Pälli 2015-10-08 05:47:11 UTC
are you testing with patches that fixed bug #92265 ?
Comment 2 Jason Ekstrand 2015-10-08 06:01:13 UTC
Check with mesa master. I think I just pushed the fix.

*** This bug has been marked as a duplicate of bug 92265 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.