blob: cbf520be82d0f2bde34e74a263418ce4640c464e [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.00000005.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kImageCopy_frag_00000005[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xfd,0x4b,0x9d,0x65,
0x18,0xc7,0x9f,0x73,0x9e,0xf3,0xe2,0x34,0x5f,0xa6,0x6e,0xe6,0xc8,0xd5,0x5e,0x84,
0xc2,0xa5,0x07,0xb2,0x65,0xda,0x06,0xb6,0x6c,0xcd,0xdc,0xdc,0xa6,0x50,0xb4,0x91,
0x5b,0x29,0x35,0x65,0x6b,0x63,0xfd,0x66,0x4d,0x89,0xbd,0x94,0x12,0xb2,0xa2,0x14,
0x4a,0x7f,0x28,0x65,0x41,0xc5,0x7e,0x8a,0x88,0xb6,0x61,0x5b,0xb5,0xbf,0x28,0x7a,
0x81,0xa0,0xfb,0xba,0xcf,0xe7,0x1a,0xdf,0x0e,0xc5,0x0e,0xdc,0x3c,0xcf,0xfd,0xbd,
0xde,0xbe,0xdf,0xeb,0xbe,0xee,0x87,0x93,0x66,0x77,0x14,0x93,0x24,0x93,0x54,0x27,
0x55,0xc9,0xdd,0xa4,0xfc,0xdb,0x98,0x64,0x03,0x92,0x24,0x35,0x49,0x21,0x3e,0xf7,
0x0f,0x8d,0x0c,0x75,0x9e,0x7f,0x7b,0xbc,0xb3,0xfb,0xc9,0x92,0xd9,0xeb,0x92,0x34,
0xfa,0x99,0xad,0x3e,0x29,0x26,0xb9,0xf0,0xb4,0x75,0xfa,0xe4,0xa9,0x33,0x86,0xd7,
0x86,0xf5,0x55,0x58,0x0d,0xc1,0xcf,0xf0,0xa2,0xe5,0x08,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d,0xce,0xd0,0xf8,0xb8,0xdf,0x8a,0xf0,0xb9,
0x83,0xcf,0x12,0x31,0xcb,0xc2,0xe7,0x0b,0xf8,0x4c,0x0b,0x9f,0x2f,0xc1,0x9d,0xcf,
0x9a,0xf0,0x31,0xdb,0x6a,0x58,0x6b,0xd4,0x59,0x15,0x3e,0x3f,0xf2,0xff,0xe1,0x8e,
0xcc,0x93,0xfb,0xad,0x09,0x9f,0x5f,0xf1,0x59,0x21,0x66,0xb5,0xe2,0x8c,0xe7,0xc5,
0xf7,0x17,0xe6,0x61,0x8e,0xb8,0xb5,0x8a,0x39,0x9d,0x15,0xdf,0x9f,0x99,0xef,0x19,
0xe2,0xe6,0xe3,0x7f,0xa9,0x34,0xfe,0x87,0x32,0xdb,0xdf,0xe1,0xd4,0x7a,0xc2,0xfa,
0x07,0x47,0x90,0xba,0x4c,0x84,0x0d,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// layout(set = 0, binding = 0)uniform itexture2D 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 = texelFetch(src, params . srcOffset + srcSubImageCoords, 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;
// }