mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-26 13:55:27 +00:00

These correspond to SPV_KHR_device_group and SPV_KHR_multiview. Also, bring tests up to date with Khronos internals, and some misc. related changes.
10 lines
129 B
GLSL
10 lines
129 B
GLSL
#version 450
|
|
|
|
#extension GL_KHX_multiview : enable
|
|
|
|
out vec4 color;
|
|
|
|
void main() {
|
|
color = vec4(gl_ViewIndexKHR, 0, 0, 0);
|
|
}
|