// 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.00000006.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000006[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xdb,0x4f,0x5c,0x55, 0x14,0xc6,0xcf,0x3e,0x33,0xc3,0x0c,0x6d,0x61,0x86,0x54,0x4a,0x4b,0x45,0xc0,0xa9, 0x56,0x18,0x5b,0x1b,0xad,0x86,0x54,0x44,0x1a,0xb4,0xb4,0x86,0xc4,0x1b,0x8f,0x24, 0xc6,0xc4,0x17,0x1f,0xe8,0x8b,0xbe,0x34,0x31,0xc6,0x18,0xab,0x09,0x6f,0xfd,0x17, 0x7a,0xb1,0x1a,0x83,0x55,0x53,0x4b,0xfb,0x68,0xbd,0x10,0x0d,0x2a,0xb1,0xa1,0x4a, 0xe4,0x49,0x25,0xc6,0x36,0xa2,0x12,0xa1,0xd8,0x88,0x71,0xad,0xb3,0x7f,0xab,0xac, 0x90,0x26,0x9d,0x64,0xe5,0x9c,0xfd,0xad,0xdb,0xb7,0x2e,0x67,0x43,0x2e,0xad,0x16, 0x93,0x24,0x24,0x1b,0x92,0x52,0xf2,0x44,0x48,0xb2,0x5f,0x53,0x92,0x26,0xfa,0xba, 0x31,0xa9,0xcb,0x9e,0x83,0x43,0xcf,0x0e,0xed,0x7e,0xe9,0xe5,0x17,0x76,0xef,0x7d, 0x70,0x8f,0xea,0x1b,0x93,0x5c,0x66,0xa7,0xba,0x72,0x52,0x4c,0xf2,0xf2,0x54,0x19, 0x7d,0xfe,0xc5,0xc3,0x8a,0x9f,0x12,0xb9,0x20,0x52,0x11,0x3b,0xc5,0x25,0x41,0x72, 0x30,0x29,0x24,0x2d,0x31,0x7c,0x52,0xe5,0x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xc8,0xa7,0xef,0xc6, 0x6b,0x1f,0xf5,0xe5,0xdd,0xbd,0x6d,0x76,0x6d,0xcc,0x5a,0xed,0x1e,0x87,0xbb,0x72, 0xdd,0x47,0x3c,0xe3,0xd3,0x0e,0x9f,0x63,0x8e,0x4f,0x47,0x88,0xb8,0xf1,0xa9,0x3a, 0x3e,0xaa,0xeb,0x14,0xa9,0x92,0xa7,0xd3,0xf1,0xe9,0x85,0x8f,0xe6,0x4b,0xe1,0x63, 0x76,0x55,0xc7,0xe7,0x40,0x88,0x36,0xca,0xb1,0x97,0x78,0xc6,0xe7,0x2e,0xf8,0x0c, 0x3b,0x3e,0x77,0x87,0x88,0x1b,0x9f,0x2e,0xc7,0x47,0x75,0x3b,0x45,0xba,0xc8,0xb3, 0xd3,0xf1,0xe9,0x0b,0xf1,0xff,0xc3,0x03,0x61,0x6d,0x9f,0xcc,0xae,0xcb,0xf1,0x39, 0x14,0xa2,0x8d,0x72,0xec,0x23,0x9e,0x9f,0x71,0xb7,0xb3,0x3d,0x18,0xe2,0x3e,0xe8, 0xce,0x1c,0x22,0xaf,0xdf,0xd3,0x9a,0xb3,0x1d,0x0c,0x71,0xbf,0x75,0xdf,0xd5,0x4f, 0xe3,0xf4,0x09,0x93,0x0b,0xe8,0x56,0x65,0x6a,0x3d,0x22,0xff,0x03,0xe5,0x6b,0xe4, 0x92,0xdc,0x0d,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform itexture2D src; // layout(location = 0)out uvec4 dst; // // #line 1 "shaders/src/ImageCopy.inc" // // layout(push_constant)uniform PushConstants { // // ivec2 srcOffset; // ivec2 dstOffset; // int srcMip; // int srcLayer; // int srcSampleCount; // // bool flipX; // bool flipY; // // bool premultiplyAlpha; // bool unmultiplyAlpha; // // bool dstHasLuminance; // bool dstIsAlpha; // // bool srcIsSRGB; // bool dstIsSRGB; // // int dstDefaultChannelsMask; // bool rotateXY; // } params; // // ivec2 transformImageCoords(ivec2 glFragCoords) // { // ivec2 imageCoordsOut = glFragCoords - params . dstOffset; // // if(params . flipX) // { // imageCoordsOut . x = - imageCoordsOut . x; // } // if(params . flipY) // { // imageCoordsOut . y = - imageCoordsOut . y; // } // if(params . rotateXY) // { // imageCoordsOut . xy = imageCoordsOut . yx; // } // // return imageCoordsOut; // } // // uvec4 transformSrcValue(ivec4 srcValue) // { // // if(params . premultiplyAlpha) // { // srcValue . rgb *= srcValue . a; // } // else if(params . unmultiplyAlpha && srcValue . a > 0) // { // srcValue . rgb /= srcValue . a; // } // // uvec4 dstValue = uvec4(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; // } // } // // return dstValue; // } // #line 56 "shaders/src/ImageCopy.frag" // // void main() // { // ivec2 srcSubImageCoords = transformImageCoords(ivec2(gl_FragCoord . xy)); // // ivec4 srcValue = texelFetch(src, params . srcOffset + srcSubImageCoords, params . srcMip); // // dst = transformSrcValue(srcValue); // }