mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 19:29:44 +00:00
23 lines
210 B
GLSL
23 lines
210 B
GLSL
#version 450
|
|
|
|
layout (push_constant) uniform Block2
|
|
{
|
|
mat4 uWorld;
|
|
mat4 uProj;
|
|
vec4 color1;
|
|
vec4 color2;
|
|
} a;
|
|
|
|
in vec4 P;
|
|
|
|
vec4 getColor2()
|
|
{
|
|
return a.color2;
|
|
}
|
|
|
|
vec4 getWorld()
|
|
{
|
|
return a.uWorld * P;
|
|
}
|
|
|