• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright 2018 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6// FullScreenQuad.vert: Simple full-screen quad vertex shader.
7
8#version 450 core
9
10const vec2 kQuadVertices[] = {
11    vec2(-1, -1),
12    vec2(3, -1),
13    vec2(-1, 3),
14};
15
16void main()
17{
18    gl_Position = vec4(kQuadVertices[gl_VertexIndex], 0, 1);
19}
20