// 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.0000002B.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_0000002B[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xed,0x4f,0xd5,0x65, 0x18,0xc7,0x6f,0xce,0x8f,0x73,0x0e,0x42,0x3c,0x08,0x28,0x51,0x61,0xa9,0xb0,0xd9, 0x30,0x38,0x15,0x19,0x41,0xba,0x61,0x86,0xae,0x2c,0x44,0x53,0x2a,0x78,0x91,0x0b, 0x27,0x54,0x9c,0x1e,0x38,0x6b,0xe9,0x5a,0x6b,0x8d,0x14,0xde,0xa4,0x15,0xcc,0x31, 0x6b,0x0a,0x5b,0xc1,0x96,0xc1,0xec,0x45,0x5b,0xaf,0x5a,0x6b,0x45,0x23,0xed,0xe1, 0x8f,0x69,0x3d,0x6c,0x6d,0x5d,0xd7,0x7d,0x3e,0x97,0xbb,0x3a,0xab,0xc9,0x76,0xef, 0xc7,0xfd,0xbd,0x9e,0xbe,0xdf,0xeb,0xba,0xef,0x1b,0x92,0xd4,0xf6,0x6c,0x08,0x65, 0xa1,0x32,0x54,0x84,0x5f,0x43,0xf1,0x67,0x63,0x48,0x09,0x52,0xfc,0xde,0x27,0xdf, 0xaa,0x90,0x89,0xfb,0xfd,0x07,0x8f,0x1c,0xec,0x98,0x2c,0x8c,0x76,0x74,0x3d,0x90, 0x53,0xbf,0x9a,0x90,0x44,0x7f,0xb5,0xd5,0x86,0x6c,0x28,0x97,0xaf,0xae,0x89,0xe3, 0xe3,0x79,0xc5,0xab,0x65,0x7d,0x21,0xab,0x4e,0xfc,0x14,0xcf,0x6a,0x0e,0xf9,0xad, 0x3a,0xe6,0xd4,0x98,0x10,0x0e,0x84,0x74,0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x22,0xf5,0x16,0x1c,0xaf,0x6f,0xd0,0xb7,0xee,0xfe,0x1e,0x98, 0xdf,0xa2,0x9b,0xed,0x35,0x7c,0xe6,0x89,0x59,0x70,0x7c,0x3e,0x81,0x4f,0x8b,0xe3, 0xf3,0x29,0xb8,0xf1,0x59,0x76,0x7c,0xd4,0xb6,0x24,0x6b,0x99,0x3a,0x4b,0x8e,0xcf, 0xb7,0xf0,0xb9,0xc6,0x0c,0x95,0x8f,0xf9,0x2d,0x3b,0x3e,0xd7,0xf1,0x59,0x24,0x66, 0xc9,0xf1,0xb9,0x02,0x9f,0x29,0xc7,0xe7,0x73,0x70,0xe3,0xb3,0xea,0xf8,0xa8,0x6d, 0x45,0xd6,0x2a,0x75,0x56,0x1c,0x9f,0xef,0xf8,0xbf,0xf1,0xba,0x3b,0x4f,0xe6,0xb7, 0xea,0xf8,0xfc,0x82,0xcf,0x32,0x31,0x2b,0x25,0x33,0x9e,0x73,0xbe,0x3f,0x73,0x1e, 0x66,0x89,0x5b,0x2d,0x39,0xa7,0x33,0xce,0xf7,0x27,0xce,0xf7,0x34,0x71,0x73,0xf1, 0x7f,0xb6,0x24,0xfe,0xaf,0xa6,0xb6,0xbf,0x65,0x6a,0xdd,0xb2,0xfe,0x01,0x5a,0x6c, 0x1f,0x83,0x10,0x0e,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform usampler2D src; // layout(location = 0)out uvec4 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; // // 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; // } // // uvec4 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; // } // // uvec4 dstValue = uvec4(srcValue); // // 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; // }