When Use Kaby Lake-g(AMD Vega M GPU) to do the OpenGL CTS test, the case "
KHR-GL31.texture_size_promotion.functional" will fail
Following is the environtment
CPU Intel (R) Core (TM) i7-8809G CPU @3.10GHz
GPU AMD(Radeon RX Vega M GH Graphics);
Mesa: mesa 18.3.0 (https://mesa.freedesktop.org/archive/mesa-18.3.0.tar.gz)
VK-GL-CTS version https://github.com/KhronosGroup/VK-GL-CTS
How to reproduce
$ ./glcts -n KHR-GL31.texture_size_promotion.functional
Writing test log into TestResults.qpa
dEQP Core git-54e546a1a0a6fa412ea4c3e3081bbc9518928a6e (0x54e546a1) starting..
target implementation = 'Default'
Test case 'KHR-GL31.texture_size_promotion.functional'..
Test run totals:
Passed: 0/1 (0.0%)
Failed: 1/1 (100.0%)
Not supported: 0/1 (0.0%)
Warnings: 0/1 (0.0%)
Created attachment 142877 [details]
Is there any update? Thanks.
The driver is correct. The test isn't. The test creates the GL context using the compatibility profile, but expects the behavior of the GL core profile.
The difference is in the default value of GL_DEPTH_TEXTURE_MODE, which is GL_LUMINANCE for GL compatibility and GL_RED for GL core.