Results for spec/glsl-1.30/smooth-varying-01.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.250999927521
note Returncode was 1
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.30\\compiler\\interpolation-qualifiers\\smooth-varying-01.frag: Fragment shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.30\compiler\interpolation-qualifiers\smooth-varying-01.frag: Fragment shader was successfully compiled to run on hardware.



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// 'smooth' cannot be applied to 'varying'.
//
// From section 4.3 of the GLSL 1.30 spec:
//     These interpolation qualifiers may only precede the qualifiers in,
//     centroid in, out, or centroid out in a declaration. They do not apply
//     to the deprecated storage qualifiers varying or centroid varying.

#version 130

smooth varying float x;

float f() {
	return 0.0;
}

Back to summary