Result: None
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.099247 |
| Stdout |
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.50
// check_link: true
// [end config]
//
// Tests that a struct cannot be defined within a block.
//
// GLSLangSpec.1.50.11, 4.3.7 Interface Blocks:
// "structure definitions cannot be nested inside a block"
#version 150
out block {
struct test_struct {
int a;
float b;
} c;
float d;
} inst;
void main()
{
inst.c.b = 1.0;
inst.d = 2.0;
}
|
| Stderr |
Successfully compiled and linked vertex shader /home/jljusten/src/fdo/piglit/tests/spec/glsl-1.50/compiler/interface-blocks-structs-defined-within-block-instanced.vert: |
| Command | /home/jljusten/src/fdo/piglit/bin/glslparsertest /home/jljusten/src/fdo/piglit/tests/spec/glsl-1.50/compiler/interface-blocks-structs-defined-within-block-instanced.vert fail 1.50 --check-link |
| dmesg |
None |