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