// 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.00000024.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000024[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xed,0x4f,0xd5,0x65, 0x18,0xc7,0xef,0x73,0x7e,0xe7,0x9c,0x1f,0x42,0x3c,0x08,0x28,0xe1,0xc2,0xf2,0x81, 0xad,0x86,0xc1,0xd9,0x22,0x23,0x48,0x37,0x32,0x32,0x11,0x25,0x85,0x17,0xb5,0x74, 0x42,0x09,0xcb,0x20,0x96,0xa6,0x2f,0x20,0x85,0x56,0x6a,0xc1,0x1a,0xb3,0x56,0xb0, 0x19,0xbc,0x48,0x98,0xbe,0xa8,0xf5,0xaa,0xb5,0x56,0xba,0xd2,0x9e,0xfe,0xa2,0xd6, 0xc3,0xd6,0xd6,0x75,0xdd,0xe7,0x73,0xb9,0xab,0xb3,0x9a,0x6c,0xf7,0x7e,0xe7,0xfe, 0x5e,0x4f,0xdf,0xef,0x75,0x5f,0xf7,0xad,0x49,0x76,0x47,0x1a,0x42,0x26,0x54,0x86, 0x8a,0xf0,0x4b,0x28,0xfd,0x6d,0x0c,0x59,0x41,0x42,0xa8,0x0a,0x85,0xf8,0xdd,0x3f, 0x30,0x34,0xd0,0xfe,0xe6,0xd9,0x93,0xed,0x9d,0x8f,0x17,0xd5,0x5e,0x13,0x92,0xe8, 0xa7,0xb6,0xda,0x90,0x86,0x9c,0x7c,0x75,0xbd,0x3e,0x7a,0x6a,0x4a,0xf1,0x6a,0x59, 0x37,0x64,0xd5,0x89,0x9f,0xe2,0xa9,0xe6,0x90,0x5f,0xd5,0x31,0xa7,0xc6,0x84,0xf0, 0x5c,0xc8,0x87,0x06,0xea,0xed,0xe0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6, 0x15,0x59,0xab,0xd4,0x59,0x71,0x7c,0xbe,0x21,0xe6,0x36,0x67,0xa8,0x7c,0xcc,0x6f, 0xd5,0xf1,0xb9,0x83,0xcf,0x32,0x31,0x2b,0x8e,0xcf,0x67,0xf0,0x99,0x71,0x7c,0xae, 0x81,0x1b,0x9f,0x75,0xc7,0x47,0x6d,0x6b,0xb2,0xd6,0xa9,0xb3,0xe6,0xf8,0x7c,0xcb, 0xff,0x27,0xee,0xb8,0x79,0x32,0xbf,0x75,0xc7,0xe7,0x67,0x7c,0x56,0x89,0x59,0x2b, 0x3b,0xe3,0x05,0xe7,0xfb,0x13,0xf3,0x30,0x4f,0xdc,0x7a,0xd9,0x9c,0xce,0x39,0xdf, 0x1f,0x99,0xef,0x59,0xe2,0x34,0xcf,0x5e,0x61,0x72,0x03,0xdb,0xdf,0x72,0x6a,0x5d, 0xb2,0xfe,0x01,0x8a,0xb7,0x70,0x53,0xa4,0x0d,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform utexture2D src; // layout(location = 0)out ivec4 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 = texelFetch(src, params . srcOffset + srcSubImageCoords, params . srcMip); // // if(params . premultiplyAlpha) // { // srcValue . rgb *= srcValue . a; // } // else if(params . unmultiplyAlpha && srcValue . a > 0) // { // srcValue . rgb /= srcValue . a; // } // // ivec4 dstValue = ivec4(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; // }