blob: 7beda99bf13be28b33f0d2a8fe25a26f5c9330f8 [file] [log] [blame]
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_vk_internal_shaders.py.
//
// Copyright 2020 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,0x85,0x96,0x8b,0x53,0x55,0x55,
0x14,0xc6,0x0f,0xf7,0xc2,0xbd,0x3c,0x44,0x10,0x50,0x43,0xc5,0xf2,0x41,0x0f,0x31,
0xc4,0x02,0x33,0x81,0x94,0x8c,0x24,0xa3,0x14,0x34,0x2b,0xa1,0x08,0x03,0x4b,0x4c,
0x92,0x24,0x4d,0x22,0x31,0x45,0x2d,0xad,0xa4,0xf2,0xd1,0x4b,0xac,0x44,0x2b,0x11,
0xeb,0xbf,0xe8,0x2f,0x6a,0x7a,0xcc,0x34,0xd3,0x5e,0xe7,0xfe,0x16,0xf3,0xcd,0x1d,
0x2b,0x66,0xf6,0xdc,0xb3,0xbe,0xf5,0xed,0xb5,0xbf,0xb5,0xd6,0x3e,0xeb,0x90,0x4c,
0xac,0x48,0x47,0x51,0x4e,0x54,0x18,0xe5,0x47,0xbf,0x44,0x99,0xbf,0x79,0x51,0x22,
0x20,0x51,0x54,0x14,0xa5,0xe2,0xdf,0x2d,0xed,0x3b,0xda,0x6b,0x0f,0x0d,0xf7,0xd5,
0xd6,0x37,0xd4,0x99,0x7f,0x6e,0x94,0x8c,0x79,0xe6,0x2b,0x89,0xd2,0x51,0x6e,0xf8,
0xb5,0x75,0xa0,0x77,0xdf,0xa0,0xe1,0xc5,0x61,0xdd,0x0e,0xab,0x34,0xf0,0x0c,0x4f,
0x5b,0x8c,0xf0,0x54,0x1c,0xc7,0xb4,0x3d,0x51,0xd4,0x16,0xe5,0x45,0xe5,0x9c,0xb7,
0x82,0x5f,0xc7,0x72,0xc0,0xf2,0x05,0x4b,0x80,0x95,0x0a,0x96,0x04,0xab,0x10,0x2c,
0x17,0xec,0x2e,0xc1,0xf2,0xc0,0x96,0x08,0x96,0x02,0xbb,0x47,0xb0,0x34,0xd8,0x4a,
0xc1,0xf2,0xc1,0xee,0x17,0xac,0x00,0x6c,0xb5,0x60,0x85,0x60,0x75,0x82,0x15,0x81,
0xd5,0x0b,0x36,0x07,0x6c,0xbd,0x60,0xc5,0x60,0x4d,0x71,0x9d,0x92,0xb3,0xf9,0x5a,
0xcd,0x36,0x87,0xdf,0xe5,0xd4,0xc7,0xed,0x65,0x62,0x5b,0x9d,0x97,0x62,0x97,0x87,
0x5d,0x89,0xd8,0x9f,0x8c,0x6b,0x63,0xcf,0xf3,0x03,0x27,0x45,0x9e,0x56,0xd7,0x85,
0xc1,0x4e,0x93,0x7f,0x22,0xc6,0x73,0xe3,0x1c,0xd3,0xac,0x05,0x61,0x67,0x21,0x7c,
0xe3,0x16,0x91,0x5b,0x2e,0xdc,0x39,0xc4,0x31,0xbc,0x11,0xbb,0x58,0x62,0xcf,0x85,
0xef,0x67,0x97,0x11,0x2b,0x8a,0x75,0x96,0xce,0xd6,0xd9,0x35,0xd8,0x2a,0xfb,0x9f,
0xe5,0x1c,0x3b,0xbf,0x82,0xfa,0x97,0x73,0x7e,0x45,0x7c,0x4e,0x06,0xab,0x21,0xd7,
0x05,0xe8,0x31,0xfe,0x42,0x7c,0x69,0xf1,0x57,0x49,0x3e,0x4b,0xf1,0x97,0xc5,0xf7,
0x28,0x11,0xd7,0xb6,0x06,0xdd,0x5e,0x77,0xe3,0xdd,0x2b,0x9a,0x3d,0x4e,0x0d,0x77,
0xcb,0xf9,0x6b,0x39,0xd7,0xfd,0xeb,0xa8,0x8d,0xd5,0xe5,0x31,0xf6,0xfa,0xb9,0x1b,
0x89,0x67,0x78,0x65,0x50,0xd0,0x22,0x3d,0x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b,0xd4,0xc8,0xb4,0x38,0x7f,0x3a,0xab,0xc7,0x13,0x59,0x77,
0x74,0x5c,0xee,0xfc,0xcf,0xc4,0xb3,0x58,0xb7,0xb1,0xff,0x0e,0x93,0x65,0x7d,0x58,
0xff,0x00,0xa6,0x10,0xcb,0x8b,0xd8,0x0f,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// layout(set = 0, binding = 0)uniform itexture3D src;
// layout(location = 0)out uvec4 dest;
//
// layout(push_constant)uniform PushConstants {
//
// ivec2 srcOffset;
// ivec2 destOffset;
// int srcMip;
// int srcLayer;
//
// bool flipX;
// bool flipY;
//
// bool premultiplyAlpha;
// bool unmultiplyAlpha;
//
// bool destHasLuminance;
// bool destIsAlpha;
//
// bool srcIsSRGB;
// bool destIsSRGB;
//
// int destDefaultChannelsMask;
// bool rotateXY;
// } params;
//
// void main()
// {
// ivec2 destSubImageCoords = ivec2(gl_FragCoord . xy)- params . destOffset;
//
// ivec2 srcSubImageCoords = destSubImageCoords;
//
// if(params . flipX)
// {
// srcSubImageCoords . x = - srcSubImageCoords . x;
// }
// if(params . flipY)
// {
// srcSubImageCoords . y = - srcSubImageCoords . y;
// }
// if(params . rotateXY)
// {
// srcSubImageCoords . xy = srcSubImageCoords . yx;
// }
//
// ivec4 srcValue = texelFetch(src, ivec3(params . srcOffset + srcSubImageCoords, params . srcLayer), params . srcMip);
//
// if(params . premultiplyAlpha)
// {
// srcValue . rgb *= srcValue . a;
// }
// else if(params . unmultiplyAlpha && srcValue . a > 0)
// {
// srcValue . rgb /= srcValue . a;
// }
//
// uvec4 destValue = uvec4(srcValue);
//
// if(params . destHasLuminance)
// {
// destValue . rg = destValue . ra;
// }
// else if(params . destIsAlpha)
// {
// destValue . r = destValue . a;
// }
// else
// {
// int defaultChannelsMask = params . destDefaultChannelsMask;
// if((defaultChannelsMask & 2)!= 0)
// {
// destValue . g = 0;
// }
// if((defaultChannelsMask & 4)!= 0)
// {
// destValue . b = 0;
// }
// if((defaultChannelsMask & 8)!= 0)
// {
// destValue . a = 1;
// }
// }
//
// dest = destValue;
// }