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

Overview

Status: fail
Result: fail

Back to summary

Details

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

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/precision-struct-02.frag: 0(17) : warning C7022: unrecognized profile specifier "lowp"



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.00
// [end config]
//
// Precision qualifiers cannot be applied to structs.
//
// This test declares the struct, but none of its members, with a precision
// qualifier.
//
// See section 4.5.2 of the GLSL 1.00 spec.

#version 100

lowp struct s {
	float a;
};

float f() {
	return 0.0;
}

Back to summary