mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
15 lines
169 B
GLSL
15 lines
169 B
GLSL
|
#version 450
|
||
|
|
||
|
layout (push_constant) uniform PushConstantBlock
|
||
|
{
|
||
|
vec4 color;
|
||
|
vec4 color2;
|
||
|
float scale;
|
||
|
} uPC;
|
||
|
|
||
|
vec4
|
||
|
getColor2()
|
||
|
{
|
||
|
return uPC.color2;
|
||
|
}
|