Skip to content

vrend: alpha-textures are supported on GLES

Alpha-textures are supported on GLES, unlike on OpenGL core profiles. So we need to check for the difference here, otherwise we get textures uploaded as alpha-textures, and then attempted swizzled as if they were emulated as red-textures.

This fixes the following dEQP test-cases:

  • dEQP-GLES31.functional.texture.border_clamp.formats.alpha.nearest_size_pot
  • dEQP-GLES31.functional.texture.border_clamp.formats.alpha.nearest_size_npot
  • dEQP-GLES31.functional.texture.border_clamp.formats.alpha.linear_size_pot
  • dEQP-GLES31.functional.texture.border_clamp.formats.alpha.linear_size_npot
  • dEQP-GLES31.functional.texture.border_clamp.unused_channels.alpha

Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com

Edited by Erik Faye-Lund

Merge request reports