Results for spec/glsl-1.00/compiler/precision-qualifiers/precision-global-01.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.279937028885
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-global-01.frag pass 1.00
errors
  • Failed to compile fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-global-01.frag: 0(14) : error C0000: syntax error, unexpected reserved word "float", expecting '{' at token "float"
  • 0(17) : error C7573: OpenGL/ES requires precision specifier on float types
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-global-01.frag: 0(14) : error C0000: syntax error, unexpected reserved word "float", expecting '{' at token "float"
0(17) : error C7573: OpenGL/ES requires precision specifier on float types



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.00
// [end config]
//
// Global variables can have precision qualifiers.
//
// From section 4.5.2 of the GLSL 1.00 spec:
//     Any floating point or any integer declaration can have the type
//     preceded by one of these precision qualifiers

#version 100

uniform mediump float x;
varying lowp float y;

float f() {
	return 0.0;
}

Back to summary