blob: 0e2771872aeae7a18d1fa19b1d8f84e6da3cde27 [file] [log] [blame]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// 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_GEOMETRY_SHADER_H_
#define DEVICE_VR_WINDOWS_GEOMETRY_SHADER_H_
#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//
//
// Input 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
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_RenderTargetArrayIndex 0 x 2 RTINDEX uint x
//
gs_5_0
dcl_globalFlags refactoringAllowed
dcl_input_siv v[3][0].xyzw, position
dcl_input v[3][1].xy
dcl_input v[3][2].x
dcl_inputprimitive triangle
dcl_stream m0
dcl_outputtopology trianglestrip
dcl_output_siv o0.xyzw, position
dcl_output o1.xy
dcl_output_siv o2.x, rendertarget_array_index
dcl_maxout 3
mov o0.xyzw, v[0][0].xyzw
mov o1.xy, v[0][1].xyxx
mov o2.x, v[0][2].x
emit_stream m0
mov o0.xyzw, v[1][0].xyzw
mov o1.xy, v[1][1].xyxx
mov o2.x, v[1][2].x
emit_stream m0
mov o0.xyzw, v[2][0].xyzw
mov o1.xy, v[2][1].xyxx
mov o2.x, v[2][2].x
emit_stream m0
ret
// Approximately 13 instruction slots used
#endif
const BYTE g_geometry[] = {
68, 88, 66, 67, 192, 67, 214, 18, 59, 16, 12, 193, 3, 224, 129,
54, 121, 194, 217, 87, 1, 0, 0, 0, 220, 3, 0, 0, 5, 0,
0, 0, 52, 0, 0, 0, 172, 0, 0, 0, 28, 1, 0, 0, 176,
1, 0, 0, 64, 3, 0, 0, 82, 68, 69, 70, 112, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0,
0, 0, 5, 83, 71, 0, 1, 0, 0, 60, 0, 0, 0, 82, 68,
49, 49, 60, 0, 0, 0, 24, 0, 0, 0, 32, 0, 0, 0, 40,
0, 0, 0, 36, 0, 0, 0, 12, 0, 0, 0, 0, 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, 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, 15,
0, 0, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
0, 0, 0, 1, 0, 0, 0, 3, 3, 0, 0, 92, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0,
0, 1, 1, 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, 79,
83, 71, 53, 140, 0, 0, 0, 3, 0, 0, 0, 8, 0, 0, 0,
0, 0, 0, 0, 92, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
0, 3, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0,
0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
0, 0, 0, 1, 0, 0, 0, 3, 12, 0, 0, 0, 0, 0, 0,
113, 0, 0, 0, 0, 0, 0, 0, 4, 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,
83, 86, 95, 82, 101, 110, 100, 101, 114, 84, 97, 114, 103, 101, 116,
65, 114, 114, 97, 121, 73, 110, 100, 101, 120, 0, 171, 83, 72, 69,
88, 136, 1, 0, 0, 80, 0, 2, 0, 98, 0, 0, 0, 106, 8,
0, 1, 97, 0, 0, 5, 242, 16, 32, 0, 3, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 95, 0, 0, 4, 50, 16, 32, 0,
3, 0, 0, 0, 1, 0, 0, 0, 95, 0, 0, 4, 18, 16, 32,
0, 3, 0, 0, 0, 2, 0, 0, 0, 93, 24, 0, 1, 143, 0,
0, 3, 0, 0, 17, 0, 0, 0, 0, 0, 92, 40, 0, 1, 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, 103, 0, 0,
4, 18, 32, 16, 0, 2, 0, 0, 0, 4, 0, 0, 0, 94, 0,
0, 2, 3, 0, 0, 0, 54, 0, 0, 6, 242, 32, 16, 0, 0,
0, 0, 0, 70, 30, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0,
54, 0, 0, 6, 50, 32, 16, 0, 1, 0, 0, 0, 70, 16, 32,
0, 0, 0, 0, 0, 1, 0, 0, 0, 54, 0, 0, 6, 18, 32,
16, 0, 2, 0, 0, 0, 10, 16, 32, 0, 0, 0, 0, 0, 2,
0, 0, 0, 117, 0, 0, 3, 0, 0, 17, 0, 0, 0, 0, 0,
54, 0, 0, 6, 242, 32, 16, 0, 0, 0, 0, 0, 70, 30, 32,
0, 1, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 6, 50, 32,
16, 0, 1, 0, 0, 0, 70, 16, 32, 0, 1, 0, 0, 0, 1,
0, 0, 0, 54, 0, 0, 6, 18, 32, 16, 0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