| // Copyright (c) 2017 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. |
| |
| #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 |
| // |
| // |
| // Output signature: |
| // |
| // Name Index Mask Register SysValue Format Used |
| // -------------------- ----- ------ -------- -------- ------- ------ |
| // SV_POSITION 0 xyzw 0 POS float xyzw |
| // TEXCOORD 0 xy 1 NONE float xy |
| // |
| // |
| // Runtime generated constant mappings: |
| // |
| // Target Reg Constant Description |
| // ---------- -------------------------------------------------- |
| // c0 Vertex Shader position offset |
| // |
| // |
| // Level9 shader bytecode: |
| // |
| vs_2_x |
| def c1, 1, 0.5, 0, 0 |
| dcl_texcoord v0 |
| add r0.xy, v0, c1.x |
| mul oT0.xy, r0, c1.y |
| add oPos.xy, v0, c0 |
| mov oPos.zw, c1.x |
| |
| // approximately 4 instruction slots used |
| vs_4_0 |
| dcl_input v0.xy |
| dcl_output_siv o0.xyzw, position |
| dcl_output o1.xy |
| dcl_temps 1 |
| mov o0.xy, v0.xyxx |
| mov o0.zw, l(0,0,1.000000,1.000000) |
| add r0.xy, v0.xyxx, l(1.000000, 1.000000, 0.000000, 0.000000) |
| mul o1.xy, r0.xyxx, l(0.500000, 0.500000, 0.000000, 0.000000) |
| ret |
| // Approximately 5 instruction slots used |
| #endif |
| |
| const BYTE g_flip_vertex[] = { |
| 68, 88, 66, 67, 75, 8, 1, 87, 109, 159, 65, 63, 114, 248, 21, |
| 145, 182, 145, 166, 213, 1, 0, 0, 0, 248, 2, 0, 0, 6, 0, |
| 0, 0, 56, 0, 0, 0, 208, 0, 0, 0, 152, 1, 0, 0, 20, |
| 2, 0, 0, 108, 2, 0, 0, 160, 2, 0, 0, 65, 111, 110, 57, |
| 144, 0, 0, 0, 144, 0, 0, 0, 0, 2, 254, 255, 104, 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, 63, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, |
| 2, 5, 0, 0, 128, 0, 0, 15, 144, 2, 0, 0, 3, 0, 0, |
| 3, 128, 0, 0, 228, 144, 1, 0, 0, 160, 5, 0, 0, 3, 0, |
| 0, 3, 224, 0, 0, 228, 128, 1, 0, 85, 160, 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, 255, 255, 0, 0, 83, 72, |
| 68, 82, 192, 0, 0, 0, 64, 0, 1, 0, 48, 0, 0, 0, 95, |
| 0, 0, 3, 50, 16, 16, 0, 0, 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, 104, 0, 0, 2, 1, 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, 0, 0, 0, 10, 50, 0, |
| 16, 0, 0, 0, 0, 0, 70, 16, 16, 0, 0, 0, 0, 0, 2, |
| 64, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 0, 0, 0, 0, |
| 0, 0, 0, 0, 56, 0, 0, 10, 50, 32, 16, 0, 1, 0, 0, |
| 0, 70, 0, 16, 0, 0, 0, 0, 0, 2, 64, 0, 0, 0, 0, |
| 0, 63, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 62, |
| 0, 0, 1, 83, 84, 65, 84, 116, 0, 0, 0, 5, 0, 0, 0, |
| 1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 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, 2, 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, 44, 0, 0, 0, 1, 0, |
| 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0, |
| 80, 79, 83, 73, 84, 73, 79, 78, 0, 171, 171, 171, 79, 83, 71, |
| 78, 80, 0, 0, 0, 2, 0, 0, 0, 8, 0, 0, 0, 56, 0, |
| 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, |
| 0, 0, 0, 15, 0, 0, 0, 68, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 3, 0, 0, 0, 1, 0, 0, 0, 3, 12, 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}; |