src/tests/hello_xr/vulkan_shaders/frag.glsl
raw| 1 | // Copyright (c) 2017-2026 The Khronos Group Inc. |
| 2 | // |
| 3 | // SPDX-License-Identifier: Apache-2.0 |
| 4 | #version 400 |
| 5 | #extension GL_ARB_separate_shader_objects : enable |
| 6 | #extension GL_ARB_shading_language_420pack : enable |
| 7 | |
| 8 | #pragma fragment |
| 9 | |
| 10 | layout (location = 0) in vec4 oColor; |
| 11 | |
| 12 | layout (location = 0) out vec4 FragColor; |
| 13 | |
| 14 | void main() |
| 15 | { |
| 16 | FragColor = oColor; |
| 17 | } |