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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.269644021988
note Returncode was 1
command /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-vec-01.frag fail 1.00
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-vec-01.frag: 0(19) : warning C7022: unrecognized profile specifier "mediump"
  • 0(19) : warning C7022: unrecognized profile specifier "precision"
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-vec-01.frag: 0(19) : warning C7022: unrecognized profile specifier "mediump"
0(19) : warning C7022: unrecognized profile specifier "precision"



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.00
// [end config]
//
// Vector types cannot have default precision.
//
// From section 4.5.3 of the GLSL 1.00 spec:
//     The precision statement
//         precision precision-qualifier type;
//     can be used to establish a default precision qualifier. The type field
//     can be either int or float. [...] Any other types or qualifiers will
//     result in an error.



#version 100

precision mediump vec2;

float f() {
	return 0.0;
}

Back to summary