// 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.00000019.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000019[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x56,0x5d,0x6f,0x54,0x55, 0x14,0xbd,0xfb,0x4e,0x3b,0x33,0x65,0x68,0x9d,0x2a,0x02,0xad,0x15,0xab,0x34,0x82, 0x56,0xa1,0x46,0xb0,0x6a,0xad,0xd2,0xb4,0x8d,0x26,0x82,0x5a,0x89,0x0f,0x40,0x48, 0x43,0x42,0x08,0x22,0x2d,0x5f,0x35,0x0a,0x02,0x31,0xc6,0xf8,0xea,0x43,0xd3,0x27, 0x7e,0x42,0x8b,0xa2,0x0f,0x88,0x1a,0xf1,0x03,0xa4,0xf0,0x28,0x7e,0x10,0x4d,0xd5, 0x46,0x53,0xb5,0xb1,0x4f,0x4a,0xa3,0x60,0x88,0xee,0x75,0xf7,0xda,0xce,0xb6,0x10, 0x27,0x39,0xb9,0xf7,0xac,0xb3,0xf6,0xde,0x6b,0x7f,0xdc,0x93,0xc9,0xa5,0x4b,0x0b, 0x49,0x22,0x49,0x29,0x29,0x26,0x87,0x25,0xc9,0x7e,0xf5,0x49,0x9a,0xe0,0xb5,0x94, 0xe4,0xb3,0xe7,0xa3,0x6b,0xd7,0xaf,0x5d,0xb1,0x6f,0x68,0xeb,0x8a,0x55,0xab,0xdb, 0x70,0x5e,0x97,0xe4,0x32,0x1e,0xce,0xae,0x4b,0x0a,0x49,0x95,0x3e,0xb1,0x06,0xb6, 0x3c,0x3b,0x08,0xfc,0x0d,0x5d,0xe7,0x74,0x95,0x95,0x07,0xbc,0x00,0x1f,0xfa,0xbe, 0x48,0x9f,0xa9,0xae,0xc7,0x92,0xea,0xec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3c,0x87,0xa9, 0x90,0x03,0xce,0x26,0x75,0x4d,0x31,0xee,0x64,0xc8,0xe1,0x07,0xc6,0x96,0x90,0xc3, 0x8f,0xc4,0x3d,0x87,0x27,0xc4,0x30,0xe7,0x21,0x07,0xf7,0x35,0x15,0x72,0x18,0x12, 0xe3,0x4c,0xd0,0x66,0x32,0xe4,0xf0,0x13,0x73,0x18,0x08,0x39,0xfc,0x4c,0xdc,0x73, 0xf8,0x85,0x98,0xe7,0x30,0x13,0x72,0xc0,0xd9,0xb4,0xae,0x19,0xc6,0x9d,0xe6,0x1c, 0x21,0xee,0xaf,0x8c,0x3d,0x24,0x95,0xef,0x0d,0x1a,0x9d,0x3b,0x13,0x34,0x3e,0x4f, 0xde,0x14,0xed,0xa6,0x39,0x4f,0xf8,0x26,0xdf,0xe5,0xf7,0xe8,0x33,0xf7,0x1e,0x35, 0x8f,0x84,0x99,0x7b,0x9f,0xf8,0xcb,0x9c,0xb9,0x0f,0x88,0xc1,0x2f,0xec,0x70,0x27, 0x7d,0x48,0xbb,0x93,0xb4,0x43,0x4d,0x3f,0x22,0xee,0x75,0xff,0x84,0xb6,0x49,0xc0, 0x4e,0x11,0x43,0x0e,0x4f,0x29,0x82,0xef,0xff,0x34,0xb9,0xa7,0xe8,0xc3,0x63,0x7c, 0xca,0x18,0xc3,0x21,0xc6,0x19,0xe2,0xfd,0xaa,0x0c,0x77,0xff,0x38,0x73,0x3a,0xcd, 0x7b,0xea,0x4c,0xe8,0xc7,0x6f,0xb4,0x1f,0x0c,0xfd,0xf8,0x9d,0xb8,0xf7,0xe3,0x22, 0x31,0xef,0x47,0xa3,0x54,0xfa,0x71,0x31,0xab,0xa9,0xfa,0x15,0xab,0xf1,0x2c,0xf3, 0xa8,0xcd,0xb8,0x16,0x3b,0x97,0xf5,0xa8,0x98,0xdd,0xe3,0x97,0x88,0x8d,0x87,0x6f, 0x3d,0x65,0x9e,0xeb,0x32,0x9f,0x66,0xe7,0xeb,0x55,0xf5,0x05,0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0xdc,0x13,0xb8,0x07,0xc5,0xe6,0x01,0x33,0x73,0x88,0x71,0xe3,0x9c,0xf6, 0x06,0xee,0x4b,0x62,0x33,0x8d,0x6f,0x04,0x76,0xf0,0xf3,0xb0,0x2a,0x39,0xc7,0xb3, 0x2b,0xda,0xb5,0xfb,0x75,0xfd,0x03,0x08,0xc6,0x4c,0x66,0x0c,0x0f,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 utexture2DArray src; // layout(location = 0) out ivec4 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; // } // // ivec4 transformSrcValue(uvec4 srcValue) // { // // 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; // } // } // // return dstValue; // } // #line 56 "shaders/src/ImageCopy.frag" // // void main() // { // ivec2 srcSubImageCoords = transformImageCoords(ivec2(gl_FragCoord.xy)); // // uvec4 srcValue = texelFetch(src, ivec3(params.srcOffset + srcSubImageCoords, params.srcLayer), params.srcMip); // // dst = transformSrcValue(srcValue); // }