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/GenerateMipmap.comp.00000009.inc:
9//   Pre-generated shader for the ANGLE Vulkan back-end.
10
11#pragma once
12constexpr uint8_t kGenerateMipmap_comp_00000009[] = {
13    0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x58,0x7f,0x8c,0x56,0xc5,
14    0x15,0x7d,0xdf,0xee,0xbe,0x79,0xef,0x7d,0xb0,0x7c,0xc0,0x22,0xa0,0x2c,0x8a,0x42,
15    0xfd,0x03,0x08,0x69,0x13,0xa1,0x6d,0x08,0x54,0x4a,0x8d,0x24,0x62,0x6d,0x41,0x13,
16    0x7f,0xc4,0xb6,0xa4,0x54,0xb0,0xad,0xf0,0x47,0x69,0x6c,0x2d,0x09,0x50,0x90,0x52,
17    0x4a,0x20,0x35,0x96,0x10,0x89,0x71,0x21,0x85,0xb6,0x61,0x61,0x81,0x54,0xff,0x01,
18    0xda,0x94,0xd6,0x76,0x17,0x1a,0xc5,0xb8,0x46,0x28,0x4a,0x8c,0x82,0x48,0xad,0xe9,
19    0x42,0xa1,0x60,0x41,0xd3,0x39,0x7b,0xce,0xe5,0xdd,0xfd,0x5c,0x21,0x19,0x66,0xee,
20    0xb9,0x77,0xee,0xcc,0x9c,0x39,0x33,0xf3,0xf6,0x6b,0x6c,0x18,0x9b,0x25,0x49,0x25,
21    0xa9,0x26,0x79,0x32,0xb2,0x96,0xf4,0xfe,0x1b,0x92,0x34,0x44,0x24,0x49,0x06,0x24,
22    0xa1,0xb7,0xbe,0x73,0xf6,0xdc,0xd9,0x93,0x7e,0xb0,0x64,0xfe,0xa4,0xdb,0x26,0x7f,
23    0x16,0xfe,0x41,0x49,0x63,0x6f,0x1c,0x7c,0xb5,0x24,0x4b,0xd2,0x58,0x37,0xc5,0xf2,
24    0xd8,0xbc,0x47,0x17,0x01,0x3f,0x16,0x8d,0xe3,0xb1,0x0c,0x8e,0xfd,0x9b,0x7a,0xf3,
25    0x31,0xb8,0xa2,0x3e,0xb3,0x62,0x8f,0x97,0x38,0x54,0x32,0x56,0xb5,0x61,0x15,0x61,
26    0x39,0xc6,0x8d,0xe3,0x00,0x6b,0xe8,0x6d,0x37,0x25,0xc7,0x63,0x7d,0x8b,0xe2,0xcd,
27    0xbe,0x59,0x7d,0x60,0x9f,0xa9,0xf3,0x9f,0x91,0x3f,0x51,0x2e,0xd8,0x23,0xe4,0xc3,
28    0x1c,0x07,0xc4,0xf6,0x0d,0x96,0x4b,0xf6,0x68,0xd9,0xef,0xc9,0xbe,0x3e,0x96,0x96,
29    0x38,0x83,0x86,0xde,0x5c,0x8d,0xbd,0x2b,0x47,0xfb,0xba,0x18,0x13,0x62,0x3d,0x46,
30    0xf9,0x47,0x44,0xbb,0x25,0xd6,0xc1,0xf9,0x47,0xca,0x5f,0x91,0x1f,0xb9,0x46,0xca,
31    0x3f,0x3c,0x66,0x1a,0x25,0x3f,0x7c,0xad,0xb1,0x1e,0x25,0x1e,0xc7,0xc4,0xff,0xc7,
32    0xc5,0x3a,0x6e,0x4c,0x2f,0x3e,0x2c,0xf6,0xf8,0x52,0xac,0x27,0x28,0xe7,0x36,0x8d,
33    0x39,0x41,0x73,0xd8,0xa1,0x9c,0x66,0xb7,0xc7,0xd2,0xe8,0xec,0xbd,0x6e,0x0e,0x5d,
34    0x1a,0x07,0xf1,0x37,0x46,0x1b,0xfc,0x76,0x69,0xde,0x18,0xf7,0xe5,0x58,0x17,0xb1,
35    0x00,0x9f,0x2a,0xfb,0x88,0x30,0xf8,0x5f,0x51,0xbb,0xab,0x97,0x9b,0x22,0x39,0xaa,
36    0x7c,0x95,0xa4,0xef,0x3f,0xb3,0x47,0xc5,0x99,0x1c,0x8b,0xf5,0x51,0xf5,0xff,0x87,
37    0xf0,0x63,0xca,0x0f,0xfb,0xb8,0x5b,0x0f,0x72,0x9d,0x90,0x8d,0xfc,0xa7,0x3e,0x25,
38    0x7f,0x83,0x30,0x5b,0xe3,0xbb,0x5a,0x43,0x6b,0xb4,0x4f,0xc7,0xfa,0x94,0x30,0x8c,
39    0xf9,0x9e,0xfa,0x9c,0xd6,0x98,0xb0,0xcf,0x08,0x83,0xff,0x7d,0xb5,0x4f,0xb9,0x7c,
40    0x3d,0x09,0xf4,0xcb,0x7c,0x67,0xb5,0x0f,0x3d,0xb2,0xcf,0xc5,0xfa,0xac,0x6c,0xf4,
41    0xff,0x8f,0xf6,0xed,0x9c,0xf2,0xc3,0x3e,0xef,0xf6,0xf2,0xa2,0xda,0xad,0x6e,0x8d,
42    0x59,0xef,0x82,0x96,0x4f,0xb7,0xf1,0x06,0x44,0x3b,0xaf,0x94,0xe3,0x37,0x57,0xfa,
43    0xee,0xf1,0x9a,0x68,0xdf,0xee,0xec,0x8d,0x15,0x6a,0xc7,0xec,0xb6,0x8a,0x8d,0xd1,
44    0x94,0x6c,0xa9,0x70,0xac,0xb6,0x0a,0xc7,0xdf,0x5a,0xa1,0x96,0xb6,0x54,0x4a,0x0d,
45    0x75,0x56,0x4a,0xfe,0x60,0x7f,0x50,0x29,0x35,0x04,0x7b,0x58,0x43,0xa9,0x21,0xd8,
46    0x93,0x1a,0x98,0xdf,0xec,0x85,0x0d,0x3c,0xa3,0x36,0xfe,0x06,0x67,0xc3,0xff,0x74,
47    0x13,0xf7,0xc3,0xec,0x67,0x9b,0x38,0x07,0x68,0xf0,0x75,0xf9,0x1a,0xc5,0xcf,0xd1,
48    0x26,0xce,0x05,0xf8,0x54,0xd9,0xc7,0x84,0xf5,0x6a,0x46,0xed,0x60,0x9a,0xd1,0xfd,
49    0x62,0xfe,0xb7,0x9b,0xa8,0xc9,0xe0,0xe6,0x73,0xba,0x89,0x02,0x99,0x18,0x2d,0xe4,
50    0xc5,0x79,0x06,0xb6,0x57,0xe7,0x61,0x62,0xbc,0x6f,0x70,0x5e,0x07,0xd6,0xc8,0xed,
51    0x9a,0x4a,0x89,0x35,0xd7,0xc8,0xef,0x46,0x87,0x0d,0xaa,0x71,0xbf,0x7b,0x5c,0xdf,
52    0x5a,0x8d,0xeb,0x46,0x31,0x6c,0x70,0x8d,0xbc,0xb7,0xb9,0xbd,0x1c,0x12,0xb1,0xd4,
53    0xf5,0x1b,0x5a,0xe3,0x99,0x45,0x99,0x12,0xb1,0x06,0xe9,0x23,0x11,0x27,0x97,0x22,
54    0x92,0x6a,0xad,0xd8,0xbb,0x8d,0x29,0xb9,0x9b,0x26,0xee,0xde,0x14,0x3f,0xf7,0x44,
55    0x14,0xf9,0x4e,0x08,0x7b,0xb3,0xa9,0x3c,0x7b,0xd3,0x34,0xf6,0x5b,0xe2,0x6a,0x46,
56    0xcc,0x08,0x9e,0xde,0x69,0xe2,0x79,0xc6,0xfe,0x5b,0xcc,0x49,0xe1,0x17,0xe3,0xe8,
57    0x77,0xa4,0xcc,0x71,0x39,0xb6,0xa1,0xc1,0xe1,0x29,0xe7,0x83,0xfa,0xe7,0x31,0x07,
58    0xe2,0x47,0xa6,0xcc,0x0b,0xce,0x96,0x6a,0x7f,0xbf,0x93,0x72,0x3d,0x66,0x2f,0x48,
59    0x79,0x0f,0x1d,0x8e,0x3d,0xd0,0x67,0x61,0xca,0x7e,0x88,0x83,0xcf,0xe2,0x16,0xa5,
60    0xdc,0x8f,0xae,0xb8,0x16,0xc4,0x2d,0x4e,0xcb,0xd8,0x6d,0xf2,0x5b,0x8e,0xc7,0x85,
61    0x2f,0x50,0x31,0x7c,0x99,0xf0,0x45,0xca,0x6f,0xb9,0x56,0xa7,0xec,0xb3,0x4c,0xb9,
62    0xe0,0x3b,0xa8,0x35,0x8c,0xd6,0x1a,0xa0,0x53,0x5b,0xd7,0x8d,0x29,0x71,0xac,0x63,
63    0x95,0xb0,0x9b,0x52,0xee,0x2f,0x7c,0xcb,0x85,0x8d,0x49,0x39,0xcf,0x9b,0x5c,0xbe,
64    0x71,0xca,0x07,0x9d,0x5b,0xdf,0xcf,0xa8,0xef,0x38,0xd7,0xf7,0xd6,0x94,0xf3,0x82,
65    0x0f,0x7c,0xef,0x0e,0x7d,0xf9,0xfe,0xa3,0xf8,0x46,0xbd,0x4a,0x7a,0x39,0x98,0x72,
66    0x8f,0xa1,0xd5,0xa5,0x7a,0x47,0xfe,0x9c,0x12,0xb7,0xb1,0x5e,0x4c,0x39,0x2f,0xbf,
67    0x07,0x7f,0x4d,0x89,0x5b,0x4c,0x67,0xca,0xf1,0x7d,0x4c,0x57,0x4a,0xfc,0x6b,0x31,
68    0x06,0x79,0x0f,0xa5,0xec,0xd7,0xa5,0x39,0x03,0x3b,0x9c,0x72,0xbc,0x43,0x6e,0x4e,
69    0x2f,0x69,0x4e,0xcd,0x6e,0x4e,0x2f,0xa7,0xc4,0x2d,0xf7,0x2b,0x9a,0x93,0xd9,0xaf,
70    0x6a,0x7c,0x1b,0xab,0x3b,0x65,0xcc,0xab,0x6e,0xac,0xd7,0x52,0xe6,0xe9,0x56,0x3f,
71    0x8c,0xf5,0x7a,0xca,0x39,0xd8,0x38,0xcf,0x07,0x62,0x8b,0xf5,0x9e,0xed,0x0b,0xc4,
72    0xa0,0x71,0xbc,0x4f,0xfb,0x03,0x35,0xbe,0x4d,0xe7,0x00,0x31,0x07,0x02,0xf1,0x27,
73    0x63,0x0c,0xec,0x3f,0x04,0xf6,0x03,0xbe,0x42,0xd8,0x9f,0x02,0x71,0x60,0xe8,0x87,
74    0x37,0xea,0x60,0xe0,0xfb,0x74,0x7f,0xd4,0x14,0xee,0xd4,0xbf,0x04,0x62,0x88,0x6d,
75    0xd0,0x5b,0x85,0x71,0xf1,0x5e,0x1f,0x4b,0x79,0x56,0x31,0xee,0x74,0xbc,0x7b,0x29,
76    0xe3,0xa7,0xe9,0x7d,0x7f,0x23,0x65,0x0c,0xe2,0xf1,0xe6,0xfc,0x2d,0xf0,0x1d,0x6a,
77    0xd6,0x59,0xc4,0xfb,0xd3,0x19,0x88,0x7f,0x3b,0xda,0x68,0x83,0x8f,0x37,0x9c,0x7e,
78    0x4e,0x6a,0x4f,0x37,0xba,0xb3,0x77,0x2a,0x25,0x6e,0xbc,0x9e,0x49,0x89,0xf9,0x3d,
79    0xfc,0xa7,0xf6,0xf0,0x8c,0xcb,0xd5,0xa3,0xfd,0xe9,0x71,0x7a,0x38,0x9b,0x12,0xb7,
80    0x5c,0xe7,0x53,0x62,0x7e,0x8f,0x2e,0x68,0x8f,0xce,0xbb,0x3d,0xba,0x98,0x72,0x8c,
81    0xab,0x5a,0x08,0xc4,0x6c,0x8f,0x5e,0x0b,0xc4,0x8c,0xff,0xa3,0x81,0x98,0xe7,0xff,
82    0x78,0x20,0x0e,0xcc,0xf8,0x3e,0x21,0xbe,0x8f,0xf7,0xc3,0xf7,0x87,0xe2,0x1b,0x77,
83    0x19,0xf8,0x86,0x7d,0xc2,0xf1,0x7d,0x25,0x65,0x8c,0x71,0xfb,0xb6,0xe3,0x16,0x6d,
84    0xac,0xe3,0x8a,0xe3,0x23,0x0b,0x3c,0x0b,0x9e,0xdb,0x3c,0x10,0x37,0x3e,0x8a,0xc0,
85    0xf3,0x01,0xdc,0xf8,0xa8,0x06,0x72,0x5b,0x84,0x32,0xd7,0xd0,0x40,0xad,0x7b,0x6e,
86    0x5b,0x02,0x71,0xcb,0x35,0x2c,0x50,0xff,0x2d,0x2e,0xd7,0x75,0x81,0xdc,0xc2,0x67,
87    0xdc,0x8e,0x08,0x1c,0xc3,0xb8,0x3d,0x13,0x88,0x19,0xb7,0xff,0x0e,0xc4,0x8c,0xdb,
88    0x73,0x81,0x98,0xe7,0xf6,0x42,0x20,0xee,0xb9,0xbd,0x24,0x6e,0x2f,0xf4,0xc3,0xed,
89    0xf5,0x81,0xdc,0x7e,0x20,0x6e,0x61,0x5f,0x72,0xdc,0xb6,0x06,0xc6,0x18,0xb7,0x57,
90    0x1c,0xb7,0x68,0x63,0x1d,0xad,0x6e,0xad,0xe3,0x03,0x35,0xe9,0x79,0x9b,0x20,0xde,
91    0xc6,0xbb,0xb8,0x29,0x81,0x7a,0xf3,0x9c,0x7c,0x5e,0x9c,0x4c,0x71,0x9c,0x7c,0x31,
92    0xb0,0xbf,0x71,0xd2,0x98,0x11,0x33,0x4e,0x8a,0x8c,0x98,0x71,0x32,0x30,0x23,0xe6,
93    0x39,0xa9,0x65,0xc4,0x3d,0x27,0x43,0x33,0x72,0x02,0x5f,0x3d,0x27,0x53,0xc5,0x09,
94    0xbe,0x8d,0xc0,0x09,0x6c,0xc4,0x1b,0x27,0xd3,0x03,0x63,0x8c,0x93,0xe1,0x59,0xc9,
95    0x09,0xda,0x58,0x07,0x62,0xf6,0xc6,0x7c,0xf8,0x9e,0x9f,0x11,0xf8,0xf6,0xe2,0xfd,
96    0xc3,0x5b,0x30,0x53,0x6f,0xc1,0xff,0x62,0x3c,0x7c,0x5f,0x8e,0x05,0x18,0xde,0x03,
97    0xb4,0x3f,0x8c,0xf5,0x6e,0xd9,0x33,0x65,0x7f,0x45,0x36,0xea,0x0b,0x71,0x0d,0xd0,
98    0xd9,0x88,0x1a,0xef,0x20,0xc4,0xac,0x8f,0x65,0x5d,0x2c,0x7b,0x34,0xe6,0x9d,0x81,
99    0x7e,0x7c,0xcf,0xfd,0x37,0x8e,0xb3,0x41,0x7e,0x1b,0x17,0xfe,0x59,0xb1,0x6c,0x50,
100    0xde,0x59,0xa1,0x5c,0xff,0x6c,0xad,0x1f,0xfd,0x6d,0xcd,0x77,0x07,0xe2,0x33,0xa2,
101    0xea,0xf1,0x9d,0x3b,0x3a,0xe3,0xb7,0xef,0x18,0xdd,0xf5,0xe0,0x09,0x18,0xe2,0xde,
102    0x8a,0x7d,0xec,0xbb,0x07,0xdf,0xbb,0xbb,0x35,0xa7,0xaf,0x87,0xf2,0x7b,0x02,0x3c,
103    0xac,0x75,0xf3,0x81,0x6f,0x4e,0x2c,0x6b,0x35,0x9f,0x39,0xee,0x8c,0x3d,0x1c,0x78,
104    0x17,0x82,0x3f,0xc3,0x16,0xe8,0x0c,0xef,0x4d,0xca,0x39,0x7d,0x55,0x73,0x7a,0x51,
105    0x6f,0x9d,0xcd,0xfd,0x9e,0x8c,0x3e,0x8b,0xbb,0x57,0x71,0x0f,0x87,0xbe,0x71,0xf7,
106    0x65,0xf4,0x59,0xdc,0x83,0x2e,0xdf,0x02,0x77,0x26,0x1e,0xca,0xe8,0xb3,0xb8,0x6f,
107    0xb9,0x7c,0x3e,0x6e,0x5e,0x46,0x1f,0x74,0x08,0xfb,0x91,0x8c,0x73,0xb9,0xcf,0x61,
108    0x0b,0x33,0xe2,0x0f,0x39,0xec,0xbb,0x19,0x71,0xf4,0x5f,0x2f,0xec,0x7b,0x19,0xf1,
109    0x4c,0xe7,0x14,0x7b,0x01,0xcc,0xde,0xe9,0x25,0x81,0xef,0xf4,0x20,0xf7,0x4e,0xff,
110    0x30,0x10,0xff,0x45,0x8c,0x81,0x5e,0x7e,0x24,0x4d,0xe0,0xac,0xaf,0x12,0xf6,0xe3,
111    0x40,0x1c,0xdf,0xf9,0x4b,0xf5,0x9d,0xf8,0x44,0x20,0x6e,0x5c,0xff,0x24,0x70,0x9f,
112    0x9f,0x08,0xe5,0x1d,0xb7,0x34,0x10,0xff,0x99,0xf2,0x2c,0xeb,0x27,0xf7,0xf2,0x40,
113    0xdc,0xe7,0x5e,0x11,0x88,0x5b,0xee,0x9f,0xea,0xfe,0x5c,0xe1,0x72,0xaf,0x0c,0xc4,
114    0xed,0xae,0x58,0x15,0x38,0xde,0x4a,0x77,0x57,0x3c,0x19,0xb8,0xbe,0x55,0x8e,0xef,
115    0x35,0x57,0x35,0xca,0x77,0x77,0x51,0xc6,0x77,0x77,0x6f,0x52,0x9e,0xd5,0xc5,0x19,
116    0x71,0x9c,0x55,0xb4,0x91,0x67,0x8d,0xce,0x98,0x69,0x6f,0x6d,0x3f,0x1a,0x86,0x7f,
117    0x9d,0xfc,0xeb,0x34,0x0f,0xcc,0x75,0xbd,0xd6,0xdd,0x59,0xe9,0x7b,0x4e,0x71,0xae,
118    0x4c,0xf7,0xbf,0xac,0xd3,0x7d,0x87,0xd3,0x3d,0x7c,0x4f,0xc5,0xd2,0xa1,0x7e,0x4f,
119    0xb9,0xf5,0x6c,0x0a,0xf6,0x1d,0x41,0x9d,0x3d,0xde,0xcf,0x99,0x03,0xb6,0xc9,0xf1,
120    0xb9,0x59,0x7b,0x85,0xef,0x51,0xcb,0xf3,0x5c,0xe0,0xfb,0x68,0x79,0x96,0x2a,0xcf,
121    0xe6,0x50,0xe6,0x01,0xf6,0x9c,0xcb,0xf3,0x6b,0xf9,0x7c,0x9e,0xed,0x7a,0x0b,0x2c,
122    0xcf,0x0a,0x37,0x1f,0xc4,0x23,0x0f,0xb0,0xed,0x6e,0x0d,0x3b,0x75,0x57,0x5a,0x9f,
123    0xd5,0x6e,0x6c,0xeb,0x03,0x6c,0xa7,0xf6,0xc0,0x78,0xe8,0xa8,0xbb,0x07,0x51,0x83,
124    0xbb,0xee,0xac,0xef,0x77,0xf4,0xb3,0x19,0xfd,0xa8,0xed,0xbe,0x6d,0xcb,0x78,0xdf,
125    0xee,0xd0,0x7d,0xbb,0x35,0x2b,0xf9,0x86,0x6f,0x4b,0x2c,0x5b,0xd5,0x0f,0x6d,0x8c,
126    0xd3,0x2d,0x1b,0xf8,0xa7,0xdd,0x5f,0xef,0x64,0x7d,0xf7,0xb1,0x35,0x2f,0xf3,0xc2,
127    0x77,0x32,0x16,0x60,0xc8,0x83,0xf6,0xd5,0xef,0xaf,0xec,0x93,0xf7,0xd7,0xe5,0xec,
128    0x93,0xf7,0xd7,0xec,0xbc,0xff,0xfb,0xeb,0xee,0x9c,0x3e,0x8b,0x9b,0xa3,0xb8,0x9e,
129    0xac,0x6f,0xdc,0xdc,0x9c,0x3e,0x8b,0xbb,0xdf,0xe5,0xbb,0xec,0xde,0xaf,0x07,0x72,
130    0xfa,0x2c,0xee,0x1b,0x2e,0x9f,0x8f,0xfb,0x66,0x4e,0x9f,0xdd,0x4b,0xf3,0x73,0xce,
131    0x65,0xae,0xc3,0x1e,0xc9,0x89,0x3f,0xe0,0xb0,0x85,0x39,0x71,0xf4,0xb7,0xfb,0xeb,
132    0xd1,0x9c,0x78,0x56,0x29,0xef,0xac,0x3c,0xe7,0x9d,0x55,0x73,0x77,0x56,0x91,0x13,
133    0xb7,0x73,0x5e,0xcb,0x89,0x75,0xbb,0xef,0xe9,0xef,0xe7,0x3c,0xd7,0x3b,0xdc,0xb9,
134    0x7e,0x2c,0x27,0x8e,0x73,0x8d,0x36,0xfa,0x61,0x4c,0xfb,0x9b,0x6f,0x78,0x5e,0xfe,
135    0x4d,0x64,0x7b,0x30,0x22,0x27,0x37,0xc3,0x1d,0x17,0x4b,0xc4,0x05,0x7c,0x9d,0x3a,
136    0x1b,0x4b,0x94,0x0b,0x3a,0xb1,0xfd,0x45,0x6d,0x7a,0xdb,0x29,0xbd,0xb5,0x4b,0x6f,
137    0x1d,0x4e,0x6f,0xf0,0xed,0x8a,0xa5,0x43,0xfa,0xda,0x55,0xa7,0xb7,0x8e,0x6b,0xe8,
138    0x6d,0x65,0x4e,0xbd,0xf5,0x28,0xef,0x3e,0xa7,0x37,0xf8,0x56,0xc5,0xb2,0x4f,0xf3,
139    0x41,0xdb,0xfe,0xfe,0x5b,0x9d,0xf3,0x4c,0xb6,0x55,0x4a,0x6c,0xad,0xd6,0x0f,0xcc,
140    0xd6,0xbf,0x21,0x67,0xac,0xe7,0x64,0x93,0x30,0xaf,0xd5,0xcd,0x39,0xfb,0xfb,0xb8,
141    0x36,0xc5,0xb5,0x3b,0xfd,0xbe,0x2f,0xee,0x56,0x2b,0xde,0x74,0xf4,0xaf,0x9c,0x3e,
142    0x8b,0x3b,0xab,0xb8,0x0d,0x75,0x71,0xe7,0x72,0xfa,0x2c,0xee,0xa2,0xe2,0x30,0xa7,
143    0xcd,0x2e,0xee,0x52,0x4e,0x9f,0xc5,0x7d,0xa4,0xb8,0xb6,0xba,0xb8,0x8f,0x73,0xfa,
144    0x4c,0x97,0x8d,0x05,0xe7,0x72,0xce,0x61,0x69,0x41,0xfc,0x92,0xc3,0xb2,0x82,0xf8,
145    0xc7,0x4e,0xbf,0x79,0x41,0xdc,0xeb,0xf7,0xb7,0xd2,0xef,0x60,0xa7,0xdf,0xdf,0xe5,
146    0xc4,0x4d,0xbf,0x1d,0x39,0x31,0xaf,0xdf,0x01,0x05,0xf5,0xdb,0xee,0xf4,0x3b,0xb0,
147    0x20,0x0e,0xfd,0xa2,0x8d,0x7e,0x18,0xd3,0xf8,0x7e,0x41,0x7c,0xdf,0xea,0xee,0xf1,
148    0x96,0x82,0xeb,0x7e,0x41,0x3c,0x42,0xab,0xc0,0xd0,0x0f,0x1a,0x33,0x6d,0xec,0x73,
149    0x5a,0xdd,0x27,0xad,0xb6,0xe9,0x0e,0x3b,0xe0,0xb4,0x0a,0xdf,0x7e,0x7c,0x27,0x4b,
150    0x9b,0xfb,0xeb,0xb4,0x7a,0xe0,0x1a,0x5a,0xbd,0xa5,0xa0,0x56,0x2d,0xef,0xfc,0xa2,
151    0xcc,0x0b,0xdf,0xd8,0x58,0x80,0x21,0x0f,0xda,0x57,0x7f,0x3b,0x29,0xca,0xf7,0xca,
152    0xd6,0x3a,0xbe,0x20,0xde,0xe9,0x7e,0xd3,0x98,0x58,0x94,0xef,0x91,0xc5,0x7d,0x4e,
153    0x71,0x5e,0xd3,0x93,0x0b,0xe2,0x9d,0xee,0xef,0xbd,0x69,0x8a,0xf3,0x9a,0xbe,0xbd,
154    0x20,0xee,0xe3,0x66,0x16,0x1c,0xc7,0xe7,0x9b,0xa5,0xbe,0xf8,0x6d,0xcf,0xb0,0xbb,
155    0x0a,0xe2,0x9d,0x6e,0x2f,0x9e,0xd6,0x5e,0x8c,0x57,0x0e,0xd3,0xe0,0xaf,0x0a,0xfa,
156    0x2c,0xee,0x19,0xc5,0x4d,0xae,0x8b,0xdb,0x5c,0xd0,0x67,0x71,0x6d,0x8a,0xc3,0x3c,
157    0x67,0xba,0xb8,0x2d,0x05,0x7d,0x16,0xb7,0x5d,0x71,0x77,0xd5,0xc5,0xfd,0xa6,0xa0,
158    0xcf,0x34,0xdd,0x5e,0x70,0x2e,0x9b,0x1d,0xb6,0xab,0x20,0xbe,0xc5,0x61,0xbb,0x0b,
159    0xe2,0xe8,0x6f,0xda,0xdf,0x53,0x10,0xf7,0xda,0x9f,0x5b,0x50,0xfb,0x43,0x9d,0xf6,
160    0xef,0x2d,0x88,0x9b,0xf6,0x1f,0x2c,0x88,0x79,0xed,0xff,0x5e,0xda,0x6f,0x73,0xbf,
161    0x85,0x3c,0x5f,0x10,0x87,0xf6,0xd1,0x46,0xbf,0x3d,0x4e,0xfb,0xf3,0xa4,0x11,0xcf,
162    0xf7,0x7e,0xad,0x1b,0xbe,0x66,0x7d,0x13,0xef,0x57,0x3f,0x68,0xd6,0xb4,0x36,0xbf,
163    0x28,0xb5,0xdf,0x25,0xed,0x63,0x2f,0xa1,0xd1,0xc3,0x4e,0xfb,0xf0,0x1d,0x8a,0xe5,
164    0xb0,0xb4,0x7e,0xa8,0x4e,0xfb,0x87,0xaf,0xa1,0xfd,0x4e,0x69,0xdf,0xfe,0xbe,0x3b,
165    0xe2,0xb4,0x0f,0x5f,0x57,0x2c,0x47,0x34,0x9f,0x2e,0xb7,0x77,0x49,0x95,0x6b,0xc0,
166    0xfc,0xed,0xb7,0x21,0xf0,0x5d,0xa9,0xd2,0x67,0x71,0x41,0x71,0x7b,0x93,0xbe,0x71,
167    0x59,0x95,0x3e,0x8b,0x1b,0xa8,0xb8,0x1d,0x75,0x71,0xcd,0x55,0xfa,0x2c,0x6e,0xa8,
168    0xe2,0xda,0xeb,0xe2,0x5a,0xaa,0xf4,0x99,0x16,0x46,0x56,0x39,0x97,0xcc,0x61,0x37,
169    0x54,0x89,0x37,0x3b,0xac,0xb5,0x4a,0x1c,0xfd,0x4d,0x33,0xa3,0xab,0xc4,0xb3,0x4a,
170    0xa9,0x8f,0xbf,0x4b,0x33,0xa6,0x85,0x31,0x55,0x6a,0x61,0x48,0xad,0xd4,0xc2,0xcd,
171    0x55,0xe2,0xd0,0x02,0xda,0xe8,0x83,0x5c,0xd8,0x0b,0xe3,0xf0,0x48,0xd1,0x77,0x6f,
172    0xba,0xdd,0xb7,0xdf,0x6d,0x29,0xf7,0xf8,0x5d,0xed,0xc5,0x94,0xb4,0xdc,0x0b,0xf8,
173    0x26,0xe3,0xf7,0x05,0xfd,0xf6,0x8a,0x36,0xf2,0xdc,0x21,0x1b,0x78,0x7f,0xdf,0xfd,
174    0xe6,0x47,0xfd,0x51,0x52,0x49,0xbe,0x10,0xcb,0xff,0x01,0x0c,0xda,0xcf,0xff,0x50,
175    0x1d,0x00,0x00
176};
177
178// Generated from:
179//
180// #version 450 core
181//
182// #extension GL_GOOGLE_include_directive : require
183// #extension GL_EXT_samplerless_texture_functions : require
184//
185// layout(local_size_x = 256, local_size_y = 1, local_size_z = 1)in;
186//
187// layout(set = 0, binding = 0, rgba32f)uniform coherent image2D dst[6];
188// layout(set = 0, binding = 1)uniform sampler2D src;
189//
190// layout(push_constant)uniform PushConstants {
191//
192//     vec2 invSrcExtent;
193//
194//     uint levelCount;
195// } params;
196//
197// #line 1 "shaders/src/third_party/ffx_spd/ffx_a.h"
198//
199//    float AF1_x(float a){ return float(a);}
200//    vec2 AF2_x(float a){ return vec2(a, a);}
201//    vec3 AF3_x(float a){ return vec3(a, a, a);}
202//    vec4 AF4_x(float a){ return vec4(a, a, a, a);}
203//
204//    uint AU1_x(uint a){ return uint(a);}
205//    uvec2 AU2_x(uint a){ return uvec2(a, a);}
206//    uvec3 AU3_x(uint a){ return uvec3(a, a, a);}
207//    uvec4 AU4_x(uint a){ return uvec4(a, a, a, a);}
208//
209//    uint AAbsSU1(uint a){ return uint(abs(int(a)));}
210//    uvec2 AAbsSU2(uvec2 a){ return uvec2(abs(ivec2(a)));}
211//    uvec3 AAbsSU3(uvec3 a){ return uvec3(abs(ivec3(a)));}
212//    uvec4 AAbsSU4(uvec4 a){ return uvec4(abs(ivec4(a)));}
213//
214//    uint ABfe(uint src, uint off, uint bits){ return bitfieldExtract(src, int(off), int(bits));}
215//    uint ABfi(uint src, uint ins, uint mask){ return(ins & mask)|(src &(~ mask));}
216//
217//    uint ABfiM(uint src, uint ins, uint bits){ return bitfieldInsert(src, ins, 0, int(bits));}
218//
219//    float AFractF1(float x){ return fract(x);}
220//    vec2 AFractF2(vec2 x){ return fract(x);}
221//    vec3 AFractF3(vec3 x){ return fract(x);}
222//    vec4 AFractF4(vec4 x){ return fract(x);}
223//
224//    float ALerpF1(float x, float y, float a){ return mix(x, y, a);}
225//    vec2 ALerpF2(vec2 x, vec2 y, vec2 a){ return mix(x, y, a);}
226//    vec3 ALerpF3(vec3 x, vec3 y, vec3 a){ return mix(x, y, a);}
227//    vec4 ALerpF4(vec4 x, vec4 y, vec4 a){ return mix(x, y, a);}
228//
229//    float AMax3F1(float x, float y, float z){ return max(x, max(y, z));}
230//    vec2 AMax3F2(vec2 x, vec2 y, vec2 z){ return max(x, max(y, z));}
231//    vec3 AMax3F3(vec3 x, vec3 y, vec3 z){ return max(x, max(y, z));}
232//    vec4 AMax3F4(vec4 x, vec4 y, vec4 z){ return max(x, max(y, z));}
233//
234//    uint AMax3SU1(uint x, uint y, uint z){ return uint(max(int(x), max(int(y), int(z))));}
235//    uvec2 AMax3SU2(uvec2 x, uvec2 y, uvec2 z){ return uvec2(max(ivec2(x), max(ivec2(y), ivec2(z))));}
236//    uvec3 AMax3SU3(uvec3 x, uvec3 y, uvec3 z){ return uvec3(max(ivec3(x), max(ivec3(y), ivec3(z))));}
237//    uvec4 AMax3SU4(uvec4 x, uvec4 y, uvec4 z){ return uvec4(max(ivec4(x), max(ivec4(y), ivec4(z))));}
238//
239//    uint AMax3U1(uint x, uint y, uint z){ return max(x, max(y, z));}
240//    uvec2 AMax3U2(uvec2 x, uvec2 y, uvec2 z){ return max(x, max(y, z));}
241//    uvec3 AMax3U3(uvec3 x, uvec3 y, uvec3 z){ return max(x, max(y, z));}
242//    uvec4 AMax3U4(uvec4 x, uvec4 y, uvec4 z){ return max(x, max(y, z));}
243//
244//    uint AMaxSU1(uint a, uint b){ return uint(max(int(a), int(b)));}
245//    uvec2 AMaxSU2(uvec2 a, uvec2 b){ return uvec2(max(ivec2(a), ivec2(b)));}
246//    uvec3 AMaxSU3(uvec3 a, uvec3 b){ return uvec3(max(ivec3(a), ivec3(b)));}
247//    uvec4 AMaxSU4(uvec4 a, uvec4 b){ return uvec4(max(ivec4(a), ivec4(b)));}
248//
249//    float AMed3F1(float x, float y, float z){ return max(min(x, y), min(max(x, y), z));}
250//    vec2 AMed3F2(vec2 x, vec2 y, vec2 z){ return max(min(x, y), min(max(x, y), z));}
251//    vec3 AMed3F3(vec3 x, vec3 y, vec3 z){ return max(min(x, y), min(max(x, y), z));}
252//    vec4 AMed3F4(vec4 x, vec4 y, vec4 z){ return max(min(x, y), min(max(x, y), z));}
253//
254//    float AMin3F1(float x, float y, float z){ return min(x, min(y, z));}
255//    vec2 AMin3F2(vec2 x, vec2 y, vec2 z){ return min(x, min(y, z));}
256//    vec3 AMin3F3(vec3 x, vec3 y, vec3 z){ return min(x, min(y, z));}
257//    vec4 AMin3F4(vec4 x, vec4 y, vec4 z){ return min(x, min(y, z));}
258//
259//    uint AMin3SU1(uint x, uint y, uint z){ return uint(min(int(x), min(int(y), int(z))));}
260//    uvec2 AMin3SU2(uvec2 x, uvec2 y, uvec2 z){ return uvec2(min(ivec2(x), min(ivec2(y), ivec2(z))));}
261//    uvec3 AMin3SU3(uvec3 x, uvec3 y, uvec3 z){ return uvec3(min(ivec3(x), min(ivec3(y), ivec3(z))));}
262//    uvec4 AMin3SU4(uvec4 x, uvec4 y, uvec4 z){ return uvec4(min(ivec4(x), min(ivec4(y), ivec4(z))));}
263//
264//    uint AMin3U1(uint x, uint y, uint z){ return min(x, min(y, z));}
265//    uvec2 AMin3U2(uvec2 x, uvec2 y, uvec2 z){ return min(x, min(y, z));}
266//    uvec3 AMin3U3(uvec3 x, uvec3 y, uvec3 z){ return min(x, min(y, z));}
267//    uvec4 AMin3U4(uvec4 x, uvec4 y, uvec4 z){ return min(x, min(y, z));}
268//
269//    uint AMinSU1(uint a, uint b){ return uint(min(int(a), int(b)));}
270//    uvec2 AMinSU2(uvec2 a, uvec2 b){ return uvec2(min(ivec2(a), ivec2(b)));}
271//    uvec3 AMinSU3(uvec3 a, uvec3 b){ return uvec3(min(ivec3(a), ivec3(b)));}
272//    uvec4 AMinSU4(uvec4 a, uvec4 b){ return uvec4(min(ivec4(a), ivec4(b)));}
273//
274//    float ANCosF1(float x){ return cos(x * AF1_x(float(6.28318530718)));}
275//    vec2 ANCosF2(vec2 x){ return cos(x * AF2_x(float(6.28318530718)));}
276//    vec3 ANCosF3(vec3 x){ return cos(x * AF3_x(float(6.28318530718)));}
277//    vec4 ANCosF4(vec4 x){ return cos(x * AF4_x(float(6.28318530718)));}
278//
279//    float ANSinF1(float x){ return sin(x * AF1_x(float(6.28318530718)));}
280//    vec2 ANSinF2(vec2 x){ return sin(x * AF2_x(float(6.28318530718)));}
281//    vec3 ANSinF3(vec3 x){ return sin(x * AF3_x(float(6.28318530718)));}
282//    vec4 ANSinF4(vec4 x){ return sin(x * AF4_x(float(6.28318530718)));}
283//
284//    float ARcpF1(float x){ return AF1_x(float(1.0))/ x;}
285//    vec2 ARcpF2(vec2 x){ return AF2_x(float(1.0))/ x;}
286//    vec3 ARcpF3(vec3 x){ return AF3_x(float(1.0))/ x;}
287//    vec4 ARcpF4(vec4 x){ return AF4_x(float(1.0))/ x;}
288//
289//    float ARsqF1(float x){ return AF1_x(float(1.0))/ sqrt(x);}
290//    vec2 ARsqF2(vec2 x){ return AF2_x(float(1.0))/ sqrt(x);}
291//    vec3 ARsqF3(vec3 x){ return AF3_x(float(1.0))/ sqrt(x);}
292//    vec4 ARsqF4(vec4 x){ return AF4_x(float(1.0))/ sqrt(x);}
293//
294//    float ASatF1(float x){ return clamp(x, AF1_x(float(0.0)), AF1_x(float(1.0)));}
295//    vec2 ASatF2(vec2 x){ return clamp(x, AF2_x(float(0.0)), AF2_x(float(1.0)));}
296//    vec3 ASatF3(vec3 x){ return clamp(x, AF3_x(float(0.0)), AF3_x(float(1.0)));}
297//    vec4 ASatF4(vec4 x){ return clamp(x, AF4_x(float(0.0)), AF4_x(float(1.0)));}
298//
299//    uint AShrSU1(uint a, uint b){ return uint(int(a)>> int(b));}
300//    uvec2 AShrSU2(uvec2 a, uvec2 b){ return uvec2(ivec2(a)>> ivec2(b));}
301//    uvec3 AShrSU3(uvec3 a, uvec3 b){ return uvec3(ivec3(a)>> ivec3(b));}
302//    uvec4 AShrSU4(uvec4 a, uvec4 b){ return uvec4(ivec4(a)>> ivec4(b));}
303//
304//    float ACpySgnF1(float d, float s){ return uintBitsToFloat(uint(floatBitsToUint(float(d))|(floatBitsToUint(float(s))& AU1_x(uint(0x80000000u)))));}
305//    vec2 ACpySgnF2(vec2 d, vec2 s){ return uintBitsToFloat(uvec2(floatBitsToUint(vec2(d))|(floatBitsToUint(vec2(s))& AU2_x(uint(0x80000000u)))));}
306//    vec3 ACpySgnF3(vec3 d, vec3 s){ return uintBitsToFloat(uvec3(floatBitsToUint(vec3(d))|(floatBitsToUint(vec3(s))& AU3_x(uint(0x80000000u)))));}
307//    vec4 ACpySgnF4(vec4 d, vec4 s){ return uintBitsToFloat(uvec4(floatBitsToUint(vec4(d))|(floatBitsToUint(vec4(s))& AU4_x(uint(0x80000000u)))));}
308//
309//    float ASignedF1(float m){ return ASatF1(m * AF1_x(float(uintBitsToFloat(uint(0x7f800000u)))));}
310//    vec2 ASignedF2(vec2 m){ return ASatF2(m * AF2_x(float(uintBitsToFloat(uint(0x7f800000u)))));}
311//    vec3 ASignedF3(vec3 m){ return ASatF3(m * AF3_x(float(uintBitsToFloat(uint(0x7f800000u)))));}
312//    vec4 ASignedF4(vec4 m){ return ASatF4(m * AF4_x(float(uintBitsToFloat(uint(0x7f800000u)))));}
313//
314//    float APrxLoSqrtF1(float a){ return uintBitsToFloat(uint((floatBitsToUint(float(a))>> AU1_x(uint(1)))+ AU1_x(uint(0x1fbc4639))));}
315//    float APrxLoRcpF1(float a){ return uintBitsToFloat(uint(AU1_x(uint(0x7ef07ebb))- floatBitsToUint(float(a))));}
316//    float APrxMedRcpF1(float a){ float b = uintBitsToFloat(uint(AU1_x(uint(0x7ef19fff))- floatBitsToUint(float(a))));return b *(- b * a + AF1_x(float(2.0)));}
317//    float APrxLoRsqF1(float a){ return uintBitsToFloat(uint(AU1_x(uint(0x5f347d74))-(floatBitsToUint(float(a))>> AU1_x(uint(1)))));}
318//
319//    float APSinF1(float x){ return x * abs(x)- x;}
320//    float APCosF1(float x){ x = AFractF1(x * AF1_x(float(0.5))+ AF1_x(float(0.75)));x = x * AF1_x(float(2.0))- AF1_x(float(1.0));return APSinF1(x);}
321//
322//    float ATo709F1(float c){ return max(min(c * AF1_x(float(4.5)), AF1_x(float(0.018))), AF1_x(float(1.099))* pow(c, AF1_x(float(0.45)))- AF1_x(float(0.099)));}
323//
324//    float AToGammaF1(float c, float rcpX){ return pow(c, rcpX);}
325//
326//    float AToPqF1(float x){ float p = pow(x, AF1_x(float(0.159302)));
327//   return pow((AF1_x(float(0.835938))+ AF1_x(float(18.8516))* p)/(AF1_x(float(1.0))+ AF1_x(float(18.6875))* p), AF1_x(float(78.8438)));}
328//
329//    float AToSrgbF1(float c){ return max(min(c * AF1_x(float(12.92)), AF1_x(float(0.0031308))), AF1_x(float(1.055))* pow(c, AF1_x(float(0.41666)))- AF1_x(float(0.055)));}
330//
331//    float AToTwoF1(float c){ return sqrt(c);}
332//
333//    float AFrom709F1(float c){ return max(min(c * AF1_x(float(1.0 / 4.5)), AF1_x(float(0.081))),
334//   pow((c + AF1_x(float(0.099)))*(AF1_x(float(1.0))/(AF1_x(float(1.099)))), AF1_x(float(1.0 / 0.45))));}
335//
336//    float AFromGammaF1(float c, float x){ return pow(c, x);}
337//
338//    float AFromPqF1(float x){ float p = pow(x, AF1_x(float(0.0126833)));
339//   return pow(ASatF1(p - AF1_x(float(0.835938)))/(AF1_x(float(18.8516))- AF1_x(float(18.6875))* p), AF1_x(float(6.27739)));}
340//
341//    float AFromSrgbF1(float c){ return max(min(c * AF1_x(float(1.0 / 12.92)), AF1_x(float(0.04045))),
342//   pow((c + AF1_x(float(0.055)))*(AF1_x(float(1.0))/ AF1_x(float(1.055))), AF1_x(float(2.4))));}
343//
344//    float AFromTwoF1(float c){ return c * c;}
345//
346//    uvec2 ARmp8x8(uint a){ return uvec2(ABfe(a, 1u, 3u), ABfiM(ABfe(a, 3u, 3u), a, 1u));}
347//
348//    uvec2 ARmpRed8x8(uint a){ return uvec2(ABfiM(ABfe(a, 2u, 3u), a, 1u), ABfiM(ABfe(a, 3u, 3u), ABfe(a, 1u, 2u), 2u));}
349//
350//    vec2 opAAbsF2(out vec2 d, in vec2 a){ d = abs(a);return d;}
351//    vec3 opAAbsF3(out vec3 d, in vec3 a){ d = abs(a);return d;}
352//    vec4 opAAbsF4(out vec4 d, in vec4 a){ d = abs(a);return d;}
353//
354//    vec2 opAAddF2(out vec2 d, in vec2 a, in vec2 b){ d = a + b;return d;}
355//    vec3 opAAddF3(out vec3 d, in vec3 a, in vec3 b){ d = a + b;return d;}
356//    vec4 opAAddF4(out vec4 d, in vec4 a, in vec4 b){ d = a + b;return d;}
357//
358//    vec2 opACpyF2(out vec2 d, in vec2 a){ d = a;return d;}
359//    vec3 opACpyF3(out vec3 d, in vec3 a){ d = a;return d;}
360//    vec4 opACpyF4(out vec4 d, in vec4 a){ d = a;return d;}
361//
362//    vec2 opALerpF2(out vec2 d, in vec2 a, in vec2 b, in vec2 c){ d = ALerpF2(a, b, c);return d;}
363//    vec3 opALerpF3(out vec3 d, in vec3 a, in vec3 b, in vec3 c){ d = ALerpF3(a, b, c);return d;}
364//    vec4 opALerpF4(out vec4 d, in vec4 a, in vec4 b, in vec4 c){ d = ALerpF4(a, b, c);return d;}
365//
366//    vec2 opALerpOneF2(out vec2 d, in vec2 a, in vec2 b, float c){ d = ALerpF2(a, b, AF2_x(float(c)));return d;}
367//    vec3 opALerpOneF3(out vec3 d, in vec3 a, in vec3 b, float c){ d = ALerpF3(a, b, AF3_x(float(c)));return d;}
368//    vec4 opALerpOneF4(out vec4 d, in vec4 a, in vec4 b, float c){ d = ALerpF4(a, b, AF4_x(float(c)));return d;}
369//
370//    vec2 opAMaxF2(out vec2 d, in vec2 a, in vec2 b){ d = max(a, b);return d;}
371//    vec3 opAMaxF3(out vec3 d, in vec3 a, in vec3 b){ d = max(a, b);return d;}
372//    vec4 opAMaxF4(out vec4 d, in vec4 a, in vec4 b){ d = max(a, b);return d;}
373//
374//    vec2 opAMinF2(out vec2 d, in vec2 a, in vec2 b){ d = min(a, b);return d;}
375//    vec3 opAMinF3(out vec3 d, in vec3 a, in vec3 b){ d = min(a, b);return d;}
376//    vec4 opAMinF4(out vec4 d, in vec4 a, in vec4 b){ d = min(a, b);return d;}
377//
378//    vec2 opAMulF2(out vec2 d, in vec2 a, in vec2 b){ d = a * b;return d;}
379//    vec3 opAMulF3(out vec3 d, in vec3 a, in vec3 b){ d = a * b;return d;}
380//    vec4 opAMulF4(out vec4 d, in vec4 a, in vec4 b){ d = a * b;return d;}
381//
382//    vec2 opAMulOneF2(out vec2 d, in vec2 a, float b){ d = a * AF2_x(float(b));return d;}
383//    vec3 opAMulOneF3(out vec3 d, in vec3 a, float b){ d = a * AF3_x(float(b));return d;}
384//    vec4 opAMulOneF4(out vec4 d, in vec4 a, float b){ d = a * AF4_x(float(b));return d;}
385//
386//    vec2 opANegF2(out vec2 d, in vec2 a){ d = - a;return d;}
387//    vec3 opANegF3(out vec3 d, in vec3 a){ d = - a;return d;}
388//    vec4 opANegF4(out vec4 d, in vec4 a){ d = - a;return d;}
389//
390//    vec2 opARcpF2(out vec2 d, in vec2 a){ d = ARcpF2(a);return d;}
391//    vec3 opARcpF3(out vec3 d, in vec3 a){ d = ARcpF3(a);return d;}
392//    vec4 opARcpF4(out vec4 d, in vec4 a){ d = ARcpF4(a);return d;}
393//
394// #line 70 "shaders/src/GenerateMipmap.comp"
395//
396// shared vec4 spd_intermediate[16][16];
397//
398// shared uint spd_counter;
399//
400//   vec4 SpdLoadSourceImage(ivec2 p)
401// {
402//       vec2 textureCoord = p * params . invSrcExtent + params . invSrcExtent;
403//     return texture(src, textureCoord);
404// }
405//
406//   vec4 SpdLoad(ivec2 p)
407// {
408//     return vec4(0);
409// }
410//
411// void SpdStore(ivec2 p, vec4 value, uint mip)
412// {
413//     imageStore(dst[mip], p, value);
414// }
415//
416//   vec4 SpdLoadIntermediate(uint x, uint y)
417// {
418//     return spd_intermediate[x][y];
419// }
420// void SpdStoreIntermediate(uint x, uint y, vec4 value)
421// {
422//     spd_intermediate[x][y]= value;
423// }
424//
425//   vec4 SpdReduce4(vec4 v0, vec4 v1, vec4 v2, vec4 v3)
426// {
427//     return(v0 + v1 + v2 + v3)* 0.25;
428// }
429//
430// #line 1 "shaders/src/third_party/ffx_spd/ffx_spd.h"
431//
432// void SpdWorkgroupShuffleBarrier(){
433//
434//     barrier();
435//
436// }
437//
438// bool SpdExitWorkgroup(uint numWorkGroups, uint localInvocationIndex)
439// {
440//
441//     if(localInvocationIndex == 0)
442//     {
443//                                   ;
444//     }
445//     SpdWorkgroupShuffleBarrier();
446//     return(0 !=(numWorkGroups - 1));
447// }
448//
449//   vec4 SpdReduceQuad(vec4 v)
450// {
451//
452//     return AF4_x(0.0);
453// }
454//
455//   vec4 SpdReduceIntermediate(uvec2 i0, uvec2 i1, uvec2 i2, uvec2 i3)
456// {
457//       vec4 v0 = SpdLoadIntermediate(i0 . x, i0 . y);
458//       vec4 v1 = SpdLoadIntermediate(i1 . x, i1 . y);
459//       vec4 v2 = SpdLoadIntermediate(i2 . x, i2 . y);
460//       vec4 v3 = SpdLoadIntermediate(i3 . x, i3 . y);
461//     return SpdReduce4(v0, v1, v2, v3);
462// }
463//
464//   vec4 SpdReduceLoad4(uvec2 i0, uvec2 i1, uvec2 i2, uvec2 i3)
465// {
466//       vec4 v0 = SpdLoad(ivec2(i0));
467//       vec4 v1 = SpdLoad(ivec2(i1));
468//       vec4 v2 = SpdLoad(ivec2(i2));
469//       vec4 v3 = SpdLoad(ivec2(i3));
470//     return SpdReduce4(v0, v1, v2, v3);
471// }
472//
473//   vec4 SpdReduceLoad4(uvec2 base)
474// {
475//     return SpdReduceLoad4(
476//           uvec2(base + uvec2(0, 0)),
477//           uvec2(base + uvec2(0, 1)),
478//           uvec2(base + uvec2(1, 0)),
479//           uvec2(base + uvec2(1, 1)));
480// }
481//
482//   vec4 SpdReduceLoadSourceImage4(uvec2 i0, uvec2 i1, uvec2 i2, uvec2 i3)
483// {
484//       vec4 v0 = SpdLoadSourceImage(ivec2(i0));
485//       vec4 v1 = SpdLoadSourceImage(ivec2(i1));
486//       vec4 v2 = SpdLoadSourceImage(ivec2(i2));
487//       vec4 v3 = SpdLoadSourceImage(ivec2(i3));
488//     return SpdReduce4(v0, v1, v2, v3);
489// }
490//
491//   vec4 SpdReduceLoadSourceImage4(uvec2 base)
492// {
493//
494//     return SpdLoadSourceImage(ivec2(base));
495//
496// }
497//
498// void SpdDownsampleMips_0_1_Intrinsics(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
499// {
500//       vec4 v[4];
501//
502//        ivec2 tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2, y * 2);
503//        ivec2 pix = ivec2(workGroupID . xy * 32)+ ivec2(x, y);
504//     v[0]= SpdReduceLoadSourceImage4(tex);
505//     SpdStore(pix, v[0], 0);
506//
507//     tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2 + 32, y * 2);
508//     pix = ivec2(workGroupID . xy * 32)+ ivec2(x + 16, y);
509//     v[1]= SpdReduceLoadSourceImage4(tex);
510//     SpdStore(pix, v[1], 0);
511//
512//     tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2, y * 2 + 32);
513//     pix = ivec2(workGroupID . xy * 32)+ ivec2(x, y + 16);
514//     v[2]= SpdReduceLoadSourceImage4(tex);
515//     SpdStore(pix, v[2], 0);
516//
517//     tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2 + 32, y * 2 + 32);
518//     pix = ivec2(workGroupID . xy * 32)+ ivec2(x + 16, y + 16);
519//     v[3]= SpdReduceLoadSourceImage4(tex);
520//     SpdStore(pix, v[3], 0);
521//
522//     if(mip <= 1)
523//         return;
524//
525//     v[0]= SpdReduceQuad(v[0]);
526//     v[1]= SpdReduceQuad(v[1]);
527//     v[2]= SpdReduceQuad(v[2]);
528//     v[3]= SpdReduceQuad(v[3]);
529//
530//     if((localInvocationIndex % 4)== 0)
531//     {
532//         SpdStore(ivec2(workGroupID . xy * 16)+
533//                ivec2(x / 2, y / 2), v[0], 1);
534//         SpdStoreIntermediate(
535//             x / 2, y / 2, v[0]);
536//
537//         SpdStore(ivec2(workGroupID . xy * 16)+
538//                ivec2(x / 2 + 8, y / 2), v[1], 1);
539//         SpdStoreIntermediate(
540//             x / 2 + 8, y / 2, v[1]);
541//
542//         SpdStore(ivec2(workGroupID . xy * 16)+
543//                ivec2(x / 2, y / 2 + 8), v[2], 1);
544//         SpdStoreIntermediate(
545//             x / 2, y / 2 + 8, v[2]);
546//
547//         SpdStore(ivec2(workGroupID . xy * 16)+
548//                ivec2(x / 2 + 8, y / 2 + 8), v[3], 1);
549//         SpdStoreIntermediate(
550//             x / 2 + 8, y / 2 + 8, v[3]);
551//     }
552// }
553//
554// void SpdDownsampleMips_0_1_LDS(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
555// {
556//       vec4 v[4];
557//
558//        ivec2 tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2, y * 2);
559//        ivec2 pix = ivec2(workGroupID . xy * 32)+ ivec2(x, y);
560//     v[0]= SpdReduceLoadSourceImage4(tex);
561//     SpdStore(pix, v[0], 0);
562//
563//     tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2 + 32, y * 2);
564//     pix = ivec2(workGroupID . xy * 32)+ ivec2(x + 16, y);
565//     v[1]= SpdReduceLoadSourceImage4(tex);
566//     SpdStore(pix, v[1], 0);
567//
568//     tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2, y * 2 + 32);
569//     pix = ivec2(workGroupID . xy * 32)+ ivec2(x, y + 16);
570//     v[2]= SpdReduceLoadSourceImage4(tex);
571//     SpdStore(pix, v[2], 0);
572//
573//     tex = ivec2(workGroupID . xy * 64)+ ivec2(x * 2 + 32, y * 2 + 32);
574//     pix = ivec2(workGroupID . xy * 32)+ ivec2(x + 16, y + 16);
575//     v[3]= SpdReduceLoadSourceImage4(tex);
576//     SpdStore(pix, v[3], 0);
577//
578//     if(mip <= 1)
579//         return;
580//
581//     for(int i = 0;i < 4;i ++)
582//     {
583//         SpdStoreIntermediate(x, y, v[i]);
584//         SpdWorkgroupShuffleBarrier();
585//         if(localInvocationIndex < 64)
586//         {
587//             v[i]= SpdReduceIntermediate(
588//                   uvec2(x * 2 + 0, y * 2 + 0),
589//                   uvec2(x * 2 + 1, y * 2 + 0),
590//                   uvec2(x * 2 + 0, y * 2 + 1),
591//                   uvec2(x * 2 + 1, y * 2 + 1)
592//             );
593//             SpdStore(ivec2(workGroupID . xy * 16)+ ivec2(x +(i % 2)* 8, y +(i / 2)* 8), v[i], 1);
594//         }
595//         SpdWorkgroupShuffleBarrier();
596//     }
597//
598//     if(localInvocationIndex < 64)
599//     {
600//         SpdStoreIntermediate(x + 0, y + 0, v[0]);
601//         SpdStoreIntermediate(x + 8, y + 0, v[1]);
602//         SpdStoreIntermediate(x + 0, y + 8, v[2]);
603//         SpdStoreIntermediate(x + 8, y + 8, v[3]);
604//     }
605// }
606//
607// void SpdDownsampleMips_0_1(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
608// {
609//
610//     SpdDownsampleMips_0_1_LDS(x, y, workGroupID, localInvocationIndex, mip);
611//
612// }
613//
614// void SpdDownsampleMip_2(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
615// {
616//
617//     if(localInvocationIndex < 64)
618//     {
619//           vec4 v = SpdReduceIntermediate(
620//               uvec2(x * 2 + 0 + 0, y * 2 + 0),
621//               uvec2(x * 2 + 0 + 1, y * 2 + 0),
622//               uvec2(x * 2 + 0 + 0, y * 2 + 1),
623//               uvec2(x * 2 + 0 + 1, y * 2 + 1)
624//         );
625//         SpdStore(ivec2(workGroupID . xy * 8)+ ivec2(x, y), v, mip);
626//
627//         SpdStoreIntermediate(x * 2 + y % 2, y * 2, v);
628//     }
629//
630// }
631//
632// void SpdDownsampleMip_3(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
633// {
634//
635//     if(localInvocationIndex < 16)
636//     {
637//
638//           vec4 v = SpdReduceIntermediate(
639//               uvec2(x * 4 + 0 + 0, y * 4 + 0),
640//               uvec2(x * 4 + 2 + 0, y * 4 + 0),
641//               uvec2(x * 4 + 0 + 1, y * 4 + 2),
642//               uvec2(x * 4 + 2 + 1, y * 4 + 2)
643//         );
644//         SpdStore(ivec2(workGroupID . xy * 4)+ ivec2(x, y), v, mip);
645//
646//         SpdStoreIntermediate(x * 4 + y, y * 4, v);
647//     }
648//
649// }
650//
651// void SpdDownsampleMip_4(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
652// {
653//
654//     if(localInvocationIndex < 4)
655//     {
656//
657//           vec4 v = SpdReduceIntermediate(
658//               uvec2(x * 8 + 0 + 0 + y * 2, y * 8 + 0),
659//               uvec2(x * 8 + 4 + 0 + y * 2, y * 8 + 0),
660//               uvec2(x * 8 + 0 + 1 + y * 2, y * 8 + 4),
661//               uvec2(x * 8 + 4 + 1 + y * 2, y * 8 + 4)
662//         );
663//         SpdStore(ivec2(workGroupID . xy * 2)+ ivec2(x, y), v, mip);
664//
665//         SpdStoreIntermediate(x + y * 2, 0, v);
666//     }
667//
668// }
669//
670// void SpdDownsampleMip_5(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint mip)
671// {
672//
673//     if(localInvocationIndex < 1)
674//     {
675//
676//           vec4 v = SpdReduceIntermediate(
677//               uvec2(0, 0),
678//               uvec2(1, 0),
679//               uvec2(2, 0),
680//               uvec2(3, 0)
681//         );
682//         SpdStore(ivec2(workGroupID . xy), v, mip);
683//     }
684//
685// }
686//
687// void SpdDownsampleMips_6_7(uint x, uint y, uint mips)
688// {
689//        ivec2 tex = ivec2(x * 4 + 0, y * 4 + 0);
690//        ivec2 pix = ivec2(x * 2 + 0, y * 2 + 0);
691//       vec4 v0 = SpdReduceLoad4(tex);
692//     SpdStore(pix, v0, 6);
693//
694//     tex = ivec2(x * 4 + 2, y * 4 + 0);
695//     pix = ivec2(x * 2 + 1, y * 2 + 0);
696//       vec4 v1 = SpdReduceLoad4(tex);
697//     SpdStore(pix, v1, 6);
698//
699//     tex = ivec2(x * 4 + 0, y * 4 + 2);
700//     pix = ivec2(x * 2 + 0, y * 2 + 1);
701//       vec4 v2 = SpdReduceLoad4(tex);
702//     SpdStore(pix, v2, 6);
703//
704//     tex = ivec2(x * 4 + 2, y * 4 + 2);
705//     pix = ivec2(x * 2 + 1, y * 2 + 1);
706//       vec4 v3 = SpdReduceLoad4(tex);
707//     SpdStore(pix, v3, 6);
708//
709//     if(mips <= 7)return;
710//
711//       vec4 v = SpdReduce4(v0, v1, v2, v3);
712//     SpdStore(ivec2(x, y), v, 7);
713//     SpdStoreIntermediate(x, y, v);
714// }
715//
716// void SpdDownsampleNextFour(uint x, uint y, uvec2 workGroupID, uint localInvocationIndex, uint baseMip, uint mips)
717// {
718//     if(mips <= baseMip)return;
719//     SpdWorkgroupShuffleBarrier();
720//     SpdDownsampleMip_2(x, y, workGroupID, localInvocationIndex, baseMip);
721//
722//     if(mips <= baseMip + 1)return;
723//     SpdWorkgroupShuffleBarrier();
724//     SpdDownsampleMip_3(x, y, workGroupID, localInvocationIndex, baseMip + 1);
725//
726//     if(mips <= baseMip + 2)return;
727//     SpdWorkgroupShuffleBarrier();
728//     SpdDownsampleMip_4(x, y, workGroupID, localInvocationIndex, baseMip + 2);
729//
730//     if(mips <= baseMip + 3)return;
731//     SpdWorkgroupShuffleBarrier();
732//     SpdDownsampleMip_5(x, y, workGroupID, localInvocationIndex, baseMip + 3);
733// }
734//
735// void SpdDownsample(
736//       uvec2 workGroupID,
737//       uint localInvocationIndex,
738//       uint mips,
739//       uint numWorkGroups
740// ){
741//       uvec2 sub_xy = ARmpRed8x8(localInvocationIndex % 64);
742//       uint x = sub_xy . x + 8 *((localInvocationIndex >> 6)% 2);
743//       uint y = sub_xy . y + 8 *((localInvocationIndex >> 7));
744//     SpdDownsampleMips_0_1(x, y, workGroupID, localInvocationIndex, mips);
745//
746//     SpdDownsampleNextFour(x, y, workGroupID, localInvocationIndex, 2, mips);
747//
748//     if(mips <= 6)return;
749//
750//     if(SpdExitWorkgroup(numWorkGroups, localInvocationIndex))return;
751//
752//     SpdDownsampleMips_6_7(x, y, mips);
753//
754//     SpdDownsampleNextFour(x, y, uvec2(0, 0), localInvocationIndex, 8, mips);
755// }
756//
757// #line 177 "shaders/src/GenerateMipmap.comp"
758//
759// void main()
760// {
761//
762//     SpdDownsample(gl_WorkGroupID . xy, gl_LocalInvocationIndex, params . levelCount, 0);
763//
764// }
765