// 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.00000013.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000013[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x98,0x6d,0x68,0x96,0x55, 0x18,0xc7,0xcf,0x79,0x9e,0xbd,0xa9,0xd3,0xcc,0x34,0xe7,0xdb,0xd8,0x7c,0xcb,0xda, 0x9a,0x2f,0xd9,0x34,0xf5,0x51,0x97,0x2f,0x1b,0x35,0x9d,0x9b,0x64,0x68,0xb6,0xb2, 0x2c,0x5d,0xa5,0x2b,0x37,0x28,0x52,0x74,0xea,0x86,0xe6,0x88,0x94,0x3e,0x44,0x65, 0xa6,0x10,0x44,0x44,0x06,0x56,0xfa,0x21,0xad,0x1c,0x61,0x16,0xe5,0x82,0x72,0x50, 0x2e,0xf4,0x53,0x1f,0x23,0x49,0x4b,0x8d,0xa8,0x73,0xdd,0xe7,0x77,0x6d,0x57,0xa3, 0x97,0x07,0x0e,0xf7,0x7d,0xfd,0xaf,0xf7,0xff,0xb9,0xce,0xb9,0x9d,0xe9,0xd4,0xb8, 0x5c,0xe7,0xbc,0xeb,0xef,0xf2,0x5c,0x9d,0x77,0xc9,0xef,0x7a,0x97,0x72,0x9e,0xe7, 0xb4,0xf0,0x1c,0xe0,0x72,0x12,0xb9,0xb2,0x7a,0x79,0x75,0x59,0x53,0xf3,0xda,0xb2, 0xe9,0xb7,0x4f,0x11,0xbb,0x41,0x2e,0x9d,0xd8,0x8b,0xee,0x3a,0x97,0xeb,0xb2,0xc2, 0x53,0xd6,0x86,0x35,0x0d,0x1b,0x05,0x9f,0x18,0xd6,0x85,0xb0,0x06,0x07,0x3b,0xc1, 0x73,0x25,0x46,0x78,0x9b,0x98,0xc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x9a,0x7a,0x66,0x52,0xcf,0x12,0xb3,0xf7,0x6a,0xd7,0x65,0xea,0x59,0xea,0xa3, 0x4d,0x27,0x3e,0x67,0x4d,0x3d,0xdf,0x51,0xcf,0x11,0x53,0xcf,0xf7,0xe0,0x5a,0x4f, 0xb7,0xa9,0x47,0x74,0xe7,0xc2,0xea,0x26,0xcf,0x39,0x53,0xcf,0x2c,0x1f,0xff,0x56, 0x92,0x7c,0xfa,0x8d,0x52,0xbb,0x6e,0x53,0x4f,0xad,0x8f,0x36,0x5d,0xf8,0x9c,0xc3, 0xb6,0x03,0xdb,0x93,0xe6,0xac,0x7f,0x0a,0xdf,0x69,0x93,0x67,0xba,0xef,0xc5,0x5d, 0x1f,0xdf,0x0e,0x93,0x67,0x99,0x8f,0xb9,0xba,0xf1,0x39,0x89,0xed,0x31,0x6c,0x8f, 0xf2,0xad,0x15,0xdb,0x0f,0x89,0x27,0x4b,0xff,0x2f,0x28,0x65,0xbe,0xb5,0xea,0x73, 0xcc,0xc4,0xaf,0xf1,0x31,0x47,0x07,0xfe,0x12,0x6f,0x6e,0xf0,0xb8,0x80,0xee,0x8f, 0x30,0x25,0x33,0xc3,0xfa,0x0b,0x4a,0x3a,0x0e,0xd5,0xc4,0x12,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform isampler2D src; // layout(location = 0)out vec4 dst; // // layout(push_constant)uniform PushConstants { // // ivec2 srcOffset; // ivec2 dstOffset; // int srcMip; // int srcLayer; // // bool flipX; // bool flipY; // // bool premultiplyAlpha; // bool unmultiplyAlpha; // // bool dstHasLuminance; // bool dstIsAlpha; // // bool srcIsSRGB; // bool dstIsSRGB; // // int dstDefaultChannelsMask; // 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 dstSubImageCoords = ivec2(gl_FragCoord . xy)- params . dstOffset; // // ivec2 srcSubImageCoords = dstSubImageCoords; // // if(params . flipX) // { // srcSubImageCoords . x = - srcSubImageCoords . x; // } // if(params . flipY) // { // srcSubImageCoords . y = - srcSubImageCoords . y; // } // if(params . rotateXY) // { // srcSubImageCoords . xy = srcSubImageCoords . yx; // } // // ivec4 srcValue = texture( // src, vec2(params . srcOffset + srcSubImageCoords)/ textureSize(src, 0), params . srcMip); // // if(params . premultiplyAlpha) // { // srcValue . rgb *= srcValue . a; // } // else if(params . unmultiplyAlpha && srcValue . a > 0) // { // srcValue . rgb /= srcValue . a; // } // // vec4 dstValue = vec4(srcValue); // // dstValue /= 255.0; // // if(params . dstIsSRGB) // { // // dstValue . r = sRGBToLinear(dstValue . r); // dstValue . g = sRGBToLinear(dstValue . g); // dstValue . b = sRGBToLinear(dstValue . b); // } // // if(params . dstHasLuminance) // { // dstValue . rg = dstValue . ra; // } // else if(params . dstIsAlpha) // { // dstValue . r = dstValue . a; // } // else // { // int defaultChannelsMask = params . dstDefaultChannelsMask; // if((defaultChannelsMask & 2)!= 0) // { // dstValue . g = 0; // } // if((defaultChannelsMask & 4)!= 0) // { // dstValue . b = 0; // } // if((defaultChannelsMask & 8)!= 0) // { // dstValue . a = 1; // } // } // // dst = dstValue; // }