blob: 7e773ed494d8105acd3358060e1f2d762a1cfd28 [file] [log] [blame]
// 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.0000001A.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kImageCopy_frag_0000001A[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xfd,0x4b,0x9e,0x55,
0x18,0xc7,0xef,0xe7,0xdd,0x69,0xbe,0x4c,0xdd,0xcc,0x91,0xab,0xb5,0x09,0x85,0x4b,
0x8d,0x6c,0x99,0xb6,0x81,0x2d,0x5b,0x2d,0x6b,0xd3,0xbd,0x54,0x0a,0x95,0x63,0xae,
0xa6,0xcc,0x94,0xd5,0x46,0x23,0x74,0x4d,0x21,0xda,0x2a,0x85,0x90,0x15,0xa5,0x50,
0xfa,0x43,0x29,0xee,0x87,0xa0,0x9f,0x22,0xa2,0x36,0xda,0xd6,0xcb,0x9f,0x13,0xbd,
0x40,0xd0,0xb9,0xce,0xf3,0xb9,0xc6,0x97,0x87,0x62,0xc2,0xe1,0xbe,0xcf,0xf7,0x7a,
0xfb,0x7e,0xaf,0x73,0xdd,0xe7,0x31,0x93,0xde,0x5e,0x48,0x92,0x54,0x52,0x9e,0x94,
0x25,0xbf,0x25,0xc5,0xbf,0x8d,0x49,0x3a,0x20,0x49,0x52,0x91,0xe4,0xe3,0x73,0x5f,
0xdf,0xa1,0xbe,0xd6,0xd3,0x6f,0x1c,0x6f,0xed,0x78,0xb8,0xdd,0xec,0x55,0x49,0x26,
0xfa,0x99,0xad,0x3a,0x29,0x24,0xd9,0xf0,0xb4,0x75,0x6a,0xf8,0xe4,0xb8,0xe1,0x95,
0x61,0x5d,0x09,0xab,0x26,0xf8,0x19,0x5e,0xb0,0x1c,0xe1,0x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,0xd6,0x12,0xf5,0x16,0x85,0xd7,
0x77,0xe8,0x9b,0x92,0xdf,0x06,0xf7,0x5b,0xe2,0xac,0xcd,0xef,0x06,0x3e,0x0b,0xc4,
0x2c,0x0a,0x9f,0xcf,0xe1,0xd3,0x24,0x7c,0xbe,0x00,0x77,0x3e,0x2b,0xc2,0xc7,0x6c,
0xcb,0x61,0xad,0x50,0x67,0x59,0xf8,0x7c,0x0f,0x9f,0x1b,0x9c,0xa1,0xf1,0x71,0xbf,
0x15,0xe1,0x73,0x13,0x9f,0x25,0x62,0x96,0x85,0xcf,0x97,0xf0,0x99,0x16,0x3e,0x5f,
0x81,0x3b,0x9f,0x35,0xe1,0x63,0xb6,0xd5,0xe8,0x5b,0xac,0xb3,0x2a,0x7c,0x7e,0xe0,
0xff,0xca,0x9b,0x32,0x4f,0xee,0xb7,0x26,0x7c,0x7e,0xc5,0x67,0x85,0x98,0xd5,0x92,
0x33,0x9e,0x17,0xdf,0x5f,0x98,0x87,0x39,0xe2,0xd6,0x4a,0xe6,0x74,0x56,0x7c,0x7f,
0x66,0xbe,0x67,0x88,0xb3,0x3c,0x7b,0x02,0x93,0x2b,0xd8,0xfe,0x09,0xa7,0xd6,0x19,
0xd6,0xbf,0x8a,0x19,0xf4,0xfd,0x28,0x0e,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 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 = 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 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;
// }
// }
//
// dst = dstValue;
// }