Results for spec/glsl-1.20/compiler/structure-and-array-operations/array-assign-implicit-size.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.304769039154
note
Returncode was 1
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-assign-implicit-size.vert:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-assign-implicit-size.vert fail 1.20
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-assign-implicit-size.vert: 


Output:
Shader source:
/* [config]
 * expect_result: fail
 * glsl_version: 1.20
 * [end config]
 *
 * From page 20 (page 26 of the PDF) of the GLSL 1.20 spec:
 *
 *     "However, implicitly sized arrays cannot be assigned to.  Note, this is
 *     a rare case that initializers and assignments appear to have different
 *     semantics."
 */
#version 120

uniform float a[5];

void main()
{
	float b[];
	b = a;

	gl_Position = vec4(0);
}

Back to summary