Overview

Hardware snb
Architecture m64
Status fail
Filtered Status fail
Time 0.083741

See also historical results for this test.

stdout

/tmp/build_root/m64/lib/piglit/bin/glslparsertest /tmp/build_root/m64/lib/piglit/tests/spec/arb_separate_shader_objects/compiler/1.40/explicit-location-duplicated-input-overlap.frag fail 1.40 --check-link GL_ARB_separate_shader_objects
piglit: debug: Requested an OpenGL 3.1 Forward-Compatible Core Context, and received a matching 3.3 context

Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.40
// require_extensions: GL_ARB_separate_shader_objects
// check_link: true
// [end config]
//
// From the ARB_separate_shader_objects spec v.25:
//
//   "   * An output variable is considered to match an input variable
//         in the subequent shader if:
//
//         * the two variables match in name, type, and qualification;
//           or
//
//         * the two variables are declared with the same location
//           layout qualifier and match in type and qualification."
//
//   ...
//
//   " A program will fail to link if any two non-vertex shader input
//     variables are assigned to the same location."
#version 140
#extension GL_ARB_separate_shader_objects : require

uniform int i;

layout(location = 0) in vec4 in1;
layout(location = 0) in vec4 in2;

out vec4 color;

void main()
{
	if (i == 0)
		color = in1;
	else
		color = in2;
}

stderr

Successfully compiled and linked fragment shader /tmp/build_root/m64/lib/piglit/tests/spec/arb_separate_shader_objects/compiler/1.40/explicit-location-duplicated-input-overlap.frag: (no compiler output)


pid: [27013]
start time: 1555396390.7706563
end time: 1555396390.8543973