1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +01:00
OpenDX/src/dxvk/shaders/dxvk_blit_frag_2d.frag

11 lines
225 B
GLSL
Raw Normal View History

#version 450
layout(set = 0, binding = 0)
uniform sampler2DArray s_texture;
layout(location = 0) in vec2 i_pos;
layout(location = 0) out vec4 o_color;
void main() {
o_color = texture(s_texture, vec3(i_pos, gl_Layer));
}