mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
16 lines
172 B
GLSL
16 lines
172 B
GLSL
|
#version 450
|
||
|
|
||
|
layout (push_constant) uniform PushConstantBlock
|
||
|
{
|
||
|
vec4 color;
|
||
|
vec4 color2;
|
||
|
float scale2;
|
||
|
} uPC;
|
||
|
|
||
|
float
|
||
|
getScale()
|
||
|
{
|
||
|
return uPC.scale2;
|
||
|
}
|
||
|
|