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.00000020.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kImageCopy_frag_00000020[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x98,0x0b,0x94,0x8d,0x55, 14 0x14,0xc7,0xbf,0x7b,0xef,0xcc,0x9d,0xf1,0x7e,0x13,0x31,0x94,0xbc,0x16,0x4d,0xd6, 15 0x32,0x64,0x88,0x41,0x79,0x95,0xb7,0xa8,0x50,0x28,0x6f,0xa1,0xd0,0x0b,0x09,0x19, 16 0x44,0x85,0x8a,0xf2,0x48,0x12,0x2a,0x4a,0x51,0x22,0x24,0xa9,0x50,0x51,0x51,0xa8, 17 0x3c,0x8a,0x8a,0xf2,0xe8,0x85,0xbc,0x92,0xce,0x3e,0xf7,0xb7,0xa7,0xed,0x5b,0x56, 18 0xcd,0x5a,0x67,0xdd,0xbb,0xff,0x7b,0x9f,0xff,0xfe,0x9f,0xbd,0xcf,0x39,0xf7,0x9b, 19 0x2f,0x16,0x2d,0x9f,0x12,0x04,0x91,0x20,0x77,0x90,0x1a,0xc4,0x23,0x81,0xff,0x2b, 20 0x14,0x44,0x03,0xf9,0x9a,0x27,0x88,0xfb,0xcf,0xa6,0x2d,0xda,0xb7,0x48,0x1f,0x32, 21 0xb4,0x47,0x7a,0x46,0xcd,0xea,0xe2,0xcf,0x1f,0xc4,0x7c,0x9c,0xf8,0x0a,0x04,0x29, 22 0x41,0x92,0xfb,0x94,0x31,0xa0,0x7b,0xdf,0x81,0x82,0x67,0x8a,0xed,0x9c,0x05,0x5d, 23 0x9c,0xe0,0x29,0xc2,0xe1,0xbe,0x65,0x7a,0x4e,0x99,0x13,0x04,0xcd,0x82,0xe4,0x20, 24 0x2b,0x91,0x2e,0x28,0xcf,0xa7,0x62,0x11,0xb0,0x54,0x83,0x45,0xc1,0x0a,0x1a,0x2c, 25 0x06,0x56,0xd4,0x60,0x49,0x60,0x97,0x18,0x2c,0x19,0xac,0xb4,0xc1,0xe2,0x60,0xe5, 26 0x0c,0x96,0x02,0x76,0x85,0xc1,0x52,0xc1,0x2a,0x1b,0x2c,0x17,0x58,0x35,0x83,0xe5, 27 0x06,0xab,0x6e,0xb0,0x3c,0x60,0x19,0x06,0xcb,0x0b,0x56,0xdb,0x60,0xf9,0xc0,0xae, 28 0xf1,0x75,0x8a,0xe5,0xac,0x57,0x6a,0x36,0xc0,0x7d,0x5e,0x4e,0x7d,0xd4,0xbe,0xcc, 29 0xd8,0x52,0xe7,0x34,0xec,0x22,0x6e,0x56,0xd4,0xfb,0x63,0xbe,0x36,0xf2,0xbd,0xb8, 30 0xfb,0x16,0x67,0x9d,0xe5,0x5c,0x7c,0x0a,0xeb,0x8c,0xfb,0xb8,0x24,0xbf,0xbe,0x38, 31 0x58,0x55,0x67,0xc7,0xa9,0x71,0xe9,0xf4,0x96,0x75,0x8b,0x3a,0x86,0x42,0x06,0x2f, 32 0xee,0x46,0xbb,0x95,0xad,0x1a,0xaa,0x7d,0xa9,0x1b,0x1d,0x3a,0x6c,0xaf,0xaf,0x76, 33 0x19,0x37,0xea,0xe5,0x1e,0x9f,0xa5,0x76,0x59,0x37,0x96,0x34,0xed,0x5e,0x4f,0x6d, 34 0xa9,0xeb,0x81,0x25,0x15,0x72,0xec,0xab,0xdc,0x98,0x39,0xa3,0x64,0x83,0x62,0xce, 35 0xae,0x81,0x46,0xe9,0x7d,0x09,0x67,0x4b,0xcd,0x6a,0xb0,0x06,0xd1,0x5d,0x13,0x8d, 36 0x19,0xf8,0xaf,0x46,0x77,0x12,0xfe,0xda,0xcc,0x15,0xbc,0x2e,0x76,0xa6,0xe1,0xab, 37 0x43,0xbc,0xf0,0x49,0xbe,0xfa,0xe4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 0xdc,0x3d,0x4d,0xdf,0x7b,0xa3,0x45,0xf6,0x9d,0xd8,0x7d,0xc0,0x7a,0x9b,0xfb,0x4b, 65 0xf7,0x44,0x1f,0x34,0x2a,0x4f,0x2f,0x78,0xfa,0xfb,0xbd,0x99,0xb8,0xcf,0x74,0x4f, 66 0xde,0x85,0xe6,0x41,0x26,0xd7,0xdd,0xe0,0x6a,0x0f,0x26,0xf7,0x28,0xf6,0xe8,0x10, 67 0x62,0x06,0xc3,0x23,0x77,0xde,0xbd,0xf0,0x0c,0x35,0xf5,0xbd,0x0f,0xbc,0xad,0x8b, 68 0x11,0xfb,0x01,0xe6,0x06,0x06,0x1b,0x06,0x16,0xf1,0xfb,0x2e,0xee,0xef,0xcb,0xe1, 69 0xc4,0x0e,0x83,0x43,0x73,0x3c,0x48,0x8e,0x11,0x26,0xc7,0x48,0xf0,0xae,0xae,0x2e, 70 0x72,0x3e,0x1f,0x62,0x8d,0xc3,0xb9,0x43,0x47,0x52,0x97,0x7e,0xf8,0xb4,0x57,0xa3, 71 0xe1,0x1a,0x65,0x7a,0x35,0x06,0x5c,0x7b,0xf5,0x30,0x98,0xf6,0x2a,0xdb,0xf4,0x4a, 72 0x7c,0x63,0xdd,0xc8,0xa6,0xc6,0x63,0xe1,0x96,0xbb,0x62,0x3c,0xf7,0x96,0x9e,0x15, 73 0xb9,0x33,0x27,0x80,0x8b,0x96,0x71,0xd8,0x99,0x2e,0x5e,0x7c,0x8f,0x70,0xff,0x8f, 74 0x33,0x1c,0x13,0x0d,0x87,0xcc,0x99,0x48,0x9c,0xfa,0x1f,0xc5,0xdf,0xc5,0xe4,0x78, 75 0x0c,0x5c,0xe2,0x27,0x61,0x6b,0x8e,0xc7,0xc9,0x31,0xc9,0x70,0x4c,0x36,0x1c,0x32, 76 0x67,0x32,0x71,0xea,0x7f,0x02,0xff,0x54,0x93,0xe3,0x49,0x70,0x89,0x9f,0x82,0xad, 77 0x39,0x9e,0x22,0xc7,0x14,0xc3,0x31,0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0x9a,0x18,0x59,0xd7,0x6e,0x72,0xef,0x33,0xeb,0xfa,0x9e,0x75,0xed,0x37,0xeb,0xfa, 105 0x01,0x5c,0xd7,0xf5,0x23,0x98,0xae,0xeb,0xa0,0x59,0x97,0xf8,0x0e,0xb8,0x71,0x18, 106 0xee,0x03,0xa6,0xc6,0x3f,0xa1,0xd5,0xde,0x19,0x3f,0x83,0x6b,0xcc,0xa1,0xd0,0x7e, 107 0x3a,0x44,0x8c,0xe8,0x3d,0x08,0xe7,0x61,0xf3,0x8c,0xf1,0x0b,0x7a,0x8f,0x9a,0x67, 108 0x8c,0x5f,0xc1,0x65,0xfe,0x11,0x6c,0xf5,0xfd,0xc6,0xff,0x08,0x1b,0x79,0x9e,0xf9, 109 0x1d,0x6c,0x84,0x59,0xdf,0x1f,0xe0,0x83,0x58,0xdf,0x71,0xb3,0x3e,0xf1,0x1d,0x73, 110 0xe3,0x38,0x5a,0x8e,0x19,0xed,0x27,0x42,0xfb,0xf4,0x84,0xb9,0x83,0x35,0xfe,0xb8, 111 0xd1,0xf2,0x67,0x48,0xcb,0x49,0xb0,0xe6,0x46,0xcb,0x29,0x70,0xd5,0x72,0xc6,0x68, 112 0x39,0xe5,0xb9,0x03,0x8f,0x09,0xf7,0x69,0xa3,0xe5,0x6c,0x68,0x3f,0x9f,0x35,0x5a, 113 0x34,0xfe,0x8c,0xd1,0xf2,0x57,0x48,0xcb,0x39,0xb0,0x9d,0x46,0xcb,0xdf,0xe0,0xaa, 114 0x45,0x1f,0x64,0x45,0x8b,0xf8,0xce,0x73,0xa9,0x0b,0xf7,0x79,0xa3,0x25,0x1a,0xf9, 115 0xb7,0xef,0xa2,0x45,0x6c,0xf9,0x9f,0x54,0xb4,0x68,0x7c,0x10,0xb9,0xb0,0xc7,0x07, 116 0x43,0x7b,0x74,0xb7,0xd9,0xf3,0xc9,0xf0,0x09,0x97,0xfc,0xef,0x2a,0xf6,0x39,0x47, 117 0x50,0xdb,0x8d,0x5a,0x9c,0xf1,0xdc,0xd4,0x29,0xd5,0xff,0xaf,0x1b,0xf3,0x3a,0x72, 118 0xc1,0x95,0xc7,0xec,0xbf,0x02,0xe0,0x6b,0x58,0x63,0x61,0xb0,0x82,0xac,0xb1,0xa8, 119 0xa9,0x77,0x61,0xff,0x3e,0x4b,0xde,0x4d,0x24,0x78,0x8a,0x18,0x9e,0x62,0xf0,0x64, 120 0x93,0xbf,0x04,0x58,0x71,0x5f,0xb7,0xa8,0xb7,0x65,0x4e,0x49,0x33,0xa7,0x14,0x73, 121 0xf2,0x3a,0x75,0x71,0xde,0x05,0x46,0xc0,0x4b,0xf1,0x2e,0x4b,0xf9,0xd2,0xf0,0x97, 122 0xf1,0xcf,0xb9,0xc9,0x39,0xef,0xcf,0xd2,0x78,0xa7,0x25,0x39,0xca,0x91,0xa3,0xa8, 123 0xef,0xc5,0x85,0xf5,0xc8,0x77,0x91,0x7a,0xe4,0x25,0x3e,0xbf,0xd1,0x54,0x1e,0x5c, 124 0xeb,0x51,0xc1,0xbc,0x7f,0x94,0x7a,0x54,0x32,0xf5,0x10,0x5f,0x45,0xff,0x9e,0x21, 125 0xc1,0x53,0xd1,0xf0,0x54,0x86,0x67,0x02,0xf9,0xab,0x80,0x69,0x3d,0xaa,0x30,0xa7, 126 0xaa,0x99,0x53,0x8d,0x39,0xa3,0x99,0x73,0x25,0x58,0x59,0xc3,0x93,0x0e,0x5e,0xc6, 127 0xd4,0xad,0xba,0xa9,0x5b,0x3a,0xef,0xf0,0x24,0x47,0x75,0x72,0x54,0x32,0xf5,0xf8, 128 0x07,0xec,0x05,0xca,0x95,0x5c,0x16,0x00,0x00 129}; 130 131// Generated from: 132// 133// #version 450 core 134// 135// #extension GL_EXT_samplerless_texture_functions : require 136// 137// layout(set = 0, binding = 0)uniform texture3D src; 138// layout(location = 0)out vec4 dst; 139// 140// layout(push_constant)uniform PushConstants { 141// 142// ivec2 srcOffset; 143// ivec2 dstOffset; 144// int srcMip; 145// int srcLayer; 146// 147// bool flipX; 148// bool flipY; 149// 150// bool premultiplyAlpha; 151// bool unmultiplyAlpha; 152// 153// bool dstHasLuminance; 154// bool dstIsAlpha; 155// 156// bool srcIsSRGB; 157// bool dstIsSRGB; 158// 159// int dstDefaultChannelsMask; 160// bool rotateXY; 161// } params; 162// 163// float linearToSRGB(float linear) 164// { 165// 166// if(linear <= 0.0031308) 167// { 168// return linear * 12.92; 169// } 170// else 171// { 172// return pow(linear,(1.0f / 2.4f))* 1.055f - 0.055f; 173// } 174// } 175// 176// float sRGBToLinear(float sRGB) 177// { 178// 179// if(sRGB <= 0.04045) 180// { 181// return sRGB / 12.92; 182// } 183// else 184// { 185// return pow((sRGB + 0.055f)/ 1.055f, 2.4f); 186// } 187// } 188// 189// void main() 190// { 191// ivec2 dstSubImageCoords = ivec2(gl_FragCoord . xy)- params . dstOffset; 192// 193// ivec2 srcSubImageCoords = dstSubImageCoords; 194// 195// if(params . flipX) 196// { 197// srcSubImageCoords . x = - srcSubImageCoords . x; 198// } 199// if(params . flipY) 200// { 201// srcSubImageCoords . y = - srcSubImageCoords . y; 202// } 203// if(params . rotateXY) 204// { 205// srcSubImageCoords . xy = srcSubImageCoords . yx; 206// } 207// 208// vec4 srcValue = texelFetch(src, ivec3(params . srcOffset + srcSubImageCoords, params . srcLayer), params . srcMip); 209// 210// if(params . srcIsSRGB) 211// { 212// 213// srcValue . r = linearToSRGB(srcValue . r); 214// srcValue . g = linearToSRGB(srcValue . g); 215// srcValue . b = linearToSRGB(srcValue . b); 216// } 217// 218// if(params . premultiplyAlpha) 219// { 220// srcValue . rgb *= srcValue . a; 221// } 222// else if(params . unmultiplyAlpha && srcValue . a > 0) 223// { 224// srcValue . rgb /= srcValue . a; 225// } 226// 227// vec4 dstValue = vec4(srcValue); 228// 229// if(params . dstIsSRGB) 230// { 231// 232// dstValue . r = sRGBToLinear(dstValue . r); 233// dstValue . g = sRGBToLinear(dstValue . g); 234// dstValue . b = sRGBToLinear(dstValue . b); 235// } 236// 237// if(params . dstHasLuminance) 238// { 239// dstValue . rg = dstValue . ra; 240// } 241// else if(params . dstIsAlpha) 242// { 243// dstValue . r = dstValue . a; 244// } 245// else 246// { 247// int defaultChannelsMask = params . dstDefaultChannelsMask; 248// if((defaultChannelsMask & 2)!= 0) 249// { 250// dstValue . g = 0; 251// } 252// if((defaultChannelsMask & 4)!= 0) 253// { 254// dstValue . b = 0; 255// } 256// if((defaultChannelsMask & 8)!= 0) 257// { 258// dstValue . a = 1; 259// } 260// } 261// 262// dst = dstValue; 263// } 264