ash/ash-examples/shader/texture/texture.frag
Marijn Suijten 4bbfa54146
Rename examples to ash-examples (#820)
[Dependabot complains] that:

     the binary target name `examples` is forbidden, it conflicts with with cargo's build directory names

And fails to provide dependency upgrades for Rust code.  Fix that by
renaming the folder and crate to `ash-examples`.

[Dependabot complains]: https://github.com/ash-rs/ash/network/updates/748770724
2023-11-17 17:27:28 +01:00

19 lines
396 B
GLSL

#version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (binding = 1) uniform sampler2D samplerColor;
layout (binding = 0) uniform UBO{
vec3 color;
} ubo;
layout (location = 0) in vec2 o_uv;
layout (location = 0) out vec4 uFragColor;
void main() {
vec4 color = texture(samplerColor, o_uv);
uFragColor = color;
}