Bug 109138 - [KBL-G][GL-CTS]KHR-GL31.texture_size_promotion.functional test failed
Summary: [KBL-G][GL-CTS]KHR-GL31.texture_size_promotion.functional test failed
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 18.3
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-24 02:22 UTC by Hai
Modified: 2019-01-11 23:48 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
TestResults.qpa (9.75 KB, text/plain)
2018-12-24 02:32 UTC, Hai
Details

Description Hai 2018-12-24 02:22:18 UTC
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

Platform	KabyLake-G
CPU	Intel (R) Core (TM) i7-8809G CPU @3.10GHz
GPU	AMD(Radeon RX Vega M GH Graphics);
Memory	16G
OS	Ubutu18.04
Kernel	4.19.0
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
commit 54e546a1a0a6fa412ea4c3e3081bbc9518928a6e



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'..
Fail (Fail)

DONE!

Test run totals:
Passed: 0/1 (0.0%)
Failed: 1/1 (100.0%)
Not supported: 0/1 (0.0%)
Warnings: 0/1 (0.0%)
Comment 1 Hai 2018-12-24 02:32:12 UTC
Created attachment 142877 [details]
TestResults.qpa
Comment 2 Hai 2019-01-02 08:35:25 UTC
Is there any update? Thanks.
Comment 3 Marek Olšák 2019-01-11 23:48:00 UTC
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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.