1// [config] 2// expect_result: pass 3// glsl_version: 1.50 4// require_extensions: GL_ARB_enhanced_layouts 5// [end config] 6// 7// From the GL_ARB_enhanced_layouts spec: 8// 9// "It is a compile-time error to specify an *xfb_buffer* that is greater 10// than the implementation-dependent constant 11// gl_MaxTransformFeedbackBuffers." 12 13#version 150 14#extension GL_ARB_enhanced_layouts: require 15 16layout (xfb_buffer = gl_MaxTransformFeedbackBuffers - 1) out block { 17 vec4 var; 18}; 19 20void main() 21{ 22} 23