Skip to content

dri_util: Update internal_format to GL_RGB8 for MESA_FORMAT_R8G8B8X8_UNORM

Nataraj Deshpande requested to merge (removed):nativehardware into master

The commit helps to resolve GL_INVALID_OPERATION error returned during CTS test when Android format RGBX8888 fallback to RGBA8888 in mesa and then set color with glTexSubImage2D(format=GL_RGB type=GL_UNSIGNED_BYTE).

Fixes android.hardware.nativehardware.cts.AHardwareBufferNativeTests #SingleLayer_ColorTest_GpuSampledImageCanBeSampled_R8G8B8X8_UNORM

Signed-off-by: Nataraj Deshpande nataraj.deshpande@intel.com

Edited by Nataraj Deshpande

Merge request reports