// 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.00000017.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopy_frag_00000017[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xfd,0x4f,0xd5,0x65, 0x18,0xc6,0xbf,0xe7,0x8d,0x83,0x10,0x2f,0x02,0x4a,0x54,0x58,0x26,0x6c,0x36,0x0c, 0x58,0x91,0x11,0xa4,0x1b,0xa6,0xe8,0xca,0x42,0x34,0xa5,0x82,0x2d,0x4b,0x16,0x5a, 0xa0,0xc5,0xa9,0xa5,0x6b,0x6b,0x2d,0x4c,0xf8,0x21,0xad,0x60,0x8d,0x59,0x2b,0xd8, 0x0a,0x7e,0x48,0x98,0xfd,0xd0,0xd6,0x4f,0xad,0xb5,0xb2,0x48,0x7b,0xf9,0x6b,0x5a, 0x2f,0x5b,0x5b,0xcf,0xfd,0x9c,0xcf,0xed,0xae,0xce,0x6a,0x9e,0xed,0xd9,0xf7,0x3c, 0xd7,0xfd,0x76,0x5d,0xf7,0xfd,0x7c,0x9f,0x73,0x32,0xe9,0x2d,0xf9,0x24,0x49,0x25, 0x15,0x49,0x79,0xf2,0x6b,0x52,0xfc,0xac,0x4f,0xd2,0x01,0x29,0x3e,0xef,0x09,0xcf, 0xca,0xa4,0x2c,0xee,0xf7,0xee,0x3f,0xb4,0xbf,0xbd,0xf0,0xf2,0x68,0x7b,0xd7,0x7d, 0x9d,0xe6,0x57,0x9d,0x64,0xa2,0xbf,0xd9,0x6a,0x92,0x7c,0x92,0x0d,0x4f,0x5b,0x13, 0xcf,0x9c,0x38,0x69,0x78,0x55,0x58,0x9f,0x87,0x55,0x1b,0xfc,0x0c,0xcf,0x5b,0x8e, 0xf0,0xad,0x2a,0xe6,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x41,0x78,0x7d,0x4d,0xcc,0x9a,0xfc,0x1e,0xb8,0xdf,0xa2,0xcc,0xf6,0x2a, 0x3e,0xf3,0xc4,0x2c,0x08,0x9f,0x4f,0xe0,0xd3,0x2c,0x7c,0x3e,0x05,0x77,0x3e,0xcb, 0xc2,0xc7,0x6c,0x4b,0x61,0x2d,0x53,0x67,0x49,0xf8,0x7c,0x43,0xcc,0x55,0x66,0x68, 0x7c,0xdc,0x6f,0x59,0xf8,0x5c,0xc3,0x67,0x91,0x98,0x25,0xe1,0xf3,0x19,0x7c,0xa6, 0x84,0xcf,0x25,0x70,0xe7,0xb3,0x2a,0x7c,0xcc,0xb6,0x12,0xdf,0xf5,0x62,0x9d,0x15, 0xe1,0xf3,0x2d,0xff,0x53,0xae,0xc9,0x79,0x72,0xbf,0x55,0xe1,0xf3,0x0b,0x3e,0xcb, 0xc4,0xac,0x94,0xcc,0x78,0x4e,0x7c,0x7f,0xe6,0x3c,0xcc,0x12,0xb7,0x5a,0x72,0x4e, 0x67,0xc4,0xf7,0x27,0xce,0xf7,0x34,0x71,0x73,0xf1,0x3f,0x5b,0x26,0xfe,0x57,0x33, 0xdb,0xdf,0x61,0x6a,0xdd,0x61,0xfd,0x03,0xb2,0x7b,0xf8,0x8a,0x00,0x0e,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform isampler2D src; // layout(location = 0)out ivec4 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; // // 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; // } // // ivec4 srcValue = texture( // src, vec2(params . srcOffset + srcSubImageCoords)/ textureSize(src, 0), params . srcMip); // // 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; // } // } // // dst = dstValue; // }