mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-19 12:19:53 +00:00
14 lines
218 B
GLSL
14 lines
218 B
GLSL
|
#version 450
|
||
|
|
||
|
layout(binding = 0) uniform sampler2DArrayShadow s2da;
|
||
|
|
||
|
layout(location = 0) out vec4 c_out;
|
||
|
|
||
|
layout(location = 0) in vec4 tc;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
float c = textureLod(s2da, tc, 0);
|
||
|
c_out = vec4(c);
|
||
|
}
|