Results for spec/glsl-1.30/compiler/precision-qualifiers/precision-struct-01.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.241059064865
note
Returncode was 1
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.30/compiler/precision-qualifiers/precision-struct-01.frag:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/precision-qualifiers/precision-struct-01.frag fail 1.30
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.30/compiler/precision-qualifiers/precision-struct-01.frag: 


Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Precision qualifiers cannot be applied to structs.
//
// This test declares the struct and its sole member with matching
// precision qualifier.
//
// See section 4.5.2 of the GLSL 1.30 spec.

#version 130

highp struct s {
	highp float a;
};

float f() {
	return 0.0;
}

Back to summary