diff options
Diffstat (limited to 'tests/manual/examples/vulkan/hellovulkantexture/texture.frag')
-rw-r--r-- | tests/manual/examples/vulkan/hellovulkantexture/texture.frag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/examples/vulkan/hellovulkantexture/texture.frag b/tests/manual/examples/vulkan/hellovulkantexture/texture.frag new file mode 100644 index 0000000000..e6021fe905 --- /dev/null +++ b/tests/manual/examples/vulkan/hellovulkantexture/texture.frag @@ -0,0 +1,12 @@ +#version 440 + +layout(location = 0) in vec2 v_texcoord; + +layout(location = 0) out vec4 fragColor; + +layout(binding = 1) uniform sampler2D tex; + +void main() +{ + fragColor = texture(tex, v_texcoord); +} |