// 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.00000025.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000025[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x56,0xcd,0x6f,0x55,0x75, 0x10,0xbd,0x73,0xdf,0xeb,0x7b,0xad,0xa5,0x7c,0x84,0x3e,0x4a,0x1b,0x83,0x2d,0x85, 0x28,0x56,0x2b,0x8d,0xd4,0xaa,0xb5,0xad,0x2e,0x8c,0x24,0xc5,0xa0,0x36,0x04,0x88, 0x89,0x3e,0x49,0x05,0xca,0x47,0x0d,0xb6,0x8a,0x2b,0x63,0x8c,0x89,0x1b,0x17,0xdd, 0xf1,0x27,0x00,0x02,0x2e,0x10,0x35,0xa2,0x82,0x14,0x12,0x37,0xe2,0x07,0xd1,0x54, 0x6d,0x34,0x55,0x1b,0xbb,0x52,0x1b,0x63,0x15,0x89,0x15,0xe7,0xdc,0x39,0xe3,0x1b, 0x2b,0xb1,0xc9,0x2f,0xf7,0xce,0xf9,0x9d,0x99,0x39,0xf3,0xf1,0x6e,0x9a,0x4b,0x5b, 0x8b,0x49,0x22,0x49,0x6d,0x52,0x9d,0x3c,0x27,0x49,0xf6,0xb7,0x2c,0x49,0x13,0xbc, 0xd6,0x26,0x85,0xec,0xf9,0xc0,0xa6,0x81,0x4d,0xed,0x23,0xa3,0x83,0xed,0x1b,0x3a, 0xd7,0xe3,0x7e,0x71,0x92,0xcb,0x78,0xb8,0x5b,0x92,0x14,0x93,0xbc,0x3e,0x71,0xf6, 0x3f,0x31,0x34,0x0c,0xfc,0x55,0x3d,0x17,0xf4,0x2c,0x55,0x1e,0xf0,0x22,0x62,0xe8, 0xfb,0x0a,0x7d,0xa6,0x7a,0x36,0x26,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0x71,0x7a, 0x55,0xc9,0x05,0xde,0xcd,0xeb,0xd4,0xee,0xd4,0xf3,0x37,0xed,0x76,0x13,0x3b,0xdc, 0x0e,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 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(ivec4 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)); // // ivec4 srcValue = texelFetch(src, ivec3(params.srcOffset + srcSubImageCoords, params.srcLayer), params.srcMip); // // dst = transformSrcValue(srcValue); // }