d0391be62a
- The example app generates a scaled version of pixel Ferris as a test. - TODO: - Pixel aspect ratio is still unsupported - The `RenderPass` trait is incomplete
11 lines
287 B
GLSL
11 lines
287 B
GLSL
#version 450
|
|
|
|
layout(location = 0) in vec2 v_TexCoord;
|
|
layout(location = 0) out vec4 outColor;
|
|
layout(set = 0, binding = 0) uniform texture2D t_Color;
|
|
layout(set = 0, binding = 1) uniform sampler s_Color;
|
|
|
|
void main() {
|
|
outColor = texture(sampler2D(t_Color, s_Color), v_TexCoord);
|
|
}
|