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.00000010.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kImageCopy_frag_00000010[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x98,0x0b,0x94,0x8d,0x55, 14 0x14,0xc7,0xbf,0x7b,0xef,0xcc,0x1d,0x06,0x79,0x13,0x79,0x95,0xbc,0x16,0x4d,0xd6, 15 0x1a,0xe4,0x11,0x83,0x62,0x28,0x6f,0x51,0xa1,0x98,0xf2,0x16,0x0a,0xbd,0x90,0x90, 16 0x57,0x54,0xa8,0x28,0x8f,0x24,0xa1,0xa2,0x14,0x25,0x42,0x92,0xca,0xa8,0xa8,0x28, 17 0x54,0x1e,0x45,0x45,0x79,0xf4,0x42,0x5e,0x49,0x67,0x9f,0xfb,0xdb,0xd3,0xf6,0x65, 18 0xd5,0xac,0x75,0xd6,0xbd,0xfb,0xbf,0xf7,0xf9,0xef,0xff,0xd9,0xfb,0x9c,0x73,0xbf, 19 0xf9,0x62,0xd1,0xf2,0x29,0x41,0x10,0x09,0x52,0x83,0x5c,0x41,0x3c,0x12,0xf8,0xbf, 20 0x82,0x41,0x34,0x90,0xaf,0x79,0x82,0xb8,0xff,0xcc,0x6c,0xd1,0xbe,0x45,0xda,0xe0, 21 0x21,0xdd,0xd3,0x6a,0xd4,0xac,0x2e,0xfe,0x8b,0x82,0x98,0x8f,0x13,0x5f,0xfe,0x20, 22 0x25,0x48,0x72,0x9f,0x32,0xfa,0x67,0xf5,0x19,0x20,0x78,0x1d,0xb1,0x9d,0xb3,0x80, 23 0x8b,0x13,0x3c,0x45,0x38,0xdc,0xb7,0x3a,0x9e,0x53,0xe6,0x04,0x41,0xb3,0x20,0x39, 24 0xc8,0x48,0xa4,0x0b,0xca,0xf3,0xa9,0x58,0x04,0x2c,0x97,0xc1,0xa2,0x60,0x05,0x0c, 25 0x16,0x03,0x2b,0x62,0xb0,0x24,0xb0,0x8b,0x0d,0x96,0x0c,0x56,0xca,0x60,0x71,0xb0, 26 0x72,0x06,0x4b,0x01,0xbb,0xdc,0x60,0xb9,0xc0,0x2a,0x1b,0x2c,0x37,0x58,0x35,0x83, 27 0xa5,0x82,0x55,0x37,0x58,0x1e,0xb0,0x1a,0x06,0xcb,0x0b,0x56,0xdb,0x60,0xf9,0xc0, 28 0xae,0xf6,0x75,0x8a,0xe5,0xac,0x57,0x6a,0xd6,0xdf,0x7d,0x5e,0x46,0x7d,0xd4,0xbe, 29 0xd4,0xd8,0x52,0xe7,0x32,0xd8,0x85,0xdd,0xac,0xa8,0xf7,0xc7,0x7c,0x6d,0xe4,0x7b, 30 0x31,0xf7,0x2d,0xce,0x3a,0xcb,0xb9,0xf8,0x14,0xd6,0x19,0xf7,0x71,0x49,0x7e,0x7d, 31 0x71,0xb0,0xaa,0xce,0x8e,0x53,0xe3,0x52,0x69,0x2d,0xeb,0x15,0x71,0x0c,0x05,0x0d, 32 0x5e,0xcc,0x8d,0x76,0x2b,0x5b,0x35,0x52,0xfb,0x12,0x37,0x3a,0x74,0xd8,0xd6,0x40, 33 0xed,0xd2,0x6e,0xd4,0x4f,0x1d,0x9f,0xa1,0x76,0x59,0x37,0x96,0x64,0x66,0xd5,0x57, 34 0x5b,0xea,0xba,0x7f,0x49,0x85,0x1c,0xfb,0x4a,0x37,0x66,0xce,0x28,0xd1,0xb0,0xa8, 35 0xb3,0xd3,0xd1,0x28,0xbd,0x2f,0xee,0x6c,0xa9,0x59,0x3a,0x6b,0x10,0xdd,0x35,0xd1, 36 0x58,0x03,0xff,0x55,0xe8,0x4e,0xc2,0x5f,0x9b,0xb9,0x82,0xd7,0xc3,0xae,0x63,0xf8, 37 0xea,0x12,0x2f,0x7c,0x92,0xaf,0x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d1,0x13,0xee,0x1e,0xa6,0xef,0xbd,0xd0,0x22,0xfb,0x4e,0xec,0xde,0x60,0xbd,0xcc, 65 0xfd,0xa5,0x7b,0xa2,0x37,0x1a,0x95,0xa7,0x27,0x3c,0xfd,0xfc,0xde,0x4c,0xdc,0x67, 66 0xba,0x27,0xef,0x44,0xf3,0x40,0x93,0xeb,0x2e,0x70,0xb5,0x07,0x91,0x7b,0x24,0x7b, 67 0x74,0x30,0x31,0x83,0xe0,0x91,0x3b,0xef,0x1e,0x78,0x86,0x98,0xfa,0xde,0x0b,0xde, 68 0xd6,0xc5,0x88,0x7d,0x3f,0x73,0x03,0x83,0x0d,0x05,0x8b,0xf8,0x7d,0x17,0xf7,0xf7, 69 0xe5,0x30,0x62,0x87,0xc2,0xa1,0x39,0x1e,0x20,0xc7,0x70,0x93,0x63,0x04,0x78,0x57, 70 0x57,0x17,0x39,0x9f,0x0f,0xb2,0xc6,0x61,0xdc,0xa1,0x23,0xa8,0x4b,0x5f,0x7c,0xda, 71 0xab,0x51,0x70,0x8d,0x34,0xbd,0x1a,0x0d,0xae,0xbd,0x7a,0x08,0x4c,0x7b,0x35,0xd6, 72 0xf4,0x4a,0x7c,0x63,0xdc,0x18,0x4b,0x8d,0xc7,0xc0,0x2d,0x77,0xc5,0x78,0xee,0x2d, 73 0x3d,0x2b,0x72,0x67,0x4e,0x00,0x17,0x2d,0xe3,0xb0,0xeb,0xb8,0x78,0xf1,0x3d,0xcc, 74 0xfd,0x3f,0xce,0x70,0x4c,0x34,0x1c,0x32,0x67,0x22,0x71,0xea,0x7f,0x04,0x7f,0x17, 75 0x93,0xe3,0x51,0x70,0x89,0x9f,0x84,0xad,0x39,0x1e,0x23,0xc7,0x24,0xc3,0x31,0xd9, 76 0x70,0xc8,0x9c,0xc9,0xc4,0xa9,0xff,0x71,0xfc,0x53,0x4d,0x8e,0x27,0xc0,0x25,0x7e, 77 0x0a,0xb6,0xe6,0x78,0x92,0x1c,0x53,0x0c,0xc7,0x34,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59,0xd7,0x2e,0x72,0xef,0x35,0xeb,0xfa,0x8e,0x75,0xed,0x33, 105 0xeb,0xfa,0x1e,0x5c,0xd7,0xf5,0x03,0x98,0xae,0xeb,0x80,0x59,0x97,0xf8,0xf6,0xbb, 106 0x71,0x08,0xee,0xfd,0xa6,0xc6,0x3f,0xa2,0xd5,0xde,0x19,0x3f,0x81,0x6b,0xcc,0xc1, 107 0xd0,0x7e,0x3a,0x48,0x8c,0xe8,0x3d,0x00,0xe7,0x21,0xf3,0x8c,0xf1,0x33,0x7a,0x8f, 108 0x98,0x67,0x8c,0x5f,0xc0,0x65,0xfe,0x61,0x6c,0xf5,0xfd,0xca,0xff,0x08,0xd9,0x3c, 109 0xcf,0xfc,0x06,0x36,0xdc,0xac,0xef,0x77,0xf0,0x81,0xac,0xef,0x98,0x59,0x9f,0xf8, 110 0x8e,0xba,0x71,0x0c,0x2d,0x47,0x8d,0xf6,0xe3,0xa1,0x7d,0x7a,0xdc,0xdc,0xc1,0x1a, 111 0x7f,0xcc,0x68,0xf9,0x23,0xa4,0xe5,0x04,0x58,0x73,0xa3,0xe5,0x24,0xb8,0x6a,0x39, 112 0x6d,0xb4,0x9c,0xf4,0xdc,0x81,0xc7,0x84,0xfb,0x94,0xd1,0x72,0x26,0xb4,0x9f,0xcf, 113 0x18,0x2d,0x1a,0x7f,0xda,0x68,0xf9,0x33,0xa4,0xe5,0x2c,0xd8,0x0e,0xa3,0xe5,0x2f, 114 0x70,0xd5,0xa2,0x0f,0xb2,0xa2,0x45,0x7c,0xe7,0xb8,0xd4,0x85,0xfb,0x9c,0xd1,0x12, 115 0x8d,0xfc,0xd3,0x77,0xd1,0x22,0xb6,0xfc,0x4f,0x2a,0x5a,0x34,0x3e,0x88,0x9c,0xdf, 116 0xe3,0x03,0xa1,0x3d,0xba,0xcb,0xec,0xf9,0x64,0xf8,0x84,0x4b,0xfe,0x77,0x15,0xfb, 117 0xac,0x23,0xa8,0xed,0x46,0x2d,0xce,0x78,0x2a,0x75,0xca,0xe5,0xff,0xd7,0x8d,0x79, 118 0x1d,0xb9,0xe1,0xca,0x63,0xf6,0x5f,0x7e,0xf0,0x35,0xac,0xb1,0x10,0x58,0x01,0xd6, 119 0x58,0xc4,0xd4,0xbb,0x90,0x7f,0x9f,0x25,0xef,0x26,0x12,0x3c,0x85,0x0d,0x4f,0x51, 120 0x78,0xc6,0x92,0xbf,0x38,0x58,0x31,0x5f,0xb7,0xa8,0xb7,0x65,0x4e,0x09,0x33,0xa7, 121 0x24,0x73,0xf2,0x3a,0x75,0x71,0xde,0x05,0x46,0xc0,0x4b,0xf2,0x2e,0x4b,0xf9,0xca, 122 0xe0,0x2f,0xed,0x9f,0x73,0x93,0x73,0xde,0x9f,0x95,0xe1,0x9d,0x96,0xe4,0x28,0x47, 123 0x8e,0x22,0xbe,0x17,0xe7,0xd7,0x23,0xdf,0x05,0xea,0x91,0x97,0xf8,0x8b,0x8c,0xa6, 124 0xf2,0xe0,0x5a,0x8f,0x0a,0xe6,0xfd,0xa3,0xd4,0xa3,0x92,0xa9,0x87,0xf8,0x2a,0xfa, 125 0xf7,0x0c,0x09,0x9e,0x8a,0x86,0xa7,0x32,0x3c,0x13,0xc8,0x5f,0x05,0x4c,0xeb,0x51, 126 0x85,0x39,0x55,0xcd,0x9c,0x6a,0xcc,0x19,0xc5,0x9c,0x2b,0xc0,0xca,0x1a,0x9e,0x34, 127 0xf0,0xd2,0xa6,0x6e,0xd5,0x4d,0xdd,0xd2,0x78,0x87,0x27,0x39,0xaa,0x93,0xa3,0x92, 128 0xa9,0xc7,0xdf,0x33,0xd1,0xa7,0xd1,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 texture2DArray src; 138// layout(location = 0)out vec4 dest; 139// 140// layout(push_constant)uniform PushConstants { 141// 142// ivec2 srcOffset; 143// ivec2 destOffset; 144// int srcMip; 145// int srcLayer; 146// 147// bool flipX; 148// bool flipY; 149// 150// bool premultiplyAlpha; 151// bool unmultiplyAlpha; 152// 153// bool destHasLuminance; 154// bool destIsAlpha; 155// 156// bool srcIsSRGB; 157// bool destIsSRGB; 158// 159// int destDefaultChannelsMask; 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 destSubImageCoords = ivec2(gl_FragCoord . xy)- params . destOffset; 192// 193// ivec2 srcSubImageCoords = destSubImageCoords; 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 destValue = vec4(srcValue); 228// 229// if(params . destIsSRGB) 230// { 231// 232// destValue . r = sRGBToLinear(destValue . r); 233// destValue . g = sRGBToLinear(destValue . g); 234// destValue . b = sRGBToLinear(destValue . b); 235// } 236// 237// if(params . destHasLuminance) 238// { 239// destValue . rg = destValue . ra; 240// } 241// else if(params . destIsAlpha) 242// { 243// destValue . r = destValue . a; 244// } 245// else 246// { 247// int defaultChannelsMask = params . destDefaultChannelsMask; 248// if((defaultChannelsMask & 2)!= 0) 249// { 250// destValue . g = 0; 251// } 252// if((defaultChannelsMask & 4)!= 0) 253// { 254// destValue . b = 0; 255// } 256// if((defaultChannelsMask & 8)!= 0) 257// { 258// destValue . a = 1; 259// } 260// } 261// 262// dest = destValue; 263// } 264