Results for spec/glsl-1.00/compiler/precision-qualifiers/precision-float-02.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.298511981964
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-float-02.frag pass 1.00
errors
  • Failed to compile fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-float-02.frag: 0(14) : error C7573: OpenGL/ES requires precision specifier on float types
  • 0(15) : warning C7022: unrecognized profile specifier "lowp"
  • 0(15) : error C0502: syntax error at token "lowp"
  • 0(15) : 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-float-02.frag: 0(14) : error C7573: OpenGL/ES requires precision specifier on float types
0(15) : warning C7022: unrecognized profile specifier "lowp"
0(15) : error C0502: syntax error at token "lowp"
0(15) : error C7573: OpenGL/ES requires precision specifier on float types



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.00
// [end config]
//
// Precision qualifiers can be applied to float vectors.
//
// 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

float f() {
	lowp vec2 v;
	return 0.0;
}

Back to summary