Skip to content

s3tc: require float-texture support

Erik Faye-Lund requested to merge kusma/piglit:fix-s3tc-gles2 into main

It's not legal to pass GL_FLOAT as a type to glTexImage2D on GLESv2 unless the GL_OES_texture_float extension is supported. Let's add that check.

Fixes: 6b540eca ("s3tc-errors: port to gles20")
Fixes: 8bc777cf ("s3tc-teximage: port to gles2")
Fixes: bb473c77 ("s3tc-texsubimage: port to gles2")

Edited by Erik Faye-Lund

Merge request reports