Results for spec/AMD_conservative_depth/glsl-1.30/preprocessor/feature-macro.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.765027999878
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/amd_conservative_depth/glsl-1.30/preprocessor/feature-macro.vert pass 1.30 GL_AMD_conservative_depth
errors
  • Failed to compile vertex shader tests/spec/amd_conservative_depth/glsl-1.30/preprocessor/feature-macro.vert: Vertex shader failed to compile with the following errors:
  • ERROR: 0:12: error(#61) Required extension isn't found, extension 'GL_AMD_conservative_depth' is not supported
  • ERROR: 0:15: error(#102) #error  GL_AMD_conservative_depth is not defined
  • ERROR: error(#273) 2 compilation errors.  No code generated
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/spec/amd_conservative_depth/glsl-1.30/preprocessor/feature-macro.vert: Vertex shader failed to compile with the following errors:
ERROR: 0:12: error(#61) Required extension isn't found, extension 'GL_AMD_conservative_depth' is not supported
ERROR: 0:15: error(#102) #error  GL_AMD_conservative_depth is not defined
ERROR: error(#273) 2 compilation errors.  No code generated



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.30
// require_extensions: GL_AMD_conservative_depth
// [end config]
//
// From the AMD_conservative_depth spec:
//     A new preprocessor #define is added to the OpenGL Shading Language:
//        #define GL_AMD_conservative_depth 1

#version 130
#extension GL_AMD_conservative_depth: require

#if !defined GL_AMD_conservative_depth
#    error GL_AMD_conservative_depth is not defined
#elif GL_AMD_conservative_depth != 1
#    error GL_AMD_conservative_depth != 1
#endif

float foo() { return 0.0; }

Back to summary