// 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.0000001A.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_0000001A[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0x8b,0x53,0x55,0x55, 0x14,0xc6,0x0f,0xf7,0xc2,0xbd,0x08,0xf2,0x10,0x50,0x42,0xc5,0x12,0xa5,0x87,0x18, 0x62,0x81,0x91,0x80,0x49,0x46,0x92,0x51,0x2a,0x9a,0x95,0x58,0x46,0x92,0x68,0x21, 0x95,0x98,0x69,0x52,0x3e,0x30,0x25,0x2d,0xad,0xa4,0x7c,0xf4,0x12,0x2b,0xd1,0x54, 0xd4,0xfa,0x23,0xfa,0x8b,0x9a,0x1e,0x33,0xcd,0xb4,0xd7,0xb9,0xbf,0xc5,0x7c,0x73, 0xc7,0x8a,0x99,0x3d,0xe7,0xec,0x6f,0xad,0xfd,0xad,0x6f,0xad,0xbd,0xce,0xba,0x24, 0x13,0x0b,0xd2,0x51,0x94,0x13,0x15,0x44,0xf9,0xd1,0x2f,0x51,0xe6,0x6f,0x46,0x94, 0x08,0x48,0x14,0x15,0x46,0xa9,0xf8,0xb9,0xba,0x6b,0x43,0x57,0xfd,0xd0,0x9e,0xbe, 0xfa,0xc6,0xa6,0x06,0xb3,0x17,0x47,0xc9,0xd8,0xcf,0x6c,0x25,0x51,0x3a,0xca,0x0d, 0x4f,0x5b,0xbb,0x7a,0x77,0x0e,0x1a,0x5e,0x14,0xd6,0xed,0xb0,0x4a,0x83,0x9f,0xe1, 0x69,0xe3,0x08,0x6f,0x45,0x31,0xa7,0x9d,0x89,0xa2,0xce,0x28,0x2f,0x2a,0x27,0xde, 0x02,0x9e,0x8e,0xe5,0x80,0xe5,0x0b,0x96,0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x84, 0xfb,0x86,0x68,0xb9,0x29,0xf7,0x6e,0x5a,0x6e,0x52,0x23,0xd3,0xe2,0xfe,0x93,0x59, 0x77,0x3c,0x96,0xd5,0xa3,0xa3,0xd2,0xf3,0x3f,0xc3,0x67,0x5c,0xb7,0xd9,0xff,0x1d, 0xbe,0xf6,0xe6,0xb0,0xfe,0x01,0xdb,0x18,0xa8,0x3f,0x24,0x10,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform utexture2DArray src; // layout(location = 0)out uvec4 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; // } // // uvec4 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; // } // // uvec4 destValue = uvec4(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; // }