mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
13761069b5
For the smallest builds, google tests will not be present, in addition to a large number of tests not being capable of running.
16 lines
277 B
GLSL
16 lines
277 B
GLSL
#version 310 es
|
|
|
|
layout(location = 2) in vec4 inv4;
|
|
layout(location = 1) out vec4 outv4;
|
|
|
|
layout(binding = 3) uniform uBlock {
|
|
vec4 a;
|
|
ivec4 b;
|
|
uvec4 c;
|
|
} uInst;
|
|
|
|
void main()
|
|
{
|
|
outv4 = normalize(inv4) * uInst.a * vec4(uInst.b) * vec4(uInst.c);
|
|
}
|