// 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.00000005.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000005[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x97,0xfb,0x6f,0x54,0x45, 0x14,0xc7,0xef,0xec,0x6e,0xbb,0x05,0xa4,0x96,0x6c,0xe5,0xb1,0x21,0xa4,0x95,0x0a, 0x08,0x58,0x2a,0x22,0x94,0xc7,0x22,0x58,0xa0,0x35,0x22,0x48,0x1b,0x12,0x44,0x7c, 0x54,0x51,0xa8,0x3c,0x14,0xd4,0x5f,0xf8,0x41,0x89,0x88,0x6d,0x82,0x81,0x08,0x2a, 0x8d,0x28,0x8d,0x11,0x22,0x91,0x44,0x50,0x21,0x51,0x40,0x69,0x0c,0x01,0xa3,0x34, 0x51,0x1a,0x95,0x06,0xfe,0x02,0x23,0x91,0xa8,0x20,0x2a,0x82,0x73,0xee,0x7c,0x4e, 0xf7,0xb8,0x8a,0x4d,0x26,0xf7,0xce,0x77,0xce,0xf7,0x3c,0xbe,0x73,0x66,0xf6,0x36, 0x99,0x18,0x9e,0x8e,0x22,0x17,0xf5,0x8d,0x4a,0xa2,0xbb,0x5c,0x14,0xff,0x0d,0x88, 0x12,0x91,0xbc,0xf6,0x8b,0x8a,0xe3,0x67,0xfd,0xdc,0xa6,0xb9,0xd5,0x4f,0x3f,0xb3, 0xb4,0x7a,0xc2,0xed,0x35,0xb2,0x5e,0x1a,0x25,0x63,0x3b,0x59,0xbb,0x3e,0x4a,0x47, 0x29,0xff,0x94,0xb1,0xaa,0xb9,0x65,0xb5,0xe0,0x23,0xfc,0x38,0xeb,0x47,0x99,0xb7, 0x13,0x3c,0x2d,0x3e,0xfc,0xdb,0x88,0xd8,0x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 0xbf,0xc9,0xe7,0x7b,0x70,0xcd,0xa7,0xc7,0xe4,0x23,0x6b,0xa7,0xfd,0xe8,0x21,0xce, 0x69,0x93,0xcf,0x44,0x17,0xfe,0x67,0x98,0xed,0xf2,0xfd,0xaa,0x76,0x3d,0x26,0x9f, 0x06,0x17,0x6c,0xba,0xe1,0x9c,0xc6,0xb6,0x13,0xdb,0xa3,0xe6,0x3b,0xed,0x73,0xf4, 0x4e,0x9a,0x38,0x35,0x2e,0x8f,0x47,0x05,0xdc,0x4e,0x13,0xa7,0xde,0x85,0x58,0x3d, 0x70,0x8e,0x62,0x7b,0x10,0xdb,0x03,0x9c,0x3b,0xb1,0xfd,0x04,0x7f,0xfb,0x38,0x77, 0x69,0xce,0x6a,0xb2,0x80,0x73,0xd0,0xf8,0x9f,0xe3,0x42,0x8c,0x4e,0xf8,0xe2,0x6f, 0xba,0x67,0x9c,0x65,0xed,0x2f,0xdf,0x25,0xb5,0x7e,0xfc,0x0d,0x63,0x64,0x8f,0xf3, 0x88,0x12,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform texture2DArray 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; // // float linearToSRGB(float linear) // { // // if(linear <= 0.0031308) // { // return linear * 12.92; // } // else // { // return pow(linear,(1.0f / 2.4f))* 1.055f - 0.055f; // } // } // // 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; // } // // vec4 srcValue = texelFetch(src, ivec3(params . srcOffset + srcSubImageCoords, params . srcLayer), params . srcMip); // // if(params . srcIsSRGB) // { // // srcValue . r = linearToSRGB(srcValue . r); // srcValue . g = linearToSRGB(srcValue . g); // srcValue . b = linearToSRGB(srcValue . b); // } // // if(params . premultiplyAlpha) // { // srcValue . rgb *= srcValue . a; // } // else if(params . unmultiplyAlpha && srcValue . a > 0) // { // srcValue . rgb /= srcValue . a; // } // // srcValue *= 255.0; // // 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; // }