chromium/device/vr/windows/vertex_shader.h

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// DO NOT MODIFY.  Use generate_shaders.bat to modify, then re-add this warning.
#ifndef DEVICE_VR_WINDOWS_VERTEX_SHADER_H_
#define DEVICE_VR_WINDOWS_VERTEX_SHADER_H_

#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xy          0     NONE   float   xy
// TEXCOORD                 0   xy          1     NONE   float   xy
// TEXCOORD                 1   x           2     NONE    uint   x
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   xy          1     NONE   float   xy
// TEXCOORD                 1   x           2     NONE    uint   x
//
//
// Runtime generated constant mappings:
//
// Target Reg                               Constant Description
// ---------- --------------------------------------------------
// c0                              Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
    vs_2_x
    def c1, 1, 0, 0, 0
    dcl_texcoord v0
    dcl_texcoord1 v1
    dcl_texcoord2 v2
    add oPos.xy, v0, c0
    mov oPos.zw, c1.x
    mov oT0.xy, v1
    mov oT1.x, v2.x

// approximately 4 instruction slots used
vs_4_0
dcl_input v0.xy
dcl_input v1.xy
dcl_input v2.x
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_output o2.x
mov o0.xy, v0.xyxx
mov o0.zw, l(0,0,1.000000,1.000000)
mov o1.xy, v1.xyxx
mov o2.x, v2.x
ret
// Approximately 5 instruction slots used
#endif

const BYTE g_vertex[] = {
    68,  88,  66,  67,  19,  1,   203, 113, 23,  158, 27,  204, 22,  68,  213,
    197, 130, 252, 251, 50,  1,   0,   0,   0,   76,  3,   0,   0,   6,   0,
    0,   0,   56,  0,   0,   0,   224, 0,   0,   0,   156, 1,   0,   0,   24,
    2,   0,   0,   112, 2,   0,   0,   220, 2,   0,   0,   65,  111, 110, 57,
    160, 0,   0,   0,   160, 0,   0,   0,   0,   2,   254, 255, 120, 0,   0,
    0,   40,  0,   0,   0,   0,   0,   36,  0,   0,   0,   36,  0,   0,   0,
    36,  0,   0,   0,   36,  0,   1,   0,   36,  0,   0,   0,   0,   0,   1,
    2,   254, 255, 81,  0,   0,   5,   1,   0,   15,  160, 0,   0,   128, 63,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   31,  0,   0,
    2,   5,   0,   0,   128, 0,   0,   15,  144, 31,  0,   0,   2,   5,   0,
    1,   128, 1,   0,   15,  144, 31,  0,   0,   2,   5,   0,   2,   128, 2,
    0,   15,  144, 2,   0,   0,   3,   0,   0,   3,   192, 0,   0,   228, 144,
    0,   0,   228, 160, 1,   0,   0,   2,   0,   0,   12,  192, 1,   0,   0,
    160, 1,   0,   0,   2,   0,   0,   3,   224, 1,   0,   228, 144, 1,   0,
    0,   2,   1,   0,   1,   224, 2,   0,   0,   144, 255, 255, 0,   0,   83,
    72,  68,  82,  180, 0,   0,   0,   64,  0,   1,   0,   45,  0,   0,   0,
    95,  0,   0,   3,   50,  16,  16,  0,   0,   0,   0,   0,   95,  0,   0,
    3,   50,  16,  16,  0,   1,   0,   0,   0,   95,  0,   0,   3,   18,  16,
    16,  0,   2,   0,   0,   0,   103, 0,   0,   4,   242, 32,  16,  0,   0,
    0,   0,   0,   1,   0,   0,   0,   101, 0,   0,   3,   50,  32,  16,  0,
    1,   0,   0,   0,   101, 0,   0,   3,   18,  32,  16,  0,   2,   0,   0,
    0,   54,  0,   0,   5,   50,  32,  16,  0,   0,   0,   0,   0,   70,  16,
    16,  0,   0,   0,   0,   0,   54,  0,   0,   8,   194, 32,  16,  0,   0,
    0,   0,   0,   2,   64,  0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   0,   128, 63,  0,   0,   128, 63,  54,  0,   0,   5,   50,  32,  16,
    0,   1,   0,   0,   0,   70,  16,  16,  0,   1,   0,   0,   0,   54,  0,
    0,   5,   18,  32,  16,  0,   2,   0,   0,   0,   10,  16,  16,  0,   2,
    0,   0,   0,   62,  0,   0,   1,   83,  84,  65,  84,  116, 0,   0,   0,
    5,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   6,   0,   0,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   1,   0,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   4,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   82,  68,  69,  70,
    80,  0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   28,  0,   0,   0,   0,   4,   254, 255, 0,   1,   0,   0,   28,  0,
    0,   0,   77,  105, 99,  114, 111, 115, 111, 102, 116, 32,  40,  82,  41,
    32,  72,  76,  83,  76,  32,  83,  104, 97,  100, 101, 114, 32,  67,  111,
    109, 112, 105, 108, 101, 114, 32,  54,  46,  51,  46,  57,  54,  48,  48,
    46,  49,  54,  51,  56,  52,  0,   171, 171, 73,  83,  71,  78,  100, 0,
    0,   0,   3,   0,   0,   0,   8,   0,   0,   0,   80,  0,   0,   0,   0,
    0,   0,   0,   0,   0,   0,   0,   3,   0,   0,   0,   0,   0,   0,   0,
    3,   3,   0,   0,   89,  0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
    0,   3,   0,   0,   0,   1,   0,   0,   0,   3,   3,   0,   0,   89,  0,
    0,   0,   1,   0,   0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   2,
    0,   0,   0,   1,   1,   0,   0,   80,  79,  83,  73,  84,  73,  79,  78,
    0,   84,  69,  88,  67,  79,  79,  82,  68,  0,   171, 171, 79,  83,  71,
    78,  104, 0,   0,   0,   3,   0,   0,   0,   8,   0,   0,   0,   80,  0,
    0,   0,   0,   0,   0,   0,   1,   0,   0,   0,   3,   0,   0,   0,   0,
    0,   0,   0,   15,  0,   0,   0,   92,  0,   0,   0,   0,   0,   0,   0,
    0,   0,   0,   0,   3,   0,   0,   0,   1,   0,   0,   0,   3,   12,  0,
    0,   92,  0,   0,   0,   1,   0,   0,   0,   0,   0,   0,   0,   1,   0,
    0,   0,   2,   0,   0,   0,   1,   14,  0,   0,   83,  86,  95,  80,  79,
    83,  73,  84,  73,  79,  78,  0,   84,  69,  88,  67,  79,  79,  82,  68,
    0,   171, 171, 171};

#endif  // DEVICE_VR_WINDOWS_VERTEX_SHADER_H_