KhronosGroup / VK-GL-CTS

Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
https://www.khronos.org/
Apache License 2.0
516 stars 285 forks source link

Question about GLES 2.0 npot mag filtering #172

Open kakashidinho opened 4 years ago

kakashidinho commented 4 years ago

Hi, I'm running the test dEQP.GLES2/functional_texture_filtering_2d_nearest_linear_clamp_rgba8888_npot

I noticed that the test tries to sample a texture of size 31x55 to a rect 64x64. Isn't it magnification case? My implementation of GLES will use magnified sampling in this case. But the reference code does the min filtering. Is it because the npot texture doesn't have lod > 1 by default?

alegal-arm commented 4 years ago

@chrisforbes, can you have a look?