mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
11 lines
295 B
GLSL
11 lines
295 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec2 v_TexCoord;
|
|
layout(location = 0) out vec4 o_Target;
|
|
layout(set = 0, binding = 0) uniform texture2D t_Color;
|
|
layout(set = 0, binding = 1) uniform sampler s_Color;
|
|
|
|
void main() {
|
|
o_Target = textureLod(sampler2D(t_Color, s_Color), v_TexCoord, 0.0);
|
|
}
|