Commit e015ad6b authored by Timothy Arceri's avatar Timothy Arceri

glsl-1.50: test shader compiles with unused uniform block

Tests the second bug mentioned in the bug report.
Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83508
parent 28a5ffca
/* [config]
* expect_result: pass
* glsl_version: 1.50
* [end config]
*
* Tests that shader still compiles with an unused uniform block. A packed
* layout means the implementation can eliminate the block entirely.
*/
#version 150
layout(packed) uniform ArrayBlock
{
mat4 a;
} i[4];
void main()
{
gl_Position = vec4(1.0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment