// 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.00000026.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000026[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x56,0x5d,0x6f,0x55,0x55, 0x10,0x3d,0x73,0xee,0xed,0xbd,0xb7,0x14,0xfb,0x81,0x08,0xb4,0x56,0xac,0x42,0x04, 0xad,0x42,0x0d,0x60,0xd5,0x5a,0xa5,0x69,0x1b,0x4d,0x6c,0xd4,0x4a,0x7c,0x68,0x08, 0x69,0x6e,0x42,0x08,0x22,0x2d,0x5f,0x35,0x0a,0x02,0x31,0xc6,0xc4,0x67,0x1f,0xfa, 0xc6,0x3f,0x90,0xa2,0xe8,0x03,0x22,0x46,0x54,0x90,0xc2,0xa3,0xf8,0x41,0x34,0x55, 0x1b,0x4d,0xd1,0xc6,0x3e,0x29,0x0d,0x52,0x43,0x74,0xd6,0x99,0x35,0xde,0xb1,0x12, 0x6f,0xb2,0x73,0xce,0x5e,0x7b,0xcd,0xcc,0x9a,0x8f,0xb3,0xdb,0x5c,0xba,0xa2,0x98, 0x24,0x92,0xd4,0x24,0xa5,0xe4,0xb0,0x24,0xd9,0xaf,0x21,0x49,0x13,0xbc,0xd6,0x24, 0x85,0xec,0xf9,0x78,0xdf,0xa6,0xbe,0x35,0xfb,0x46,0xb6,0xae,0x59,0xbf,0xa1,0x0d, 0xe7,0xb5,0x49,0x2e,0xe3,0xe1,0xac,0x2e,0x29,0x26,0x79,0x7d,0x62,0x0d,0x95,0x9f, 0x1f,0x06,0xfe,0xb6,0xae,0x0b,0xba,0xea,0x95,0x07,0xbc,0x08,0x1f,0xfa,0xbe,0x54, 0x9f,0xa9,0xae,0x27,0x92,0xaa,0xec,0x1d,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,0x99,0x39,0xc4,0xb8,0x71,0x4e,0x7b,0x03,0xf7,0x15,0xb1,0x99,0xc6,0x37, 0x02,0x3b,0xf8,0x79,0x54,0x95,0x5c,0xe0,0xd9,0x75,0xed,0xda,0x83,0xba,0xfe,0x06, 0xe4,0x75,0x4e,0xb1,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 itexture3D 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, ivec3(params.srcOffset + srcSubImageCoords, params.srcLayer), params.srcMip); // // dst = transformSrcValue(srcValue); // }