• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// GENERATED FILE - DO NOT EDIT.
2// Generated by gen_vk_internal_shaders.py.
3//
4// Copyright 2018 The ANGLE Project Authors. All rights reserved.
5// Use of this source code is governed by a BSD-style license that can be
6// found in the LICENSE file.
7//
8// shaders/gen/BlitResolve.frag.00000009.inc:
9//   Pre-generated shader for the ANGLE Vulkan back-end.
10
11#pragma once
12constexpr uint8_t kBlitResolve_frag_00000009[] = {
13    0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x65,0x95,0x5f,0x68,0xd6,0x65,
14    0x14,0xc7,0x9f,0xdf,0xfb,0x77,0xeb,0x5d,0xeb,0x15,0xdd,0x56,0xf6,0xee,0x5f,0xca,
15    0x10,0x26,0xba,0x0b,0x8b,0x46,0x14,0x05,0x42,0x5d,0x08,0xfe,0x09,0xda,0x2e,0x76,
16    0xf3,0x42,0x5e,0x34,0x28,0x61,0x89,0x37,0xbb,0x30,0x68,0x81,0x37,0xbb,0xd8,0xcd,
17    0x6e,0xd6,0xb2,0x59,0x64,0xf6,0x4f,0xbb,0x8b,0x52,0x29,0x49,0x1d,0xc5,0xac,0x51,
18    0x2c,0x1d,0x0d,0xfa,0xc7,0x40,0x65,0xa0,0x32,0x71,0x2a,0x6a,0xe7,0x3c,0xbf,0xcf,
19    0xd1,0xc3,0xab,0x70,0x7c,0x7e,0xe7,0xfb,0x3d,0xe7,0x7c,0x9f,0xf3,0x3c,0xe7,0x79,
20    0x97,0xcd,0xac,0x2b,0x86,0x90,0x84,0x47,0x42,0x5d,0xe8,0x4c,0x42,0xfc,0xb7,0x2a,
21    0x64,0x82,0x7e,0x96,0x42,0x21,0xae,0x2f,0x6f,0x7b,0x75,0xdb,0xa6,0xb7,0xf7,0xbe,
22    0xbe,0x69,0xcb,0xd3,0x3d,0xca,0x37,0x86,0x6c,0x8c,0x53,0xee,0x31,0xf1,0x72,0xb2,
23    0xaa,0xbd,0x59,0x7d,0xe3,0x2d,0xc5,0x9b,0xc5,0xfa,0xc5,0xaa,0x62,0x83,0x62,0x43,
24    0x62,0xc3,0x62,0x23,0x62,0xa3,0x62,0xe3,0x62,0x65,0xa9,0xa1,0x39,0x45,0xad,0x2f,
25    0x5f,0xcd,0x51,0x4f,0xeb,0x85,0xf0,0x4a,0xc8,0x87,0xd6,0x74,0x2b,0x61,0x1d,0xab,
26    0x61,0x09,0x58,0x9d,0xc3,0x32,0x60,0x65,0x87,0x65,0xc1,0x1e,0x77,0x58,0x0e,0xac,
27    0xe2,0xb0,0x3c,0x58,0x87,0xc3,0x0a,0x60,0xeb,0x1d,0x56,0x04,0xdb,0xe0,0xb0,0x3a,
28    0xb0,0x8d,0x0e,0xab,0x07,0xeb,0x89,0x7d,0x65,0xef,0xef,0x4f,0x7b,0xd4,0x33,0x69,
29    0xa3,0x1f,0xf5,0xab,0xf8,0x09,0xfe,0x20,0xbe,0xc5,0x0f,0xe1,0x67,0xf1,0x87,0xf1,
30    0x73,0xf8,0x23,0xf8,0x79,0xfc,0x51,0xfc,0x02,0xfe,0x38,0xbe,0x9d,0xf1,0xa4,0xac,
31    0x4f,0x39,0x7d,0xf5,0x3b,0x9d,0x3f,0x55,0xc3,0x4f,0xc1,0xeb,0x7e,0x56,0xcb,0xff,
32    0x99,0xe8,0x67,0xe3,0x7e,0x32,0xf1,0x9e,0xb3,0x51,0x4b,0xcf,0xae,0x45,0xe2,0x8b,
33    0x68,0x2b,0xd7,0x24,0x7e,0x09,0x2e,0xc0,0x37,0x70,0xc7,0x39,0xfc,0x35,0xc4,0xe7,
34    0x62,0x5c,0x4e,0x72,0xd2,0xb3,0x50,0xfc,0x39,0xfc,0x66,0x30,0xad,0x57,0xa1,0x5e,
35    0x12,0xfb,0x6a,0xb8,0x7f,0x2f,0x66,0x15,0xac,0xc0,0x5a,0x72,0xa6,0xf5,0xdb,0xb8,
36    0x9f,0x56,0xea,0xab,0xdf,0x0e,0xd6,0x5d,0x53,0x5f,0xe3,0x3b,0xe1,0x8a,0x8e,0xef,
37    0xa2,0x1f,0xf3,0xbb,0xe1,0x35,0x7e,0x23,0xf1,0xa5,0xd8,0x43,0x26,0x6c,0x26,0xae,
38    0xc4,0x3c,0xf8,0xbc,0x5e,0xe6,0xc7,0xfc,0xad,0x35,0xfb,0xd8,0x4e,0x1f,0x5a,0x77,
39    0x07,0x5c,0x05,0xbf,0x8f,0x99,0x68,0xa0,0x8f,0x3e,0xde,0x5b,0xd6,0xe5,0x0f,0x70,
40    0x0f,0xc6,0x57,0x6b,0xf8,0xdd,0x9c,0xbb,0xf1,0x83,0xf0,0xe6,0x0f,0xd5,0xc4,0xef,
41    0xe3,0x7d,0x19,0x3f,0x5c,0xc3,0xef,0xe7,0xec,0x8c,0x1f,0xa9,0xe1,0x0f,0x88,0xbd,
42    0xe8,0xf8,0xd1,0x1a,0x7e,0x4c,0xec,0x1d,0xc7,0x8f,0xc3,0x3f,0x21,0x9d,0x4f,0x70,
43    0xa6,0xfc,0x3c,0x3d,0xb4,0xea,0x99,0xbc,0xcf,0xf7,0x04,0x35,0xd4,0x9f,0x04,0x5b,
44    0x2b,0x27,0x71,0x90,0xb8,0x0f,0xc1,0x0e,0x12,0xa7,0xfe,0x14,0xd8,0x93,0xa2,0xf8,
45    0x11,0x35,0x6c,0x5f,0x47,0xd8,0x87,0xce,0xeb,0x97,0xdc,0x89,0xfa,0xcf,0xc8,0xab,
46    0xcb,0x70,0x86,0x01,0x6c,0x45,0x10,0x7d,0x8b,0xcf,0x33,0xdb,0xdf,0x30,0xbf,0x3b,
47    0x05,0xd5,0xbc,0x6f,0xc1,0x82,0xc3,0xbe,0x03,0xd3,0x5e,0x76,0x08,0xa6,0xb3,0x74,
48    0x9c,0x58,0xe5,0x5e,0x12,0x4c,0xe7,0xf0,0x04,0xb3,0xda,0x41,0x7d,0x8d,0x3b,0x09,
49    0xfe,0x1e,0x79,0xdf,0x93,0x7b,0xd2,0xe5,0xfd,0x40,0x5e,0x97,0xcb,0x3b,0x05,0xfe,
50    0x2e,0x79,0x3f,0x92,0x7b,0x8a,0x3c,0x9d,0xe3,0xd3,0xe4,0x75,0x93,0xa7,0xe7,0x7f,
51    0x06,0xfc,0x73,0x89,0xd1,0xd9,0x3e,0x0b,0xa6,0xb3,0x7d,0x43,0x4e,0x60,0x86,0xde,
52    0x6e,0x49,0xbc,0x72,0xd3,0x62,0x33,0x9c,0xcb,0xb4,0xeb,0xf9,0x27,0x34,0x43,0x9c,
53    0x9b,0x5c,0xc4,0x7e,0x06,0xdf,0x25,0x9e,0xee,0x69,0x6d,0x92,0x62,0x16,0x77,0x53,
54    0x6a,0x58,0x2d,0x5d,0xaf,0x4b,0x94,0xc6,0xb5,0x25,0x69,0x4c,0x9e,0x9c,0x69,0xd7,
55    0xc3,0x39,0x7a,0xe8,0x75,0x3d,0xfc,0x02,0x6e,0x3d,0xfc,0x0a,0x66,0x3d,0xcc,0xb9,
56    0x1e,0x94,0x9b,0x15,0x9b,0x43,0x77,0xd6,0xf5,0xf0,0x1b,0xda,0x89,0xeb,0xe1,0x77,
57    0x70,0xeb,0xa1,0x35,0x49,0x31,0x8b,0xd3,0x1e,0xac,0xd6,0x9c,0xeb,0xa1,0x3d,0x49,
58    0x63,0x66,0xc8,0x99,0x75,0x3d,0xfc,0x41,0x0f,0x5b,0x5d,0x0f,0xe7,0xc1,0xad,0x87,
59    0x0b,0x60,0xd6,0xc3,0x82,0xeb,0x41,0xb9,0x79,0xb1,0x05,0x74,0xe7,0xe3,0x6f,0x4b,
60    0xaa,0xfb,0x27,0xda,0xed,0xc9,0x83,0xb7,0xa4,0x7b,0xb4,0xd8,0x05,0xb7,0xc7,0x0e,
61    0xe2,0xe6,0xc8,0x9b,0x67,0x3f,0xfa,0x56,0x3e,0xe0,0xad,0xa9,0xaf,0xef,0xea,0x10,
62    0x6f,0xea,0x35,0xd9,0x9f,0xbe,0xa7,0x8f,0x89,0x39,0xe4,0xe6,0xf2,0x13,0xfa,0x1a,
63    0x70,0x73,0x79,0x18,0xdc,0xe6,0xf9,0x53,0x74,0x0f,0x93,0xa7,0xbf,0x83,0x9f,0x91,
64    0x77,0x84,0xbc,0x4a,0x3c,0x87,0x14,0xdf,0xc3,0x3d,0x7c,0x01,0x66,0x77,0xf5,0x15,
65    0xb5,0xfc,0xbb,0x3b,0x0a,0x96,0xbe,0xbb,0x42,0x7c,0xdb,0xc7,0x88,0x3d,0x4a,0x8d,
66    0x3e,0x89,0xd5,0xdf,0xd8,0xaf,0xe9,0xe1,0x98,0xdb,0xc7,0x5f,0xec,0x63,0xbb,0xdb,
67    0xc7,0xdf,0xe0,0x67,0x25,0x46,0xfd,0x7f,0xc0,0x3a,0xdc,0x5d,0xfd,0x0b,0xde,0xc5,
68    0x5d,0x2d,0xba,0xbb,0x52,0xee,0x3f,0xb1,0x45,0xce,0x5f,0xbf,0x5f,0x90,0x98,0x7e,
69    0xf6,0xa0,0x77,0x63,0xdc,0xa2,0xd3,0xb9,0x88,0xce,0x80,0xd3,0xb9,0x04,0x6e,0x3a,
70    0x4b,0x4e,0x47,0xb9,0xcb,0x62,0x4b,0xd4,0xba,0x8c,0x4e,0xd5,0xe9,0x18,0xb7,0xe4,
71    0x74,0xae,0xa0,0xb3,0xdb,0xe9,0x5c,0x05,0x37,0x9d,0x65,0xa7,0xa3,0xdc,0x35,0xb1,
72    0x65,0x6a,0x5d,0x43,0x67,0xd0,0xe9,0x18,0xb7,0xec,0x74,0x6e,0xa0,0xd3,0xeb,0x74,
73    0x56,0xc0,0x4d,0xe7,0xb6,0xd3,0x59,0x89,0xb5,0x42,0xc4,0xb4,0xd6,0x4d,0x74,0x86,
74    0x9c,0x8e,0x71,0xb7,0x9d,0xce,0x5d,0x74,0xf6,0x39,0x9d,0x7b,0xe0,0xa6,0x93,0x49,
75    0x1e,0xe8,0xdc,0xe3,0x8f,0x8e,0x62,0x5a,0x4b,0xbf,0x55,0x67,0xd8,0xe9,0x18,0xa7,
76    0xab,0xe9,0xe4,0x93,0x54,0x67,0xbf,0xd3,0x29,0x24,0x29,0x6e,0x3a,0xf5,0x4e,0x47,
77    0xb9,0xa2,0x58,0x3d,0xb5,0x8a,0xe8,0x8c,0x38,0x1d,0xe3,0xea,0x9d,0x4e,0x03,0x3a,
78    0x07,0x9c,0xce,0xa3,0x49,0x8a,0x9b,0x4e,0xd9,0xe9,0x28,0xd7,0x28,0x56,0xa6,0x56,
79    0x23,0x3a,0xa3,0x4e,0xc7,0xb8,0xb2,0xd3,0x59,0x8d,0xce,0x98,0xd3,0x59,0x93,0xa4,
80    0xb8,0xe9,0xb4,0x38,0x1d,0xe5,0x9a,0xc4,0x5a,0xa8,0xd5,0x84,0xce,0xb8,0xd3,0x31,
81    0x4e,0xd7,0x3b,0x72,0xb0,0xcf,0x8a,0xfd,0x0f,0x66,0x63,0x86,0x6f,0x9c,0x0c,0x00,
82    0x00
83};
84
85// Generated from:
86//
87// #version 450 core
88//
89// #extension GL_GOOGLE_include_directive : require
90//
91// layout(set = 0, binding = 0)uniform utexture2DArray color;
92//
93// layout(location = 0)out uvec4 colorOut0;
94// layout(location = 1)out uvec4 colorOut1;
95// layout(location = 2)out uvec4 colorOut2;
96// layout(location = 3)out uvec4 colorOut3;
97// layout(location = 4)out uvec4 colorOut4;
98// layout(location = 5)out uvec4 colorOut5;
99// layout(location = 6)out uvec4 colorOut6;
100// layout(location = 7)out uvec4 colorOut7;
101//
102// layout(set = 0, binding = 2)uniform sampler blitSampler;
103//
104// #line 1 "shaders/src/BlitResolve.inc"
105//
106// layout(push_constant)uniform PushConstants {
107//
108//             vec2 offset;
109//     vec2 stretch;
110//     vec2 invSrcExtent;
111//     int srcLayer;
112//     int samples;
113//     float invSamples;
114//
115//     int outputMask;
116//
117//     bool flipX;
118//     bool flipY;
119//     bool rotateXY;
120// } params;
121//
122//         vec2 getSrcImageCoords()
123// {
124//
125//             vec2 srcImageCoords = vec2(gl_FragCoord . xy);
126//
127//     srcImageCoords *= params . stretch;
128//
129//     srcImageCoords -= params . offset;
130//
131//     if(params . flipX)
132//         srcImageCoords . x = - srcImageCoords . x;
133//     if(params . flipY)
134//         srcImageCoords . y = - srcImageCoords . y;
135//     if(params . rotateXY)
136//         srcImageCoords . xy = srcImageCoords . yx;
137//
138//     return srcImageCoords;
139// }
140//
141// void broadcastColor(uvec4 colorValue)
142// {
143//
144//     if((params . outputMask &(1 << 0))!= 0)
145//     {
146//         colorOut0 = colorValue;
147//     }
148//     if((params . outputMask &(1 << 1))!= 0)
149//     {
150//         colorOut1 = colorValue;
151//     }
152//     if((params . outputMask &(1 << 2))!= 0)
153//     {
154//         colorOut2 = colorValue;
155//     }
156//     if((params . outputMask &(1 << 3))!= 0)
157//     {
158//         colorOut3 = colorValue;
159//     }
160//     if((params . outputMask &(1 << 4))!= 0)
161//     {
162//         colorOut4 = colorValue;
163//     }
164//     if((params . outputMask &(1 << 5))!= 0)
165//     {
166//         colorOut5 = colorValue;
167//     }
168//     if((params . outputMask &(1 << 6))!= 0)
169//     {
170//         colorOut6 = colorValue;
171//     }
172//     if((params . outputMask &(1 << 7))!= 0)
173//     {
174//         colorOut7 = colorValue;
175//     }
176// }
177//
178// #line 123 "shaders/src/BlitResolve.frag"
179//
180// void main()
181// {
182//             vec2 srcImageCoords = getSrcImageCoords();
183//
184//             uvec4 colorValue = texture(usampler2DArray(color, blitSampler), vec3(srcImageCoords * params . invSrcExtent, params . srcLayer));
185//
186//     broadcastColor(colorValue);
187//
188// }
189