Bug 90571

Summary: [SNB+]Ogles3conform ES3-CTS.shaders.fragdepth* skipped with some parameters
Product: Mesa Reporter: lu hua <huax.lu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED NOTABUG QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2015-05-22 02:33:53 UTC
System Environment:
--------------------------
Platform: BSW
Libdrm:		(master)libdrm-2.4.61-1-ge9ea1f42d14e10852f292f3470aee260c7349978
Mesa:		(master)4ee69a97bb0af0cc216539c48b246ea2abf8f208
Xserver:	(master)xorg-server-1.17.0-146-gfc59c8fe8d941b0ec1e98c59bc57b1f97dba149d
Xf86_video_intel:(master)2.99.917-310-ge617c1941c4e5ee90b69221013aab799eace925d 
Libva:		(master)9bfde38f19d81b7f33db8c4c8e80420c9e60429e
Libva_intel_driver:(master)8dda0650b55c467200c34ada127b5d9b54edea5c
Kernel:   (drm-intel-nightly)7e30ba951445ac86f6235a6cf55fc84730c1baf3

Bug detailed description:
-----------------------------
ES3-CTS.shaders.fragdepth* cases skipped with some parameters. It always happens on SNB+ platforms with mesa master and stable branch.
They are pass without any parameters.

output:
# ./glcts --deqp-case=ES3-CTS.shaders.fragdepth.compare.const
dEQP Core GL-CTS-2.0 (0x0052484b) starting..
  target implementation = 'X11'

Test case 'ES3-CTS.shaders.fragdepth.compare.const'..
Vertex compile time = 0.644000 ms
Fragment compile time = 0.504000 ms
Link time = 1.324000 ms
  Pass (Pass)

DONE!

Test run totals:
  Passed:        1/1 (100.00%)
  Failed:        0/1 (0.00%)
  Not supported: 0/1 (0.00%)
  Warnings:      0/1 (0.00%)

#./glcts --deqp-case=ES3-CTS.shaders.fragdepth.compare.const --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-surface-type=window --deqp-gl-config-id=14
dEQP Core GL-CTS-2.0 (0x0052484b) starting..
  target implementation = 'X11'

Test case 'ES3-CTS.shaders.fragdepth.compare.const'..
  NotSupported (Not supported)

DONE!

Test run totals:
  Passed:        0/1 (0.00%)
  Failed:        0/1 (0.00%)
  Not supported: 1/1 (100.00%)
  Warnings:      0/1 (0.00%)

Reproduce steps:
---------------------------- 
1. xinit
2. ./glcts --deqp-case=ES3-CTS.shaders.fragdepth.compare.const --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-surface-type=window --deqp-gl-config-id=14
Comment 1 Tapani Pälli 2015-05-22 06:45:26 UTC
This happens because fragdepth tests can be run only on those visual configs where we have depth buffer available. This is not a bug but happens on any other driver as well. You can see from the logs that fragdepth tests will get run on visuals with depth buffer successfully, you can run against all visuals by taking out away parameter 'deqp-gl-config-id'.

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.