Results for spec/glsl-1.10/compiler/expressions/invalid-logic-not-05.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.818315029144
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.10/compiler/expressions/invalid-logic-not-05.vert fail 1.10
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.10/compiler/expressions/invalid-logic-not-05.vert: Vertex shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.10/compiler/expressions/invalid-logic-not-05.vert: Vertex shader was successfully compiled to run on hardware.



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]

#ifdef GL_ES
precision mediump float;
#endif

uniform int a;

void A(int x) { }

void main() {
	// a is not boolean, so the logical-not operator cannot be applied
	// to it.
	A(!a);
	gl_Position = vec4(0.0);
}

Back to summary