• 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/ImageCopy.frag.0000002A.inc:
9//   Pre-generated shader for the ANGLE Vulkan back-end.
10
11#pragma once
12constexpr uint8_t kImageCopy_frag_0000002A[] = {
13    0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xeb,0x4f,0x97,0x65,
14    0x18,0xc7,0x9f,0xdf,0x19,0x21,0x0e,0x02,0x4a,0xb8,0xb0,0x3c,0xb0,0xd9,0x30,0xa0,
15    0x45,0x46,0x90,0x6e,0x64,0x64,0x19,0xa5,0xe0,0xa1,0x82,0x17,0x1d,0x64,0xa1,0x05,
16    0x56,0x50,0x4b,0xd7,0xd6,0x5a,0x98,0xf0,0x26,0xad,0x60,0x8e,0x59,0x2b,0xd8,0x0a,
17    0x5e,0x28,0xcc,0x5e,0xb4,0xf5,0xaa,0xb5,0x96,0x32,0xd2,0x0e,0xff,0x4c,0xeb,0xb0,
18    0xb5,0x75,0x5f,0xf7,0xef,0x73,0xb9,0x6f,0xbf,0xd5,0x64,0xbb,0xf7,0x3c,0xf7,0xf7,
19    0x3a,0x7d,0xbf,0xd7,0x7d,0x3d,0x37,0xbf,0x4c,0x7a,0x5b,0x21,0x49,0x52,0x49,0x79,
20    0x52,0x96,0xfc,0x9a,0x14,0xff,0xd6,0x27,0xe9,0x80,0x24,0x49,0x45,0x92,0x8f,0xcf,
21    0x7d,0x7d,0x87,0xfa,0x5a,0x27,0xde,0x18,0x6e,0xed,0xb8,0xbf,0xdd,0xec,0x55,0x49,
22    0x26,0xfa,0x99,0xad,0x3a,0x29,0x24,0xd9,0xf0,0xb4,0x35,0xf6,0xc2,0x89,0x93,0x86,
23    0x57,0x86,0xf5,0x55,0x58,0x35,0xc1,0xcf,0xf0,0x82,0xe5,0x08,0x6f,0x95,0x31,0xa7,
24    0xc5,0x24,0xc9,0x63,0x49,0x2e,0xa9,0xa3,0xde,0x36,0x9e,0x8e,0xa5,0xc0,0xca,0x04,
25    0x4b,0x83,0xd5,0x08,0x96,0x01,0xab,0x17,0x2c,0x0b,0x76,0xbb,0x60,0x39,0xb0,0x3b,
26    0x04,0xcb,0x83,0xdd,0x25,0x58,0x01,0x6c,0xbb,0x60,0x65,0x60,0x3b,0x04,0x5b,0x07,
27    0xb6,0x53,0xb0,0x72,0xb0,0x76,0xc1,0x2a,0xc0,0x3a,0x04,0xbb,0x0d,0xac,0x53,0xb0,
28    0x4a,0xb0,0x87,0x62,0x9f,0x32,0x37,0xf5,0x5a,0xcf,0xf6,0x86,0xe7,0x56,0xfa,0xe3,
29    0xfb,0x2d,0xb2,0xb7,0x3e,0x6f,0x66,0x5f,0x17,0xa2,0xd2,0xd1,0x9e,0x89,0xbd,0xb1,
30    0xf7,0x0d,0xc1,0x27,0x8f,0x4e,0xeb,0x6b,0x43,0xd8,0x17,0xd0,0x6f,0xf6,0x8d,0xc1,
31    0xb3,0x1c,0xbb,0xd9,0x2a,0xd0,0x92,0x8d,0x58,0x36,0xf2,0x4d,0xa1,0xa5,0x9b,0x7d,
32    0xa5,0xe4,0xaa,0xc2,0xdf,0x6b,0xd5,0x92,0x2b,0x89,0xbc,0x6a,0x6e,0xf6,0xd5,0x6b,
33    0xda,0xaa,0xbd,0xc5,0x72,0x1f,0xab,0x5f,0x4f,0xbf,0xeb,0xa8,0x5f,0x1f,0xeb,0x14,
34    0xb1,0x16,0xb4,0x6d,0x84,0x8f,0xf9,0x37,0x60,0x2b,0x88,0xbd,0x49,0xf4,0x6c,0xc6,
35    0x5e,0x1b,0xe7,0x26,0x1d,0x7b,0xd9,0x02,0x6f,0xef,0xb3,0xc7,0xb5,0x30,0x3b,0x6e,
36    0xbf,0x97,0x3a,0x6e,0xdf,0x45,0x2f,0xac,0x0f,0x7b,0xc8,0x69,0x75,0x1a,0x43,0x85,
37    0x1e,0xf6,0xe9,0xe4,0xdf,0x7f,0x29,0x9e,0xc6,0xe5,0x61,0xde,0x7b,0xd0,0x66,0xfb,
38    0xbd,0x25,0x1c,0x7a,0x4b,0xf6,0xfb,0x99,0x7b,0x8b,0x7f,0x02,0x2d,0x79,0x38,0x3c,
39    0xc5,0x7b,0x46,0xfc,0x07,0xe0,0xe0,0xfb,0xa3,0xe2,0xff,0x3c,0x1c,0xd5,0xff,0x78,
40    0x49,0xef,0x26,0xf9,0x06,0x7c,0x7f,0xbe,0xa4,0xf7,0x17,0x99,0x69,0xe3,0x73,0x85,
41    0x5c,0x7b,0xd0,0x73,0x85,0x7b,0x20,0x13,0x7b,0x95,0x8b,0x3c,0xb2,0xe8,0x31,0xec,
42    0x8f,0x80,0x58,0x7f,0x77,0x33,0x77,0xd5,0xf4,0xf3,0x40,0x60,0x50,0xc5,0xb7,0x5e,
43    0xcd,0xf2,0xde,0x9d,0x64,0x7e,0xd7,0x63,0xef,0x09,0x19,0x1a,0xf8,0xde,0x37,0x30,
44    0x0b,0xbb,0xf1,0x69,0x04,0x7f,0x2f,0xf8,0xd8,0x7e,0x13,0x71,0x8d,0xc4,0xd9,0x2c,
45    0xdc,0x49,0x5c,0x13,0x71,0x3e,0xbf,0x86,0x5f,0x0a,0x3e,0x5b,0xe4,0x9e,0xb0,0xf9,
46    0xf8,0x3d,0x30,0x6f,0x86,0xcf,0x5f,0xc1,0xdf,0xef,0x8b,0x66,0xf4,0xd8,0x7b,0x7f,
47    0x88,0xcb,0x73,0x67,0x6c,0xc2,0xf7,0x1d,0xfa,0x75,0x37,0xf8,0x40,0xd8,0x19,0xa7,
48    0xaf,0xc1,0xdc,0xef,0xcf,0x90,0xc3,0x73,0xd9,0xf3,0xb7,0xe0,0x65,0x7e,0x57,0xf1,
49    0xc9,0x11,0xb3,0x5d,0x34,0xec,0x44,0x43,0x8b,0x68,0xb8,0x07,0xdc,0x35,0xb4,0x82,
50    0xb9,0x86,0x76,0xd1,0x60,0xb6,0x36,0xee,0x2e,0xab,0xdb,0x26,0x1a,0xee,0xa3,0x76,
51    0x4a,0x34,0x74,0x80,0xbb,0x86,0x6f,0xc0,0xdc,0xcf,0x34,0x78,0xae,0x76,0xd1,0x70,
52    0x0d,0x9f,0x66,0x62,0xda,0x44,0xc3,0x03,0x68,0xd8,0x25,0x1a,0x3a,0xc1,0x5d,0xc3,
53    0x83,0x60,0xae,0xa1,0x5b,0x34,0x98,0xad,0x2b,0xce,0x5d,0xb1,0x6e,0x17,0x73,0x54,
54    0x88,0xf9,0x8a,0xb5,0xaf,0xc9,0xf7,0x67,0x1c,0xdd,0xb7,0x5b,0x38,0xae,0xe2,0xd7,
55    0x4e,0x5c,0x17,0x7c,0xec,0x1b,0x7d,0x84,0xef,0xd3,0x67,0xee,0x51,0x38,0xf7,0xca,
56    0xcc,0xed,0x03,0x7f,0x97,0x99,0x7b,0x1c,0x6c,0x95,0x38,0xfb,0x66,0xfb,0x88,0xdb,
57    0x4f,0x9c,0xf5,0xf4,0x49,0x70,0xef,0xfb,0x01,0x62,0x13,0xc1,0x0e,0x82,0xa5,0xe2,
58    0x7b,0x3e,0x7e,0xef,0xfd,0xf8,0x1e,0x24,0x87,0xd7,0x38,0x44,0x8d,0x01,0xa9,0x71,
59    0x18,0xfc,0xb9,0xc0,0xcc,0xbe,0xd1,0x23,0x68,0xea,0xe7,0x8e,0x38,0x2c,0xe7,0xf1,
60    0x34,0xf1,0x47,0xe5,0x3c,0x9e,0x01,0xf7,0xf3,0x78,0x16,0xcc,0xcf,0x63,0x48,0xce,
61    0xc3,0x6c,0x83,0x61,0x8d,0xd0,0xe3,0x41,0x74,0xd4,0xc6,0xfa,0xc5,0xda,0x99,0xc8,
62    0xbd,0x2c,0xde,0x43,0x2f,0x82,0x1d,0x91,0x6f,0x3d,0x8d,0x4e,0xb3,0x1f,0x23,0xce,
63    0xd7,0x99,0x90,0xcb,0xf0,0x61,0x62,0x8f,0xc5,0x5c,0xeb,0xa2,0xae,0x97,0xc8,0x33,
64    0xcc,0x7d,0x93,0x93,0x7b,0xd1,0xce,0x7d,0x08,0x4e,0x23,0xa2,0xf7,0x04,0x7a,0x8f,
65    0x8b,0xde,0x97,0xc1,0x5d,0xef,0x2b,0x60,0xae,0x77,0x4c,0xf4,0x9a,0x6d,0xd4,0x7e,
66    0x03,0x91,0x7b,0x54,0xf4,0xbe,0x2a,0x7a,0x2f,0x93,0xeb,0x35,0xf0,0xad,0x70,0xf2,
67    0xb8,0x31,0x66,0xd1,0x7c,0x5e,0xa7,0xe6,0x08,0xfe,0xa3,0xd4,0x9d,0x90,0xba,0xe6,
68    0x33,0x1e,0xd6,0x04,0xf1,0xe3,0x52,0xf7,0xcd,0xff,0xe8,0xf3,0x5b,0xb7,0xe8,0xf3,
69    0x29,0xe2,0x7c,0x9d,0xa5,0xcf,0xa7,0x89,0x3d,0x25,0x7d,0x7e,0x9b,0x3c,0xa7,0xff,
70    0xa7,0xcf,0xce,0x69,0x02,0x4d,0x16,0xf3,0x23,0x31,0x63,0xc4,0x8f,0x97,0x9c,0xc9,
71    0x90,0xf8,0xae,0x71,0x96,0x83,0xc4,0x4d,0xc8,0x79,0x9d,0xe1,0xbc,0x26,0xe5,0xbc,
72    0xde,0x07,0xf7,0xf3,0x3a,0x0b,0xe6,0xe7,0x35,0x2d,0x7d,0x33,0xdb,0x54,0x58,0xe7,
73    0xa8,0x3b,0x25,0xba,0x3e,0xa0,0xf6,0x1a,0xba,0x0a,0xf4,0xc8,0x75,0x4d,0x13,0x73,
74    0x4e,0xf8,0x7c,0x08,0x9f,0xf3,0xc2,0xe7,0x23,0x70,0xe7,0xf3,0x31,0x98,0xf3,0x99,
75    0x15,0x3e,0x66,0x9b,0x09,0x6b,0x8e,0xdc,0x33,0x72,0x8e,0x17,0xe0,0x92,0xe1,0xce,
76    0x35,0x8e,0xdf,0x0a,0xee,0xf7,0xd9,0x2c,0xb1,0x73,0x72,0x0f,0x7c,0x02,0xaf,0x8b,
77    0x72,0x0f,0x7c,0x0a,0xbe,0xca,0xbd,0xf2,0x19,0xd8,0x80,0x70,0xfd,0x1c,0xbc,0x17,
78    0xae,0x0b,0xc2,0xd5,0x6c,0xf3,0x61,0x2d,0x50,0x6f,0x5e,0x78,0x7d,0x87,0xbe,0x35,
79    0xf9,0x5f,0xe0,0x7e,0x0b,0x72,0xb6,0xd7,0xf1,0x99,0x23,0x66,0x5e,0xf8,0x7c,0x01,
80    0x9f,0x26,0xe1,0xf3,0x25,0xb8,0xf3,0x59,0x12,0x3e,0x66,0x5b,0x0c,0x6b,0x89,0x3a,
81    0x8b,0xc2,0xe7,0x7b,0xf8,0x5c,0xe7,0x0c,0x8d,0x8f,0xfb,0x2d,0x09,0x9f,0x1b,0xf8,
82    0x2c,0x10,0xb3,0x28,0x7c,0x2e,0xc1,0x67,0x52,0xf8,0x5c,0x06,0x77,0x3e,0x2b,0xc2,
83    0xc7,0x6c,0xcb,0x61,0xad,0x50,0x67,0x59,0xf8,0xfc,0xc0,0xef,0xc8,0x1b,0x32,0x4f,
84    0xee,0xb7,0x22,0x7c,0x7e,0xc1,0x67,0x89,0x98,0xe5,0x92,0x33,0x9e,0x15,0xdf,0x9f,
85    0x99,0x87,0x19,0xe2,0x56,0x4a,0xe6,0x74,0x5a,0x7c,0x7f,0x62,0xbe,0xa7,0x88,0x9b,
86    0x8d,0xbf,0xd7,0x32,0xf1,0x77,0x9a,0xd9,0xfe,0x0e,0xa7,0xd6,0x19,0xd6,0x3f,0x76,
87    0x66,0x32,0xbe,0x18,0x0e,0x00,0x00
88};
89
90// Generated from:
91//
92// #version 450 core
93//
94// #extension GL_EXT_samplerless_texture_functions : require
95//
96// layout(set = 0, binding = 0)uniform utexture3D src;
97// layout(location = 0)out uvec4 dst;
98//
99// layout(push_constant)uniform PushConstants {
100//
101//     ivec2 srcOffset;
102//     ivec2 dstOffset;
103//     int srcMip;
104//     int srcLayer;
105//
106//     bool flipX;
107//     bool flipY;
108//
109//     bool premultiplyAlpha;
110//     bool unmultiplyAlpha;
111//
112//     bool dstHasLuminance;
113//     bool dstIsAlpha;
114//
115//     bool srcIsSRGB;
116//     bool dstIsSRGB;
117//
118//     int dstDefaultChannelsMask;
119//     bool rotateXY;
120// } params;
121//
122// void main()
123// {
124//     ivec2 dstSubImageCoords = ivec2(gl_FragCoord . xy)- params . dstOffset;
125//
126//     ivec2 srcSubImageCoords = dstSubImageCoords;
127//
128//     if(params . flipX)
129//     {
130//         srcSubImageCoords . x = - srcSubImageCoords . x;
131//     }
132//     if(params . flipY)
133//     {
134//         srcSubImageCoords . y = - srcSubImageCoords . y;
135//     }
136//     if(params . rotateXY)
137//     {
138//         srcSubImageCoords . xy = srcSubImageCoords . yx;
139//     }
140//
141//           uvec4 srcValue = texelFetch(src, ivec3(params . srcOffset + srcSubImageCoords, params . srcLayer), params . srcMip);
142//
143//     if(params . premultiplyAlpha)
144//     {
145//         srcValue . rgb *= srcValue . a;
146//     }
147//     else if(params . unmultiplyAlpha && srcValue . a > 0)
148//     {
149//         srcValue . rgb /= srcValue . a;
150//     }
151//
152//            uvec4 dstValue = uvec4(srcValue);
153//
154//     if(params . dstHasLuminance)
155//     {
156//         dstValue . rg = dstValue . ra;
157//     }
158//     else if(params . dstIsAlpha)
159//     {
160//         dstValue . r = dstValue . a;
161//     }
162//     else
163//     {
164//         int defaultChannelsMask = params . dstDefaultChannelsMask;
165//         if((defaultChannelsMask & 2)!= 0)
166//         {
167//             dstValue . g = 0;
168//         }
169//         if((defaultChannelsMask & 4)!= 0)
170//         {
171//             dstValue . b = 0;
172//         }
173//         if((defaultChannelsMask & 8)!= 0)
174//         {
175//             dstValue . a = 1;
176//         }
177//     }
178//
179//     dst = dstValue;
180// }
181