// 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.00000022.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000022[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x98,0x6d,0x68,0x96,0x55, 0x18,0xc7,0xcf,0x79,0x9e,0xed,0xd9,0xd4,0x69,0x66,0x9a,0xf3,0x6d,0x6c,0xbe,0x65, 0x6d,0xcd,0x97,0x6c,0x9a,0xfa,0xa8,0xcb,0x97,0x8d,0x9a,0xce,0x4d,0x0a,0xcc,0x4c, 0x34,0x2b,0x35,0x9d,0xb5,0x05,0x45,0x8a,0x4e,0xdd,0x2a,0x1d,0x91,0xd2,0x87,0x28, 0xcd,0x14,0x82,0x88,0xc2,0xc0,0x4a,0x3f,0xa4,0x95,0x23,0xcc,0xa2,0x5c,0x50,0x0e, 0xca,0x85,0x7e,0xea,0x63,0x24,0x69,0xa9,0x11,0x75,0xae,0xfb,0xfc,0xae,0xed,0x72, 0xf4,0xf2,0xc0,0xe1,0xbe,0xcf,0xff,0xba,0xfe,0xd7,0xcb,0xff,0xbc,0xdc,0xce,0x74, 0x6a,0x4c,0x9e,0x73,0xde,0xf5,0x75,0xf9,0xae,0xde,0xbb,0xe4,0x77,0xa3,0x4b,0x39, 0x79,0xed,0xe7,0x32,0xc9,0xb3,0xaa,0x66,0x69,0x4d,0x79,0xd3,0x53,0x6b,0xca,0xa7, 0xde,0x39,0x49,0xec,0x03,0x5c,0x3a,0xf1,0x13,0xdb,0x0d,0x2e,0xcf,0xe5,0x84,0xa7, 0x8c,0x8d,0xab,0xd6,0x35,0x08,0x3e,0x3e,0x8c,0x0b,0x61,0x0c,0x0c,0x7e,0x82,0xe7, 0x49,0x8c,0xf0,0x36,0x3e,0x89,0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xa9,0x67, 0x3a,0xf5,0x2c,0x32,0x6b,0xaf,0x7e,0x9d,0xa6,0x9e,0xc5,0x3e,0xfa,0x74,0xc0,0x39, 0x6b,0xea,0xf9,0x9e,0x7a,0x8e,0x98,0x7a,0x7e,0x00,0xd7,0x7a,0xba,0x4c,0x3d,0x62, 0x3b,0x17,0x46,0x17,0x79,0xce,0x99,0x7a,0x66,0xf8,0xf8,0x77,0x92,0xe4,0xd3,0x6f, 0x94,0xfa,0x75,0x99,0x7a,0xea,0x7c,0xf4,0xe9,0x84,0x73,0x0e,0xdf,0x76,0x7c,0x4f, 0x9a,0xb3,0xfe,0x19,0x7a,0xa7,0x4d,0x9e,0xa9,0xbe,0x07,0x77,0xbd,0xb8,0xed,0x26, 0xcf,0x12,0x1f,0x73,0x75,0xc1,0x39,0x89,0xef,0x31,0x7c,0x8f,0xf2,0xad,0x15,0xdf, 0x8f,0x88,0x27,0x43,0xff,0x6f,0x28,0x65,0xbe,0xb5,0xca,0x39,0x66,0xe2,0xd7,0xfa, 0x98,0xa3,0x1d,0xbe,0xc4,0x9b,0x1d,0x18,0x17,0xb0,0xfd,0x19,0x76,0xc9,0xf4,0x30, 0xfe,0x06,0xd3,0x23,0xff,0xa6,0xcc,0x12,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform utexture3D src; // layout(location = 0)out vec4 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 sRGBToLinear(float sRGB) // { // // if(sRGB <= 0.04045) // { // return sRGB / 12.92; // } // else // { // return pow((sRGB + 0.055f)/ 1.055f, 2.4f); // } // } // // 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, 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; // } // // vec4 dstValue = vec4(srcValue); // // dstValue /= 255.0; // // if(params . dstIsSRGB) // { // // dstValue . r = sRGBToLinear(dstValue . r); // dstValue . g = sRGBToLinear(dstValue . g); // dstValue . b = sRGBToLinear(dstValue . b); // } // // 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; // }