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/Blit3DSrc.frag.00000000.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlit3DSrc_frag_00000000[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0x4d,0x68,0x5d,0x65, 14 0x10,0x86,0xbf,0x73,0xef,0xcd,0xbd,0x89,0x91,0x36,0xc6,0xb4,0x31,0xff,0xd1,0x1a, 15 0x69,0x13,0x89,0x5d,0xa8,0x04,0x44,0x51,0xba,0xd0,0x45,0x69,0xfd,0x81,0x64,0x91, 16 0x4d,0x84,0x6c,0xb2,0x50,0x09,0xda,0x4d,0x16,0x55,0x08,0xd2,0x4d,0x16,0xdd,0x64, 17 0xe1,0xa2,0xfe,0xb4,0xd4,0x5a,0x53,0x45,0xeb,0xc2,0xd6,0x9d,0xf8,0x13,0xb4,0xa8, 18 0x0d,0x4a,0xd4,0xa0,0x44,0x2d,0x06,0xac,0x4a,0x40,0x6b,0xb4,0x2d,0x01,0xe7,0x3d, 19 0xe7,0x99,0x76,0xb8,0x17,0xe6,0x9e,0x33,0xef,0x3b,0xdf,0xbc,0x33,0xf3,0x7d,0xdf, 20 0x29,0x97,0x76,0xd4,0x52,0xca,0xd2,0x0d,0xa9,0x31,0x0d,0x65,0x29,0xff,0xdd,0x94, 21 0x4a,0x49,0xaf,0xcd,0xa9,0x9a,0x3f,0x1f,0xde,0xfb,0xc4,0xde,0xe1,0x67,0x9f,0x9b, 22 0x1c,0xbe,0xfb,0x9e,0xdd,0xe2,0xb7,0xa4,0x72,0x1e,0x27,0x6e,0xab,0x79,0x15,0x7b, 23 0xca,0x9e,0x7a,0x72,0xea,0x69,0xe1,0x6d,0x66,0x63,0x66,0x13,0x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8a,0x1f,0x22,0xbe,0x2b,0xef,0xa3,0x94,0x86,0x89,0x93,0x7f,0x57,0xdd,0xba, 38 0x11,0xce,0x8b,0xfb,0x7b,0xea,0xea,0xd8,0x47,0x1f,0xca,0xbb,0x1f,0xae,0x13,0x7f, 39 0x94,0x33,0xe0,0x73,0x1b,0xe5,0x7e,0x95,0xc3,0xfa,0x71,0xe6,0xee,0xfc,0x44,0x1d, 40 0x3f,0xc9,0x3e,0x38,0x3f,0x05,0xef,0xfe,0x74,0x5d,0xfc,0x01,0xee,0x93,0xf3,0x33, 41 0x75,0xfc,0x41,0xf6,0xc6,0xf9,0xd9,0x3a,0xfe,0x90,0xd9,0x83,0x81,0x9f,0xab,0xe3, 42 0x0f,0x9b,0xbd,0x10,0xf8,0x79,0x78,0x9d,0x9b,0x97,0x98,0x45,0x8c,0x3f,0x82,0xdf, 43 0x61,0x93,0x39,0x1e,0xce,0x59,0xfc,0xf1,0xf9,0xca,0x67,0xf6,0x3a,0xef,0xc7,0xd1, 44 0x90,0x7f,0x02,0xac,0xd3,0x56,0x9e,0x24,0xee,0x4d,0xb0,0x93,0xc4,0xc9,0x5f,0x00, 45 0xeb,0x32,0xc5,0xb7,0xc8,0x71,0xaf,0xdd,0xb2,0x12,0x33,0x4c,0xd4,0xf2,0x9f,0x21, 46 0xba,0x7b,0xf7,0x73,0xd6,0x3f,0xe4,0x3c,0x3f,0x66,0xa8,0xea,0xfb,0x08,0x2c,0x05, 47 0xec,0x63,0x30,0xd5,0xfa,0xa8,0x61,0x3a,0x4b,0x9f,0x10,0x2b,0xee,0x21,0xc3,0x34, 48 0xd7,0x4f,0x39,0xab,0x7d,0xe4,0x57,0xdc,0x22,0xf8,0x8b,0xac,0xfb,0x8c,0xb5,0x8b, 49 0x61,0xdd,0xe7,0xac,0x1b,0x08,0xeb,0xce,0x81,0xcf,0xb2,0xee,0x0b,0xd6,0x9e,0x63, 50 0x9d,0xce,0xf1,0x97,0xac,0x1b,0x64,0x9d,0xce,0xf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d0,0xd9,0x82,0xce,0xc1,0xa0,0xb3,0x35,0x2b,0x70,0xd7,0x69,0x0d,0x3a,0xe2, 78 0x5a,0xcc,0x5a,0xc9,0xd5,0x82,0xce,0x6c,0xd0,0x71,0xae,0x35,0xe8,0x6c,0x43,0xe7, 79 0x50,0xd0,0xd9,0x9e,0x15,0xb8,0xeb,0x74,0x04,0x1d,0x71,0xed,0x66,0x1d,0xe4,0x6a, 80 0x47,0x67,0x2e,0xe8,0x38,0xd7,0x11,0x74,0xba,0xd1,0x39,0x1c,0x74,0x7a,0xb2,0x02, 81 0x77,0x9d,0xfe,0xa0,0x23,0xae,0xd7,0xac,0x9f,0x5c,0xbd,0xe8,0xcc,0x07,0x1d,0xe7, 82 0xf4,0xdc,0xb4,0x8d,0x1e,0x31,0xfb,0x1f,0xb7,0xf0,0x33,0x52,0xe8,0x0c,0x00,0x00 83}; 84 85// Generated from: 86// 87// #version 450 core 88// 89// #extension GL_GOOGLE_include_directive : require 90// 91// layout(set = 0, binding = 0)uniform texture3D color; 92// 93// layout(location = 0)out vec4 colorOut0; 94// layout(location = 1)out vec4 colorOut1; 95// layout(location = 2)out vec4 colorOut2; 96// layout(location = 3)out vec4 colorOut3; 97// layout(location = 4)out vec4 colorOut4; 98// layout(location = 5)out vec4 colorOut5; 99// layout(location = 6)out vec4 colorOut6; 100// layout(location = 7)out vec4 colorOut7; 101// 102// layout(set = 0, binding = 2)uniform sampler blitSampler; 103// 104// #line 1 "shaders/src/BlitResolve.inc" 105// 106// layout(push_constant)uniform PushConstants { 107// 108// vec2 offset; 109// vec2 stretch; 110// vec2 invSrcExtent; 111// int srcLayer; 112// int samples; 113// float invSamples; 114// 115// int outputMask; 116// 117// bool flipX; 118// bool flipY; 119// bool rotateXY; 120// } params; 121// 122// vec2 getSrcImageCoords() 123// { 124// 125// vec2 srcImageCoords = vec2(gl_FragCoord . xy); 126// 127// srcImageCoords *= params . stretch; 128// 129// srcImageCoords -= params . offset; 130// 131// if(params . flipX) 132// srcImageCoords . x = - srcImageCoords . x; 133// if(params . flipY) 134// srcImageCoords . y = - srcImageCoords . y; 135// if(params . rotateXY) 136// srcImageCoords . xy = srcImageCoords . yx; 137// 138// return srcImageCoords; 139// } 140// 141// void broadcastColor(vec4 colorValue) 142// { 143// 144// if((params . outputMask &(1 << 0))!= 0) 145// { 146// colorOut0 = colorValue; 147// } 148// if((params . outputMask &(1 << 1))!= 0) 149// { 150// colorOut1 = colorValue; 151// } 152// if((params . outputMask &(1 << 2))!= 0) 153// { 154// colorOut2 = colorValue; 155// } 156// if((params . outputMask &(1 << 3))!= 0) 157// { 158// colorOut3 = colorValue; 159// } 160// if((params . outputMask &(1 << 4))!= 0) 161// { 162// colorOut4 = colorValue; 163// } 164// if((params . outputMask &(1 << 5))!= 0) 165// { 166// colorOut5 = colorValue; 167// } 168// if((params . outputMask &(1 << 6))!= 0) 169// { 170// colorOut6 = colorValue; 171// } 172// if((params . outputMask &(1 << 7))!= 0) 173// { 174// colorOut7 = colorValue; 175// } 176// } 177// 178// #line 58 "shaders/src/Blit3DSrc.frag" 179// 180// void main() 181// { 182// vec2 srcImageCoordsXY = getSrcImageCoords(); 183// vec3 srcImageCoords = vec3(srcImageCoordsXY, params . srcLayer); 184// 185// vec4 colorValue = texture(sampler3D(color, blitSampler), vec3((srcImageCoords . xy)* params . invSrcExtent, srcImageCoords . z)); 186// 187// broadcastColor(colorValue); 188// } 189