blob: dec63e95625378d08c69a6064cb9f91e44c8f583 [file] [log] [blame]
//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// FullScreenQuad.vert: Simple full-screen quad vertex shader.
#version 450 core
const vec2 kQuadVertices[] = {
vec2(-1, 1),
vec2(-1, -1),
vec2(1, -1),
vec2(-1, 1),
vec2(1, -1),
vec2(1, 1),
};
void main()
{
gl_Position = vec4(kQuadVertices[gl_VertexIndex], 0, 1);
}