Results for spec@arb_shader_subroutine@linker@no-overloads.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.172185
Stdout
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.50
// require_extensions: GL_ARB_shader_subroutine
// check_link: true
// [end config]

#version 150
#extension GL_ARB_shader_subroutine: require

subroutine void func_type();

/* A program will fail to link if any shader contains two or more
 * functions with the same name, at least one of which is associated
 * with a subroutine type.
 */

subroutine (func_type) void f() {}
void f(int x) {}

void main() {}

Stderr
Successfully compiled and linked vertex shader /usr/local/lib/piglit/tests/spec/arb_shader_subroutine/linker/no-overloads.vert: 
Environment
PIGLIT_SOURCE_DIR="/usr/local/lib/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /usr/local/lib/piglit/bin/glslparsertest /usr/local/lib/piglit/tests/spec/arb_shader_subroutine/linker/no-overloads.vert fail 1.50 --check-link GL_ARB_shader_subroutine
dmesg

        

Back to summary