Skip to content

arb_program_interface_query: add gl_PerVertex redeclaration

Tapani Pälli requested to merge tpalli/piglit:sso-changes into master

From Section 7.4 (Program Pipeline Objects) of the OpenGL 4.6 Core spec:

"To use any built-in input or output in the gl_PerVertex and gl_PerFragment blocks in separable program objects, shader code must redeclare those blocks prior to use."

This fixes linking errors with upcoming Mesa changes that implement the checks for builtin interface redeclarations.

Signed-off-by: Tapani Pälli tapani.palli@intel.com

Merge request reports