mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 19:59:40 +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;
|
||
|
}
|