Bug 85393

Summary: [BSW]Piglit spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_LINES_ffs fails
Product: Mesa Reporter: lu hua <huax.lu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: VERIFIED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: ben
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2014-10-24 06:31:00 UTC
System Environment:
--------------------------
Platform: BSW
Libdrm:		(master)libdrm-2.4.58-4-g00847fa48b83a85b0cb882594a12ed1511f780db
Mesa:		(master)9ad80d1d1876493b45428b5f81b03add3ae8150e
Xserver:	(master)xorg-server-1.16.0-419-g942e18e17e334d7a25f8c1dcc6f5c3711eeb6a7d
Xf86_video_intel:(master)2.99.916-114-ga8d1eaf6ee1fed0aeff681d33864e17cb904ddd3
Libva:		(master)ccd93de5a707e92a629cccd595757c8d436fa3cc
Libva_intel_driver:(master)f11176415ec26eb5960ba6841d2d9c22f2cabc60
Kernel:   (drm-intel-nightly)77683b77aa4da6e1788838dad2d2a15b0dfc290b

Bug detailed description:
---------------------------
It fails on BSW with mesa master branch. On earlier testing, the result was pass, but I can't reproduce the pass.
Following cases also have this issue:
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_LINES_other
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_LINE_LOOP_ffs
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_LINE_LOOP_other
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_LINE_STRIP_ffs
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_LINE_STRIP_other
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_POINTS_ffs
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_POINTS_other
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_TRIANGLES_ffs
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_TRIANGLES_other
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_TRIANGLE_FAN_ffs
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_TRIANGLE_FAN_other
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_TRIANGLE_STRIP_ffs
spec_glsl-1.50_execution_geometry_primitive-id-restart_GL_TRIANGLE_STRIP_other
spec_glsl-1.50_execution_geometry_primitive-types_GL_LINES
spec_glsl-1.50_execution_geometry_primitive-types_GL_LINE_STRIP
spec_glsl-1.50_execution_geometry_primitive-types_GL_POINTS
spec_glsl-1.50_execution_geometry_primitive-types_GL_TRIANGLE_FAN
spec_glsl-1.50_execution_geometry_primitive-types_GL_TRIANGLE_STRIP
spec_glsl-1.50_execution_geometry_tri-strip-ordering-with-prim-restart_GL_TRIANGLE_STRIP_ffs
spec_glsl-1.50_execution_geometry_tri-strip-ordering-with-prim-restart_GL_TRIANGLE_STRIP_other
spec_glsl-1.50_transform-feedback-type-and-size

output:
Expected primitive 1 to have gl_PrimitiveIDIn = 1, got 0 instead
Expected primitive 2 to have gl_PrimitiveIDIn = 2, got 0 instead
Expected primitive 6 to have gl_PrimitiveIDIn = 6, got 0 instead
Expected primitive 8 to have gl_PrimitiveIDIn = 8, got 16 instead
Expected primitive 9 to have gl_PrimitiveIDIn = 9, got 0 instead
Expected primitive 12 to have gl_PrimitiveIDIn = 12, got 14 instead
Expected primitive 14 to have gl_PrimitiveIDIn = 14, got 0 instead
Expected primitive 16 to have gl_PrimitiveIDIn = 16, got 0 instead
Expected primitive 18 to have gl_PrimitiveIDIn = 18, got 0 instead
Expected primitive 20 to have gl_PrimitiveIDIn = 20, got 0 instead
Expected primitive 22 to have gl_PrimitiveIDIn = 22, got 0 instead
Expected primitive 24 to have gl_PrimitiveIDIn = 24, got 0 instead
Expected primitive 25 to have gl_PrimitiveIDIn = 25, got 0 instead
Expected primitive 27 to have gl_PrimitiveIDIn = 27, got 0 instead
Expected primitive 29 to have gl_PrimitiveIDIn = 29, got 0 instead
Expected primitive 32 to have gl_PrimitiveIDIn = 32, got 0 instead
Expected primitive 34 to have gl_PrimitiveIDIn = 34, got 0 instead
PIGLIT: {"result": "fail" }

Reproduce steps:
-------------------------
1. xinit
2. bin/glsl-1.50-geometry-primitive-id-restart GL_LINES ffs -fbo -auto
Comment 1 Ben Widawsky 2014-11-20 22:25:26 UTC

*** This bug has been marked as a duplicate of bug 84788 ***
Comment 2 Ben Widawsky 2014-11-20 22:26:57 UTC

*** This bug has been marked as a duplicate of bug 84777 ***
Comment 3 lu hua 2014-12-16 05:42:03 UTC
Verified.Fixed.
root@x-bsw01:/GFX/Test/Piglit/piglit# bin/glsl-1.50-geometry-primitive-id-restart GL_LINES ffs -fbo -auto
libGL: OpenDriver: trying /opt/X11R7/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /opt/X11R7/lib/dri/i965_dri.so
PIGLIT: {"result": "pass" }

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.