summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/vulkan_color_clear.vert
blob: d8588314115d3880ebe2ed8fea55632ea17060f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#version 460 core

void main() {
    float x = float((gl_VertexIndex & 1) << 2);
    float y = float((gl_VertexIndex & 2) << 1);
    gl_Position = vec4(x - 1.0, y - 1.0, 0.0, 1.0);
}