blob: ad20fc969554c388c306c844a7b9c68284f720a6 [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.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,0x85,0x96,0x0b,0x53,0x95,0x55,
0x14,0x86,0x3f,0xce,0x81,0x73,0x10,0xe4,0x22,0xa0,0x84,0x8a,0xe5,0x85,0x2e,0x62,
0x88,0x05,0x46,0x02,0x2a,0x19,0x49,0x46,0xa9,0x68,0x56,0x62,0x11,0x06,0x96,0x98,
0x24,0x49,0x9a,0x94,0xd7,0x14,0x2c,0xad,0xa4,0xbc,0x74,0x13,0x2b,0xd1,0x4a,0xc4,
0xfa,0x17,0xfd,0xa2,0xa6,0xcb,0x4c,0x33,0xed,0xf5,0x9d,0x67,0x31,0xef,0x9c,0xb1,
0x3a,0x33,0x7b,0xce,0xb7,0x9f,0xbd,0xf6,0xda,0xef,0x5a,0x7b,0x7d,0xeb,0x9c,0x64,
0x62,0x69,0x3a,0x8a,0x72,0xa2,0x82,0x28,0x3f,0xfa,0x25,0xca,0x7c,0xe6,0x44,0x89,
0x40,0xa2,0xa8,0x30,0x4a,0xc5,0xdf,0x1b,0x3b,0xb7,0x75,0xd6,0x1d,0x1c,0xee,0xab,
0x6b,0x68,0xac,0xb7,0xf5,0xe2,0x28,0x19,0xdb,0xd9,0x5a,0x49,0x94,0x8e,0x72,0xc3,
0xb7,0x8d,0xfd,0xbd,0x7b,0x07,0x8d,0x17,0x85,0x71,0x27,0x8c,0xd2,0x60,0x67,0x3c,
0x6d,0x3e,0xc2,0x53,0x51,0xec,0xd3,0xf6,0x44,0x51,0x47,0x94,0x17,0x95,0x73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xdb,0x4f,0x65,0xdd,0xf1,0x78,0x56,0x8d,0x8e,0x4a,0xcd,0xff,0x8c,
0x3f,0xf3,0x75,0x87,0xf9,0xdf,0xe1,0x6d,0x6f,0x0a,0xe3,0x1f,0x7e,0x58,0x71,0xc1,
0xf4,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 ivec4 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;
// }
//
// ivec4 destValue = ivec4(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;
// }