When emulating GL_ALPHA8 with GL_R8, we should make the alpha component equal to the red color channel. Fixes: ['dEQP-GLES2.functional.texture.mipmap.2d.generate.a8_fastest'] ['dEQP-GLES2.functional.texture.mipmap.2d.generate.a8_nicest'] on OpenGL 4.5 (core). Tested-by: Jakob Bornecrantz <jakob@collabora.com> Signed-off-by: Dave Airlie <airlied@redhat.com>macos/master
parent
c284516c53
commit
2d907b6b26
Loading…
Reference in new issue