// GENERATED FILE - DO NOT EDIT. // Generated by gen_vk_internal_shaders.py. // // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // shaders/gen/ImageCopy.frag.00000014.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000014[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x98,0xf7,0x73,0x55,0x55, 0x10,0xc7,0x6f,0xde,0x7b,0x79,0x0f,0x42,0x0b,0x12,0x43,0x11,0x9c,0x24,0x14,0xd1, 0x60,0x40,0x0d,0x84,0xf6,0xa8,0x4a,0x51,0x6a,0x02,0x0a,0x62,0x84,0x20,0x2a,0x20, 0x04,0x25,0x51,0x04,0x69,0x41,0x94,0xa0,0x08,0x22,0x16,0x40,0x05,0x54,0x50,0x09, 0x52,0x54,0x9a,0x80,0x82,0xd2,0x2c,0x44,0x54,0x40,0x05,0x01,0xfd,0xc9,0xff,0xc0, 0xb1,0xcc,0x58,0xce,0x9e,0x7c,0x36,0xb3,0x73,0x27,0x6a,0x66,0xce,0xdc,0xb7,0xdf, 0xdd,0xb3,0xfb,0xdd,0x72,0xce,0x7d,0x2f,0xd1,0x48,0xdb,0x44,0x10,0xa4,0x04,0x69, 0x41,0xbd,0xe0,0xa7,0xa0,0xe6,0xaf,0x69,0x10,0x71,0x48,0x10,0x34,0x08,0xe2,0xfe, 0x39,0x78,0x58,0xd1,0xb0,0xbc,0xb2,0xf2,0x29,0x79,0xf9,0x5d,0xbb,0x88,0xbe,0x71, 0x10,0xf5,0x76,0xa2,0x6b,0x12,0x24,0x82,0x98,0x7b,0xca,0x9a,0x59,0x32,0xad,0x54, 0xf0,0x0e,0x6e,0x5d,0x76,0x2b,0xdd,0xd9,0x09,0x9e,0x10,0x1f,0xee,0x53,0x07,0xef, 0x53,0xf6,0x04,0xc1,0x90,0x20,0x35,0xe8,0x44,0xbc,0xb6,0x3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0x0b,0xf8,0x3e,0x6f,0xb8, 0x5c,0x34,0x7d,0x17,0x2e,0x17,0xf9,0x4d,0x23,0x5c,0xd4,0xfe,0x42,0xa8,0xc7,0x47, 0x42,0x33,0xba,0xc7,0xcc,0xfc,0x8f,0xf8,0x13,0x5f,0x97,0x91,0xff,0x74,0x6f,0x8f, 0xee,0x6e,0x75,0xe3,0x8c,0xa7,0xc1,0x4d,0x7e,0x77,0x15,0x38,0xbb,0x04,0xbf,0xb9, 0xc4,0x57,0x03,0x33,0x7f,0x0d,0xc1,0x0f,0x91,0x63,0x13,0xb0,0x46,0xe4,0xd8,0xd4, 0xe4,0xd8,0x84,0xff,0x0d,0x65,0xe2,0x27,0xdd,0xf8,0xb9,0x02,0x3f,0x95,0xc4,0xcf, 0x00,0x93,0xff,0x67,0xfc,0xe5,0x6c,0x33,0xd8,0x93,0x69,0xf6,0x34,0x67,0x4f,0x05, 0x7b,0x5a,0x82,0xb5,0x30,0x7e,0xae,0x02,0x6f,0xe5,0x79,0x25,0x3c,0xd6,0x86,0x77, 0x65,0x2b,0xf4,0xad,0x89,0xd1,0x86,0x18,0xc2,0xf9,0x6f,0xea,0xf1,0x0f,0x7b,0xec, 0xb6,0x89,0x7c,0x13,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform itexture2DArray src; // layout(location = 0)out vec4 dest; // // layout(push_constant)uniform PushConstants { // // ivec2 srcOffset; // ivec2 destOffset; // int srcMip; // int srcLayer; // // bool flipX; // bool flipY; // // bool premultiplyAlpha; // bool unmultiplyAlpha; // // bool destHasLuminance; // bool destIsAlpha; // // bool srcIsSRGB; // bool destIsSRGB; // // int destDefaultChannelsMask; // bool rotateXY; // } params; // // float sRGBToLinear(float sRGB) // { // // if(sRGB <= 0.04045) // { // return sRGB / 12.92; // } // else // { // return pow((sRGB + 0.055f)/ 1.055f, 2.4f); // } // } // // void main() // { // ivec2 destSubImageCoords = ivec2(gl_FragCoord . xy)- params . destOffset; // // ivec2 srcSubImageCoords = destSubImageCoords; // // if(params . flipX) // { // srcSubImageCoords . x = - srcSubImageCoords . x; // } // if(params . flipY) // { // srcSubImageCoords . y = - srcSubImageCoords . y; // } // if(params . rotateXY) // { // srcSubImageCoords . xy = srcSubImageCoords . yx; // } // // ivec4 srcValue = texelFetch(src, ivec3(params . srcOffset + srcSubImageCoords, params . srcLayer), params . srcMip); // // if(params . premultiplyAlpha) // { // srcValue . rgb *= srcValue . a; // } // else if(params . unmultiplyAlpha && srcValue . a > 0) // { // srcValue . rgb /= srcValue . a; // } // // vec4 destValue = vec4(srcValue); // // destValue /= 255.0; // // if(params . destIsSRGB) // { // // destValue . r = sRGBToLinear(destValue . r); // destValue . g = sRGBToLinear(destValue . g); // destValue . b = sRGBToLinear(destValue . b); // } // // if(params . destHasLuminance) // { // destValue . rg = destValue . ra; // } // else if(params . destIsAlpha) // { // destValue . r = destValue . a; // } // else // { // int defaultChannelsMask = params . destDefaultChannelsMask; // if((defaultChannelsMask & 2)!= 0) // { // destValue . g = 0; // } // if((defaultChannelsMask & 4)!= 0) // { // destValue . b = 0; // } // if((defaultChannelsMask & 8)!= 0) // { // destValue . a = 1; // } // } // // dest = destValue; // }