The source project of this merge request has been removed.
dri_util: Update internal_format to GL_RGB8 for MESA_FORMAT_R8G8B8X8_UNORM
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