// 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.00000015.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000015[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0x8b,0x53,0x55,0x55, 0x14,0x87,0x0f,0xf7,0xc2,0xbd,0x08,0xf2,0x10,0x50,0x42,0xc5,0xf2,0x41,0x0f,0x31, 0xc4,0x42,0x33,0x01,0x95,0x8c,0x24,0xa3,0x54,0x34,0x2b,0xb1,0x08,0x03,0x4b,0x4c, 0xd3,0x24,0x4d,0xca,0x67,0x0a,0x96,0x56,0x52,0x3e,0x7a,0x89,0x95,0x68,0x25,0x62, 0xfd,0x17,0xfd,0x45,0x4d,0x8f,0x99,0x66,0xda,0xeb,0xdc,0x6f,0x31,0xbf,0x39,0x63, 0xc5,0xcc,0x9e,0x73,0xf6,0xb7,0xd7,0x5e,0xfb,0xb7,0x1e,0x67,0x5f,0xd2,0xa9,0x85, 0xd9,0x28,0xca,0x8b,0x8a,0xa2,0xc2,0xe8,0x97,0x28,0xf7,0x37,0x23,0x4a,0x05,0x12, 0x45,0xc5,0x51,0x26,0x7e,0xae,0xef,0xdc,0xd2,0xd9,0x70,0x70,0xb0,0xaf,0xa1,0x69, 0x79,0xa3,0xad,0x97,0x46,0xe9,0xd8,0xce,0xd6,0xca,0xa2,0x6c,0x94,0x1f,0x9e,0x36, 0xf6,0xf6,0xee,0xde,0x67,0xbc,0x24,0x8c,0x3b,0x61,0x94,0x07,0x3b,0xe3,0x59,0xf3, 0x11,0xde,0x4a,0x62,0x9f,0xb6,0x27,0x8a,0x3a,0xa2,0x82,0xa8,0x92,0xf3,0x16,0xf2, 0x74,0x96,0x07,0x2b,0x14,0x96,0x82,0x95,0x0b,0x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,0xb0,0xf4,0xfc,0xcf,0xf8, 0x33,0x5f,0x77,0x98,0xff,0x1d,0xbe,0xf6,0x95,0x61,0xfc,0x03,0xe2,0x08,0x57,0x4f, 0xf4,0x0f,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 ivec4 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; // // 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; // } // // ivec4 destValue = ivec4(srcValue); // // 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; // }