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/ConvertVertex.comp.00000007.inc:
9//   Pre-generated shader for the ANGLE Vulkan back-end.
10
11#pragma once
12constexpr uint8_t kConvertVertex_comp_00000007[] = {
13    0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x9d,0x98,0x79,0x94,0x8f,0x65,
14    0x14,0xc7,0xdf,0xe7,0x37,0x63,0x66,0x8c,0x75,0x0c,0x63,0x1b,0x63,0xa6,0x09,0x63,
15    0x09,0x49,0x65,0x49,0x07,0x89,0x94,0x54,0x84,0x93,0x16,0x64,0x5a,0x28,0xa5,0xbd,
16    0x24,0x09,0x89,0x2c,0xa9,0x2c,0x45,0x85,0x22,0x59,0x2a,0xa1,0x7d,0x3d,0x25,0x15,
17    0xd2,0xa6,0x45,0x5a,0xce,0x21,0xd1,0xa6,0x5d,0x52,0xe8,0xb9,0xef,0xfb,0xb9,0xcd,
18    0xf5,0x34,0x7f,0xf5,0x3b,0xe7,0x3d,0xbf,0xf7,0x7e,0xef,0xfa,0x7c,0x9f,0xfb,0x2c,
19    0xbf,0x5f,0x5a,0xaa,0x38,0x33,0x8a,0x5c,0x94,0x1d,0x65,0x45,0xcd,0x5d,0x14,0x7f,
20    0x72,0xa2,0x54,0x24,0xaf,0x95,0xa2,0x8c,0xf8,0xbb,0x47,0xaf,0xbe,0xbd,0x5a,0x5e,
21    0x75,0x75,0x69,0xcb,0xb6,0x47,0xb7,0x16,0x7d,0xd5,0x28,0x2d,0xb6,0x13,0x5d,0x35,
22    0x6f,0x53,0xc1,0x7f,0xa7,0xfb,0x67,0xc4,0x90,0x61,0x97,0x09,0xbe,0xcb,0x3f,0xd5,
23    0x3d,0x9e,0x1e,0xc7,0x8a,0xa2,0xce,0xd8,0xca,0x73,0x92,0xb7,0x6e,0x94,0xa4,0x89,
24    0x8a,0xf9,0x56,0xcc,0x81,0xa5,0x1b,0x2c,0x05,0x96,0x65,0xb0,0x34,0xb0,0xca,0x06,
25    0x4b,0x07,0xab,0x6e,0xb0,0x0a,0x60,0x35,0x0d,0x96,0x01,0x56,0xc7,0x60,0x99,0x60,
26    0xf9,0x06,0xcb,0x02,0x2b,0x34,0x58,0x45,0xb0,0xc3,0x0d,0x96,0x0d,0x56,0x62,0xb0,
27    0x4a,0x60,0x2d,0x0c,0x56,0x19,0xac,0xb5,0xc1,0xaa,0x80,0xb5,0x35,0x58,0x55,0xb0,
28    0x76,0xc2,0xbb,0x1f,0xa9,0x72,0xd0,0xc3,0x8f,0x70,0x30,0xf5,0x2b,0x3f,0x43,0x02,
29    0x1e,0xc5,0x7e,0x08,0xfc,0x88,0xfd,0x50,0xff,0x7d,0xd8,0xbf,0xba,0x44,0x2e,0x82,
30    0x67,0x91,0xb7,0x05,0xf1,0xb6,0x97,0x13,0x6f,0xbb,0x89,0xb7,0x23,0x88,0xb7,0x83,
31    0x78,0x2a,0xef,0x62,0xec,0xf9,0xc8,0xcd,0x5c,0x22,0xd7,0xf5,0x4f,0xae,0x1f,0x45,
32    0x2a,0xb6,0x4f,0x8b,0xe3,0xc9,0x7b,0x2d,0x6f,0x93,0x01,0xc7,0x51,0xfc,0x9d,0x1e,
33    0xcf,0x45,0x26,0x75,0x15,0xf9,0x9a,0xb2,0x78,0x57,0x3c,0xcf,0x7b,0xe7,0xe0,0x53,
34    0xe4,0xed,0x6b,0xd0,0x63,0x99,0xf8,0xe7,0xf1,0x9e,0x83,0xbe,0x36,0xef,0x79,0xc4,
35    0xab,0x6f,0xe2,0xe5,0x61,0x53,0x48,0x3d,0x82,0x15,0x78,0x6b,0xed,0x93,0xff,0xfb,
36    0x48,0x1d,0x8d,0xe9,0x17,0x89,0xd5,0x11,0xb9,0x09,0x98,0x8c,0xbb,0x84,0x31,0xc8,
37    0x5c,0x34,0x47,0x6e,0x6a,0xfc,0x9b,0x61,0x9b,0x81,0x5e,0xbe,0x5b,0x31,0x57,0x6a,
38    0xdf,0x86,0xba,0x55,0xdf,0x91,0xbe,0x55,0x7d,0xd7,0x40,0xee,0x85,0x7f,0x4d,0xef,
39    0x75,0x9a,0xf1,0xeb,0xc3,0x1c,0x8b,0x2c,0x5c,0x0d,0x60,0x3e,0x1a,0x78,0x54,0x7b,
40    0xae,0x80,0xde,0x1a,0x4c,0x7d,0xe7,0x93,0x7b,0x08,0xe3,0x13,0x79,0xa8,0xa9,0x47,
41    0xf2,0x95,0x9a,0x79,0xbd,0x08,0x5d,0x86,0xd1,0x0f,0x67,0x0d,0x68,0x1d,0x23,0xb0,
42    0x57,0xfd,0xd5,0xac,0x2f,0x95,0x47,0x99,0x3a,0x45,0xbe,0xd1,0x3f,0x07,0xd3,0xca,
43    0xe4,0x31,0xac,0x1f,0x8d,0x77,0xab,0xf1,0x17,0x79,0x46,0xc0,0xd7,0x3c,0xe6,0x40,
44    0xea,0x7b,0x80,0xf9,0x2f,0x31,0xf1,0x1f,0x94,0xf8,0xfe,0xa3,0xf2,0xa2,0x60,0xbe,
45    0xd6,0xb0,0xae,0x55,0x5e,0xc7,0x9c,0x69,0xfc,0x4d,0x81,0xfd,0x7b,0xec,0x4f,0xb5,
46    0xbd,0xfc,0x11,0x7d,0x99,0x82,0xe7,0x6d,0x86,0x67,0x59,0x73,0xdb,0xa8,0xeb,0x2b,
47    0x6c,0xb6,0xc3,0xb3,0xc8,0x3b,0xc0,0x24,0xce,0xd7,0xf8,0xa5,0x61,0xbf,0x93,0x9c,
48    0x5f,0x63,0xbf,0x93,0xfd,0xd8,0xa1,0xff,0x86,0x77,0x3b,0x0f,0x29,0xd6,0xa9,0xd6,
49    0xdd,0xd4,0x25,0x7b,0x76,0x0b,0x2f,0x49,0x1c,0x59,0xc7,0x82,0x6d,0x62,0x4c,0xc7,
50    0xf8,0x75,0x94,0xa2,0x97,0x22,0x72,0xef,0xf5,0x48,0x05,0x72,0x0a,0x8f,0xfb,0xe0,
51    0x53,0xe5,0xbf,0x02,0x39,0xc3,0x95,0xc9,0xb2,0x0e,0x6b,0xb9,0x43,0xf5,0x79,0x81,
52    0xbe,0x6e,0x20,0xd7,0x0b,0xec,0x1b,0x04,0xfa,0x86,0x81,0xbe,0x31,0x72,0x17,0x5f,
53    0xa5,0x70,0xf0,0x0b,0xbc,0x48,0xcf,0x75,0x62,0xdc,0xbf,0x82,0x8b,0x8d,0xac,0xbf,
54    0xdf,0x58,0xb3,0xa5,0xc6,0xe6,0x77,0xf0,0xc7,0xbc,0x8d,0xac,0xa1,0x3d,0xf8,0x09,
55    0xfe,0x87,0x67,0x62,0x2f,0x9c,0xec,0xf3,0xf6,0x7b,0x62,0x2c,0x8a,0x31,0xe1,0x47,
56    0xde,0xf7,0x7b,0xf6,0xe5,0x5d,0xb0,0xe3,0xbd,0xfd,0x3e,0x6a,0x90,0xf7,0xbf,0x78,
57    0xff,0xd3,0xeb,0xff,0xc6,0xe7,0xef,0x38,0x47,0x7a,0x74,0x40,0x7a,0x91,0xd8,0xa2,
58    0x97,0x49,0xdc,0xcb,0xb7,0xd6,0xe6,0x5c,0xc2,0xb3,0xd6,0x9f,0xe6,0x92,0xfa,0x53,
59    0xc6,0x26,0xdd,0x25,0xf8,0x4a,0xea,0xaf,0xe0,0x12,0x3f,0xc1,0xa5,0x66,0x91,0xf7,
60    0x7b,0xfc,0x00,0xf9,0xf7,0x1b,0xce,0x32,0xdd,0x7f,0x39,0xcb,0x72,0x09,0xae,0x39,
61    0x2b,0x96,0x93,0x33,0xdb,0x25,0xf8,0x04,0x6f,0x23,0x72,0x25,0x97,0xf8,0x65,0x1b,
62    0x9b,0xca,0xd4,0x3e,0x16,0x9b,0x2a,0x2e,0xb1,0x13,0x5c,0xb8,0x91,0x7e,0xa9,0x62,
63    0xec,0xab,0xba,0xa4,0x87,0x34,0x6f,0x35,0xf2,0x2e,0x32,0xb5,0x55,0x77,0x09,0xae,
64    0x73,0x95,0xe3,0x12,0x3f,0xc1,0x65,0xae,0x72,0x5d,0xd9,0x5c,0x89,0xae,0x86,0x7f,
65    0x72,0xe1,0x55,0xde,0x85,0x67,0xe5,0x21,0xd7,0xe4,0xae,0x4d,0x6e,0xa9,0x4b,0xfa,
66    0x54,0xe4,0xf6,0x3e,0x87,0xac,0xe7,0x3a,0x2e,0xb9,0x6f,0xe4,0xa1,0x97,0xbe,0xae,
67    0x83,0xaf,0xe8,0xeb,0xbb,0xa4,0xd7,0x45,0x27,0x3d,0x5c,0xdf,0xf8,0xe6,0xbb,0xe4,
68    0xac,0xac,0x87,0x5e,0x7a,0x3e,0xdf,0xe4,0x2d,0x30,0x79,0xa5,0xdf,0x0b,0x4c,0xdc,
69    0x42,0x97,0xac,0x11,0xd1,0x49,0xef,0x17,0xc6,0x71,0x33,0x92,0x73,0x54,0x6c,0x59,
70    0x23,0x0d,0x4d,0xbc,0xc3,0x5c,0xb2,0x4e,0x5f,0x87,0xf3,0x62,0x97,0x60,0x45,0xae,
71    0xac,0x37,0x8b,0xe1,0xe1,0x20,0x3c,0x1c,0x34,0xfc,0x1e,0x1e,0xcc,0x59,0x23,0x97,
72    0x60,0x8b,0x4c,0x3f,0x37,0x72,0x87,0xf6,0xf3,0x01,0xe3,0xdf,0x84,0xfc,0x62,0x2b,
73    0xeb,0xb3,0x09,0x5c,0xc8,0xde,0x52,0xe2,0x92,0xbb,0x46,0x63,0x97,0xac,0x99,0x76,
74    0xfe,0x39,0x46,0xfb,0x87,0x75,0x20,0x67,0xdb,0xb1,0xde,0x37,0x93,0x7d,0x57,0xdf,
75    0xb3,0xc9,0x55,0xd9,0xd6,0x8a,0x8d,0xf6,0x4b,0x73,0xd6,0x76,0x53,0x63,0xd3,0x02,
76    0x5c,0xfb,0xf4,0x08,0xfc,0x5a,0x18,0x9b,0x96,0xc4,0x57,0x9b,0xd6,0x60,0xad,0x0c,
77    0x0f,0x47,0xe2,0xdb,0xda,0xe4,0x3b,0x8a,0x7c,0x6d,0x4c,0xac,0xb6,0xe0,0xea,0x77,
78    0x34,0xbe,0x6d,0xe3,0xf5,0x97,0x8a,0x65,0x3b,0xee,0x6a,0xe5,0x8c,0xbb,0x8a,0x79,
79    0xaf,0xca,0xb8,0xab,0x9b,0x7d,0xaf,0x1d,0xfb,0xae,0xe6,0x6c,0x8f,0xcf,0x64,0x62,
80    0x76,0x00,0x6b,0x65,0xc6,0x74,0x1c,0x78,0x47,0xe6,0xa6,0x1d,0x98,0xc6,0xe8,0x44,
81    0x5c,0xa9,0xb1,0x93,0xa9,0x31,0x87,0xbb,0xb6,0x7c,0x6a,0x98,0xba,0x72,0xa9,0xab,
82    0x96,0xa9,0xab,0x73,0x70,0x1e,0x74,0x0f,0xe4,0xb3,0x02,0x79,0x60,0x20,0x9f,0x13,
83    0xc8,0x83,0x02,0xf9,0x8a,0x40,0xbe,0x2e,0x90,0x27,0x04,0xf2,0x94,0x40,0x9e,0x13,
84    0xc8,0xf7,0x1a,0x59,0xee,0x0a,0xf3,0x03,0xfd,0xea,0xe8,0xd0,0xf3,0xe7,0xc5,0x80,
85    0xf7,0x2e,0xf0,0xa0,0xfd,0x70,0x02,0xfd,0xd0,0xd5,0xd8,0x74,0x03,0x9f,0xc8,0x3c,
86    0x9c,0x88,0x5f,0x37,0xe6,0xa1,0x33,0x98,0xda,0xf7,0x08,0x62,0x9e,0x54,0x4e,0xcc,
87    0x9e,0xe0,0x3a,0xdf,0x27,0xe3,0xd7,0x93,0x98,0xdd,0xc1,0xd4,0xfe,0x14,0xe6,0x42,
88    0x63,0x9e,0x4a,0xcc,0x5e,0xc6,0xa6,0x37,0xb8,0xee,0xab,0xa7,0xe3,0xd7,0xdb,0xd8,
89    0x9c,0x41,0x1c,0x3d,0x67,0xfa,0x82,0xc9,0x5d,0x73,0x09,0xd8,0x99,0xf8,0xf6,0xe5,
90    0xec,0xec,0x6f,0xce,0x4e,0xd1,0xf5,0xf3,0x4f,0x7f,0x7a,0xa7,0x1f,0xfd,0x36,0x00,
91    0xb9,0xbf,0xc9,0x75,0x36,0xfd,0x24,0xe3,0x19,0x88,0xac,0xba,0x73,0xa9,0x43,0x74,
92    0xe7,0x20,0xeb,0xbe,0x78,0x1e,0x7b,0xc9,0x40,0xfa,0x49,0x6c,0xce,0x02,0x57,0xff,
93    0x0b,0xe8,0x45,0x9d,0x93,0x0b,0xc1,0x5a,0xc5,0x1c,0x65,0xc4,0xf7,0xda,0x8b,0xb9,
94    0xfb,0x96,0xa2,0x57,0xdf,0x61,0xe8,0x24,0xee,0x20,0x64,0xe5,0xf5,0x12,0x78,0x1d,
95    0x6e,0xec,0x2f,0x05,0x5f,0x0e,0x3f,0x97,0x81,0x8d,0x80,0x9f,0x91,0x86,0x1f,0xd1,
96    0x5d,0xee,0x9f,0xd9,0xf0,0x71,0xb9,0x89,0x73,0x25,0x63,0x5e,0x46,0x9c,0xab,0xc0,
97    0x84,0xfb,0xa5,0xde,0x42,0xee,0x7c,0xd7,0x80,0xb7,0xe1,0x9e,0x3d,0x1a,0xdf,0x6b,
98    0xd1,0x49,0xcd,0x57,0x20,0x6b,0xdc,0xeb,0x83,0xb8,0x37,0x80,0xd9,0xb8,0xa3,0xc1,
99    0x47,0x71,0x3f,0xd7,0xb8,0x37,0xa1,0x93,0xb8,0xd7,0x21,0x2b,0x17,0x37,0xc3,0xc5,
100    0x18,0x93,0x6b,0x2c,0xb8,0x72,0x71,0x0b,0x98,0x72,0x31,0xde,0x70,0x21,0xba,0x71,
101    0xfe,0x99,0x04,0x17,0xe3,0x4c,0x9c,0x89,0xd4,0xac,0x7b,0xdb,0x6d,0xfc,0x2e,0x98,
102    0x48,0x2d,0x13,0xc0,0xe4,0x8c,0x1a,0x8f,0xff,0x24,0xe3,0x3f,0x39,0x18,0xf3,0xed,
103    0x60,0x7d,0xa8,0x63,0x9a,0xa9,0x43,0x74,0x53,0xfd,0x33,0x9d,0x38,0x53,0xc9,0x31,
104    0xc5,0xdc,0xeb,0xa6,0xa1,0x9b,0x6e,0x72,0xdc,0xc1,0x7e,0xa5,0xf2,0x9d,0xe4,0x1c,
105    0x47,0xcd,0x77,0xf1,0xdb,0xe5,0x4e,0x33,0x8e,0xbb,0xf1,0xbb,0xcb,0x9c,0x1f,0x33,
106    0xc1,0x67,0x98,0xbc,0x33,0x83,0xbc,0xd3,0x4c,0x9e,0x59,0xec,0x7b,0xca,0xc3,0xac,
107    0x80,0x87,0xf1,0xc8,0x23,0x91,0x67,0x1b,0xdf,0x7b,0x58,0x17,0xe2,0x3b,0x07,0x59,
108    0xde,0xef,0x65,0x6d,0xe8,0x1a,0x9b,0xcb,0xb9,0x35,0x87,0x3d,0x54,0x73,0xcd,0x35,
109    0x3d,0x36,0xcf,0xc4,0xbd,0x0f,0x2e,0x94,0xef,0xfb,0xc1,0xe6,0xc1,0xf7,0x42,0xc3,
110    0xb7,0xe8,0x16,0xf8,0xe7,0x21,0xea,0x5b,0x40,0xcc,0xf9,0xfc,0x76,0x93,0xda,0x17,
111    0xa2,0x7b,0xc8,0xe4,0x58,0x4c,0x8e,0xb5,0x3e,0x87,0xf4,0xec,0xc3,0xdc,0x1b,0x17,
112    0xc3,0x79,0x49,0xbc,0x47,0x95,0xe1,0x1a,0x73,0x49,0x10,0x73,0x21,0x31,0xc5,0xfe,
113    0x11,0xce,0x04,0xed,0xf7,0xa5,0x60,0xda,0xef,0x4b,0x03,0x2e,0x47,0x9a,0x7a,0x96,
114    0x05,0x7b,0xee,0xf2,0x72,0xf6,0xdc,0x15,0xe0,0xba,0xe7,0x3e,0x8a,0xdf,0x0a,0x63,
115    0xf3,0x58,0xd0,0xab,0x8f,0x83,0xd9,0x3d,0x77,0x25,0xbe,0x8f,0xc3,0xe7,0x2a,0xc3,
116    0xa7,0xe8,0x9e,0xf0,0xcf,0xd3,0xd4,0xf8,0x84,0xa9,0xe9,0x49,0x6a,0x5a,0x63,0xf2,
117    0x3d,0x05,0x2e,0x63,0x5c,0x8d,0x2c,0x63,0x5c,0x85,0xff,0xd3,0xc6,0xf6,0x19,0xce,
118    0x68,0x95,0x9f,0xe5,0x0c,0x7e,0x95,0xde,0x7d,0x0e,0x9b,0x67,0x8d,0xcd,0xf3,0x9c,
119    0xdb,0x6f,0x60,0xf3,0x02,0x76,0xcf,0x9b,0x9c,0x2f,0x04,0x39,0x57,0x19,0xff,0x97,
120    0x38,0x97,0x47,0x73,0x47,0x7e,0x19,0x4c,0x7c,0x5f,0x44,0xd6,0xfb,0xf3,0x2b,0x9c,
121    0xd9,0x72,0xc6,0xbc,0x12,0xdc,0x69,0xea,0xc2,0x51,0x6d,0xee,0x34,0x79,0xfc,0x7f,
122    0x28,0xf9,0xea,0x99,0x18,0xaf,0x81,0x4b,0x8c,0xd7,0x82,0xbb,0x5b,0x01,0x31,0xea,
123    0x9b,0x7b,0x51,0xbe,0x89,0xd7,0x80,0x78,0x0d,0xcd,0x9d,0x62,0x63,0x70,0xc7,0xd8,
124    0x1c,0x95,0xfd,0x86,0x6d,0x16,0xf3,0x92,0xcc,0xc9,0x3a,0x33,0xe6,0x37,0xc1,0xb5,
125    0x07,0xde,0x02,0x9b,0xc1,0x7c,0x6f,0x30,0xf3,0x2d,0xba,0xf5,0xfe,0xd9,0x4a,0xee,
126    0xf5,0x26,0xce,0xdb,0xd4,0xa7,0xdc,0xbf,0x03,0xb6,0xc9,0xc4,0x7e,0x17,0x7c,0x84,
127    0xd9,0xff,0xdf,0x07,0x2f,0xe5,0xff,0x0e,0x5d,0x0f,0x1f,0xa0,0x13,0xee,0x37,0x22,
128    0x2b,0x6f,0x1f,0x32,0xfe,0xd3,0x7d,0x5c,0xf9,0x5f,0xe4,0x63,0xb0,0x01,0xf1,0xff,
129    0x2b,0xc9,0x3e,0xf2,0x09,0xff,0x5b,0x74,0x40,0xaf,0x75,0x6e,0x81,0xa7,0xb5,0xd4,
130    0xf9,0x29,0xb6,0x5b,0xc8,0xb5,0x19,0x4c,0x7a,0x64,0x03,0xe3,0xdc,0x6a,0x72,0x7f,
131    0x46,0xee,0xd1,0xac,0xe3,0xcf,0xc1,0xb4,0xee,0x2f,0xc0,0x34,0xd6,0x17,0x41,0xac,
132    0x0d,0xa6,0x96,0x2f,0x99,0x23,0x99,0xff,0x2f,0xcd,0xfc,0xa7,0xcc,0xff,0xa6,0x85,
133    0x66,0xfe,0x8b,0x88,0x51,0x6c,0x7e,0x63,0x7f,0x5b,0xce,0xff,0x12,0xdf,0x81,0xeb,
134    0xbc,0x7f,0xcf,0xbc,0x8f,0x32,0x36,0x3f,0x80,0xeb,0x3d,0x65,0x37,0x98,0xfd,0x5d,
135    0xf2,0x23,0xb1,0x76,0x1b,0xbf,0x9f,0xa8,0x43,0xef,0x32,0x3f,0xf3,0xff,0x52,0x29,
136    0xf6,0x32,0xee,0x9f,0xb1,0xd3,0xdf,0x61,0xff,0x00,0x8b,0x79,0xa8,0xaa,0x34,0x18,
137    0x00,0x00
138};
139
140// Generated from:
141//
142// #version 450 core
143//
144// layout(local_size_x = 64, local_size_y = 1, local_size_z = 1)in;
145//
146// layout(set = 0, binding = 0)buffer dest
147// {
148//     uint destData[];
149// };
150//
151// layout(set = 0, binding = 1)buffer src
152// {
153//     uint srcData[];
154// };
155//
156// layout(push_constant)uniform PushConstants
157// {
158//
159//     uint outputCount;
160//
161//     uint componentCount;
162//
163//     uint srcOffset;
164//     uint destOffset;
165//
166//     uint Ns;
167//     uint Bs;
168//     uint Ss;
169//     uint Es;
170//
171//     uint Nd;
172//     uint Bd;
173//     uint Sd;
174//     uint Ed;
175//
176//     uint srcEmulatedAlpha;
177//
178//     bool isSrcHDR;
179//     bool isSrcA2BGR10;
180// } params;
181//
182// uint getSourceComponentOffset(uint vertex, uint component)
183// {
184//     return vertex * params . Ss + component * 4 + params . srcOffset;
185// }
186//
187// uint getDestinationComponentOffset(uint vertex, uint component)
188// {
189//     return vertex * params . Sd + component * params . Bd + params . destOffset;
190// }
191//
192// uint getShiftBits(uint offset, uint B)
193// {
194//
195//     uint shift =(offset % 4)* 8;
196//
197//     return shift;
198// }
199//
200//       float loadSourceComponent(uint cd)
201// {
202//
203//     uint vertex = cd / params . Nd;
204//     uint component = cd % params . Nd;
205//
206//     if(component >= params . Ns && component < 3)
207//     {
208//         return 0;
209//     }
210//
211//     uint offset = getSourceComponentOffset(vertex, component);
212//     uint block = srcData[offset / 4];
213//
214//     uint shiftBits;
215//     uint valueBits;
216//     uint valueMask;
217//
218//     if(params . isSrcHDR)
219//     {
220//         valueBits = component == 3 ? 2 : 10;
221//         valueMask = component == 3 ? 0x03 : 0x3FF;
222//         if(params . isSrcA2BGR10)
223//         {
224//             shiftBits = 10 * component;
225//         }
226//         else
227//         {
228//
229//             shiftBits = component == 3 ? 0 :(valueBits *(2 - component)+ 2);
230//         }
231//     }
232//     else
233//     {
234//         shiftBits = getShiftBits(offset, 4);
235//         valueBits = 4 * 8;
236//         valueMask = valueBits == 32 ? - 1 :(1 << valueBits)- 1;
237//     }
238//
239//     uint valueAsUint;
240//
241//     if(component >= params . Ns && component == 3)
242//     {
243//         valueAsUint = params . srcEmulatedAlpha;
244//     }
245//     else
246//     {
247//         valueAsUint =(block >> shiftBits)& valueMask;
248//     }
249//
250//           float value = uintBitsToFloat(valueAsUint);
251//
252//     return value;
253// }
254//
255//        float convertComponent(float srcValue)
256// {
257//
258//     return srcValue;
259// }
260//
261// uint makeDestinationComponent(uint cd, float value)
262// {
263//
264//     uint valueAsUint;
265//
266//     if(params . Bd == 2)
267//     {
268//
269//         uint shift =((cd & 1)== 0)? 0 : 16;
270//         valueAsUint = packHalf2x16(vec2(value, 0.0))<< shift;
271//     }
272//     else
273//     {
274//         valueAsUint = floatBitsToInt(value);
275//     }
276//
277//     return valueAsUint;
278// }
279//
280// void storeDestinationComponents(uint valueAsUint)
281// {
282//
283//     destData[gl_GlobalInvocationID . x + params . destOffset / 4]= valueAsUint;
284// }
285//
286// void main()
287// {
288//     if(gl_GlobalInvocationID . x >= params . outputCount)
289//         return;
290//
291//     uint valueOut = 0;
292//     for(uint i = 0;i < params . Ed;++ i)
293//     {
294//         uint cd = gl_GlobalInvocationID . x * params . Ed + i;
295//         if(cd >= params . componentCount)
296//         {
297//             break;
298//         }
299//
300//               float srcValue = loadSourceComponent(cd);
301//                float destValue = convertComponent(srcValue);
302//         valueOut |= makeDestinationComponent(cd, destValue);
303//     }
304//
305//     storeDestinationComponents(valueOut);
306// }
307