Results for spec/ARB_shader_image_load_store/compiler/call-argument-qualifiers-allowed-coherent.vert

Overview

Result: None

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.062476
Stdout
Shader source:

/*
 * [config]
 * expect_result: pass
 * glsl_version: 1.50
 * require_extensions: GL_ARB_shader_image_load_store
 * [end config]
 */
#version 150
#extension GL_ARB_shader_image_load_store: require

/*
 * From the ARB_shader_image_load_store spec:
 *
 * "The values of image variables qualified with 'coherent',
 *  'volatile', 'restrict', 'readonly', or 'writeonly' may not be
 *  passed to functions whose formal parameters lack such
 *  qualifiers. [...] It is legal to have additional qualifiers on a
 *  formal parameter, but not to have fewer."
 */
layout(rgba32f) coherent uniform image2D x;

void f(volatile coherent image2D y)
{
}

void main()
{
    f(x);
}

Stderr
Failed to compile vertex shader /home/curro/src/piglit/generated_tests/spec/ARB_shader_image_load_store/compiler/call-argument-qualifiers-allowed-coherent.vert: 0(29) : error C1102: incompatible type for parameter #1 ("y")

Environment
PIGLIT_SOURCE_DIR="/home/curro/src/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /home/curro/src/piglit/bin/glslparsertest /home/curro/src/piglit/generated_tests/spec/ARB_shader_image_load_store/compiler/call-argument-qualifiers-allowed-coherent.vert pass 1.50 GL_ARB_shader_image_load_store
dmesg
None

Back to summary