Bug 96301

Summary: piglit.spec.arb_separate_shader_objects.getprogrampipelineiv regression
Product: piglit Reporter: Mark Janes <mark.a.janes>
Component: testsAssignee: Kenneth Graunke <kenneth>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 96253    

Description Mark Janes 2016-06-01 00:36:29 UTC
This test began failing with:
d8cf982 * i965: Expose GL 4.3 on Gen8+.

piglit/bin/arb_separate_shader_object-GetProgramPipelineiv -auto -fbo
piglit: debug: Requested an OpenGL 3.1 Forward-Compatible Core Context, and received a matching 4.3 context

Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at ../tests/spec/arb_separate_shader_objects/GetProgramPipelineiv.c:273)
Attach program (10) to stage ((unrecognized enum)). Expected to be supported: yes
Attach program (8) to stage ((unrecognized enum)). Expected to be supported: yes
Unexpected GL error: GL_INVALID_OPERATION 0x502
(Error at ../tests/spec/arb_separate_shader_objects/GetProgramPipelineiv.c:86)
Attach program (6) to stage (GL_GEOMETRY_SHADER). Expected to be supported: yes
Attach program (4) to stage (GL_TESS_EVALUATION_SHADER). Expected to be supported: yes
Attach program (2) to stage (GL_TESS_CONTROL_SHADER). Expected to be supported: yes

Standard Error

Failed to link: 0:6(2): error: `gl_FragColor' undeclared
0:6(2): error: value of type vec4 cannot be assigned to variable of type error

Mesa: User error: GL_INVALID_OPERATION in glActiveShaderProgram(program 8 not linked)
Failed to get Active Program.
Mesa: User error: GL_INVALID_OPERATION in glUseProgramStages(program not linked)
Failed to get program of stage (unrecognized enum).
Comment 1 Kenneth Graunke 2016-06-01 01:40:50 UTC
Patch on the Piglit mailing list:
http://mid.gmane.org/20160601013901.9219-1-kenneth@whitecape.org
Comment 2 Kenneth Graunke 2016-06-06 18:29:15 UTC
Fixed in Piglit with:

commit 41a582c1158bff316839524ab0cdfba6a2e7d448
Author: Kenneth Graunke <kenneth@whitecape.org>
Date:   Tue May 31 18:36:16 2016 -0700

    Fix GetProgramPipelineiv test with GLSL 4.30+.

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.