1// GENERATED FILE - DO NOT EDIT. 2// Generated by gen_vk_internal_shaders.py. 3// 4// Copyright 2018 The ANGLE Project Authors. All rights reserved. 5// Use of this source code is governed by a BSD-style license that can be 6// found in the LICENSE file. 7// 8// shaders/gen/ImageCopy.frag.00000026.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kImageCopy_frag_00000026[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x96,0xd9,0x4f,0x5d,0x55, 14 0x14,0xc6,0xcf,0x9d,0x29,0xc8,0x50,0xa0,0x45,0x1a,0xa9,0x76,0x20,0xd1,0x50,0xe1, 15 0x26,0x62,0x45,0xb0,0x4d,0xb0,0x62,0xb5,0xa2,0x2d,0x74,0x50,0xe1,0xc1,0xa1,0x44, 16 0x5a,0x85,0xaa,0xa0,0xb1,0x8d,0x8d,0x81,0x5a,0x78,0xb0,0x55,0x21,0x86,0x54,0xa3, 17 0x90,0x28,0x3c,0x28,0xd8,0x3e,0x98,0xf8,0x64,0x8c,0xd1,0x36,0xb6,0x75,0xf8,0x73, 18 0x8c,0x43,0x62,0xe2,0x5e,0xfb,0xfe,0x56,0xf3,0x79,0xa3,0x29,0xc9,0xce,0x39,0xfb, 19 0x5b,0xd3,0xf7,0xad,0xbd,0xce,0xbe,0x64,0xd2,0xdb,0x0a,0x49,0x92,0x4a,0x2a,0x93, 20 0x8a,0xe4,0xd7,0xa4,0xf4,0xb7,0x3e,0x49,0x07,0x24,0x49,0xaa,0x92,0x7c,0x7c,0xee, 21 0xed,0x3f,0xd8,0xdf,0x3e,0xf9,0xda,0x48,0x7b,0xe7,0xbd,0x45,0xb3,0xd7,0x24,0x99, 22 0xe8,0x67,0xb6,0xda,0xa4,0x90,0x64,0xc3,0xd3,0xd6,0xf8,0x73,0xc7,0x4f,0x18,0x5e, 23 0x1d,0xd6,0xa5,0xb0,0xea,0x82,0x9f,0xe1,0x05,0xcb,0x11,0xde,0xaa,0x63,0x4e,0x8b, 24 0x49,0x92,0x47,0x92,0x5c,0xd2,0x40,0xbd,0x6d,0x3c,0x1d,0x4b,0x81,0x55,0x08,0x96, 25 0x06,0xab,0x13,0x2c,0x03,0xd6,0x28,0x58,0x16,0xec,0x56,0xc1,0x72,0x60,0xb7,0x09, 26 0x96,0x07,0xbb,0x43,0xb0,0x02,0xd8,0x76,0xc1,0x2a,0xc0,0xee,0x14,0x6c,0x1d,0xd8, 27 0x0e,0xc1,0x2a,0xc1,0x8a,0x82,0x55,0x81,0x75,0x0a,0x76,0x0b,0x58,0x97,0x60,0xd5, 28 0x60,0x0f,0xc4,0x3e,0x65,0x6e,0xe8,0xb5,0x9e,0xed,0x09,0xcf,0xad,0xf4,0xc7,0xf7, 29 0x5b,0x64,0x6f,0x7d,0xde,0xcc,0xbe,0x21,0x44,0xa5,0xa3,0x3d,0x13,0x7b,0x63,0xef, 30 0x1b,0x82,0x4f,0x1e,0x9d,0xd6,0xd7,0xa6,0xb0,0x2f,0xa0,0xdf,0xec,0x1b,0x83,0x67, 31 0x25,0x76,0xb3,0x55,0xa1,0x25,0x1b,0xb1,0x6c,0xe4,0x9b,0x42,0x4b,0x0f,0xfb,0x6a, 32 0xc9,0x55,0x83,0xbf,0xd7,0xaa,0x27,0x57,0x12,0x79,0xd5,0xdd,0xe8,0xab,0xd7,0xb4, 33 0x55,0x7f,0x93,0xe5,0x3e,0x56,0xbf,0x91,0x7e,0x37,0x50,0xbf,0x31,0xd6,0x29,0x61, 34 0x6d,0x68,0xdb,0x08,0x1f,0xf3,0x6f,0xc2,0x56,0x10,0x7b,0x8b,0xe8,0xd9,0x8c,0xbd, 35 0x3e,0xce,0x4d,0x3a,0xf6,0xb2,0x0d,0xde,0xde,0x67,0x8f,0x6b,0x63,0x76,0x7c,0xbf, 36 0x13,0xed,0xa6,0x7b,0x37,0x39,0x2c,0x6f,0x73,0xc8,0xd8,0xcb,0x3e,0x9d,0xfc,0xfb, 37 0x2f,0xc5,0x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,0x0b,0x72,0x2f,0x7c,0x08,0xaf,0x0b,0x72,0x2f,0x7c,0x04,0x7e,0x95,0xfc, 78 0x1f,0x83,0x0d,0x0a,0xd7,0x4f,0xc0,0xfb,0xe0,0xba,0x24,0x5c,0xcd,0xb6,0x18,0xd6, 79 0x12,0xf5,0x16,0x85,0xd7,0xb7,0xc4,0x4c,0xc9,0x6f,0x83,0xfb,0x2d,0x71,0xd6,0xe6, 80 0x77,0x0d,0x9f,0x05,0x62,0x16,0x85,0xcf,0xa7,0xf0,0x69,0x11,0x3e,0x9f,0x81,0x3b, 81 0x9f,0x15,0xe1,0x63,0xb6,0xe5,0xb0,0x56,0xa8,0xb3,0x2c,0x7c,0xbe,0x23,0xe6,0x1a, 82 0x67,0x68,0x7c,0xdc,0x6f,0x45,0xf8,0x5c,0xc7,0x67,0x89,0x98,0x65,0xe1,0xf3,0x39, 83 0x7c,0xa6,0x85,0xcf,0x17,0xe0,0xce,0x67,0x4d,0xf8,0x98,0x6d,0x35,0xfa,0x96,0xea, 84 0xac,0x0a,0x9f,0xef,0xf9,0x9f,0xe5,0xba,0xcc,0x93,0xfb,0xad,0x09,0x9f,0x5f,0xf0, 85 0x59,0x21,0x66,0xb5,0xec,0x8c,0xe7,0xc5,0xf7,0x67,0xe6,0x61,0x8e,0xb8,0xb5,0xb2, 86 0x39,0x9d,0x15,0xdf,0x9f,0x98,0xef,0x19,0xe2,0x2c,0xcf,0xee,0xc0,0xe4,0x12,0xb6, 87 0xbf,0xc3,0xa9,0x75,0x85,0xf5,0x0f,0xfd,0x78,0xb3,0x42,0x28,0x0e,0x00,0x00 88}; 89 90// Generated from: 91// 92// #version 450 core 93// 94// #extension GL_EXT_samplerless_texture_functions : require 95// 96// layout(set = 0, binding = 0)uniform utexture3D src; 97// layout(location = 0)out ivec4 dst; 98// 99// layout(push_constant)uniform PushConstants { 100// 101// ivec2 srcOffset; 102// ivec2 dstOffset; 103// int srcMip; 104// int srcLayer; 105// 106// bool flipX; 107// bool flipY; 108// 109// bool premultiplyAlpha; 110// bool unmultiplyAlpha; 111// 112// bool dstHasLuminance; 113// bool dstIsAlpha; 114// 115// bool srcIsSRGB; 116// bool dstIsSRGB; 117// 118// int dstDefaultChannelsMask; 119// bool rotateXY; 120// } params; 121// 122// void main() 123// { 124// ivec2 dstSubImageCoords = ivec2(gl_FragCoord . xy)- params . dstOffset; 125// 126// ivec2 srcSubImageCoords = dstSubImageCoords; 127// 128// if(params . flipX) 129// { 130// srcSubImageCoords . x = - srcSubImageCoords . x; 131// } 132// if(params . flipY) 133// { 134// srcSubImageCoords . y = - srcSubImageCoords . y; 135// } 136// if(params . rotateXY) 137// { 138// srcSubImageCoords . xy = srcSubImageCoords . yx; 139// } 140// 141// uvec4 srcValue = texelFetch(src, ivec3(params . srcOffset + srcSubImageCoords, params . srcLayer), params . srcMip); 142// 143// if(params . premultiplyAlpha) 144// { 145// srcValue . rgb *= srcValue . a; 146// } 147// else if(params . unmultiplyAlpha && srcValue . a > 0) 148// { 149// srcValue . rgb /= srcValue . a; 150// } 151// 152// ivec4 dstValue = ivec4(srcValue); 153// 154// if(params . dstHasLuminance) 155// { 156// dstValue . rg = dstValue . ra; 157// } 158// else if(params . dstIsAlpha) 159// { 160// dstValue . r = dstValue . a; 161// } 162// else 163// { 164// int defaultChannelsMask = params . dstDefaultChannelsMask; 165// if((defaultChannelsMask & 2)!= 0) 166// { 167// dstValue . g = 0; 168// } 169// if((defaultChannelsMask & 4)!= 0) 170// { 171// dstValue . b = 0; 172// } 173// if((defaultChannelsMask & 8)!= 0) 174// { 175// dstValue . a = 1; 176// } 177// } 178// 179// dst = dstValue; 180// } 181