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.00000002.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlit3DSrc_frag_00000002[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0x4b,0x68,0x5d,0x65, 14 0x10,0xc7,0xbf,0xef,0x9c,0xfb,0x48,0x73,0x2f,0x36,0x21,0x9a,0xc6,0x98,0x67,0x5b, 15 0xa2,0x36,0xa1,0x76,0xa1,0x62,0x10,0x45,0xa1,0xa0,0x8b,0x42,0xab,0x82,0xe9,0x22, 16 0x9b,0x0b,0x76,0x61,0x40,0x85,0x28,0xdd,0x64,0x51,0xc1,0x08,0xdd,0x64,0xd1,0x4d, 17 0x16,0x2e,0xea,0xa3,0xa5,0xd6,0x36,0x55,0xb4,0x2e,0x6c,0xdd,0x89,0xda,0xa2,0xc5, 18 0x47,0x50,0xa2,0x0d,0x4a,0xd4,0x60,0xc0,0x17,0x01,0x5b,0xa2,0xb5,0x06,0x67,0xbe, 19 0xf3,0x9b,0x76,0xbc,0x81,0xc9,0xb9,0xf3,0xff,0xcf,0xcc,0x7f,0xe6,0x3b,0xdf,0x9c, 20 0x3c,0xdb,0x52,0x0d,0x21,0x86,0xd6,0xd0,0x12,0x46,0x62,0x48,0x7f,0xed,0x21,0x0b, 21 0xfa,0xb3,0x16,0x2a,0xe9,0xf9,0xd0,0xae,0xc7,0x76,0x6d,0x7f,0xf6,0xb9,0x27,0xb6, 22 0xdf,0x79,0xd7,0x0e,0xe5,0x6f,0x08,0x79,0x8a,0x53,0x6e,0xa3,0x78,0x25,0x79,0xaa, 23 0x3d,0xd5,0x78,0xf2,0x69,0xc5,0x3b,0xc5,0xf6,0x8a,0x35,0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xca,0xb5, 77 0x8a,0xd5,0xa9,0xd5,0x8a,0xce,0x94,0xd3,0x31,0xae,0xee,0x74,0x36,0xa2,0x73,0xc0, 78 0xe9,0xb4,0xc5,0x02,0x37,0x9d,0x0e,0xa7,0xa3,0x5c,0xbb,0x58,0x07,0xb5,0xda,0xd1, 79 0x99,0x76,0x3a,0xc6,0x75,0x38,0x9d,0x4e,0x74,0x0e,0x3a,0x9d,0x4d,0xb1,0xc0,0x4d, 80 0xa7,0xdb,0xe9,0x28,0xd7,0x25,0xd6,0x4d,0xad,0x2e,0x74,0x66,0x9c,0x8e,0x71,0xdd, 81 0x4e,0xa7,0x17,0x9d,0x43,0x4e,0xa7,0x2f,0x16,0xb8,0xe9,0x0c,0x3a,0x1d,0xe5,0xfa, 82 0xc5,0x06,0xa9,0xd5,0x8f,0xce,0xac,0xd3,0x31,0x4e,0x9f,0xff,0xca,0x56,0xde,0x23, 83 0xf6,0x1f,0x52,0xc4,0x1f,0x8c,0xf8,0x0c,0x00,0x00 84}; 85 86// Generated from: 87// 88// #version 450 core 89// 90// #extension GL_GOOGLE_include_directive : require 91// 92// layout(set = 0, binding = 0)uniform utexture3D color; 93// 94// layout(location = 0)out uvec4 colorOut0; 95// layout(location = 1)out uvec4 colorOut1; 96// layout(location = 2)out uvec4 colorOut2; 97// layout(location = 3)out uvec4 colorOut3; 98// layout(location = 4)out uvec4 colorOut4; 99// layout(location = 5)out uvec4 colorOut5; 100// layout(location = 6)out uvec4 colorOut6; 101// layout(location = 7)out uvec4 colorOut7; 102// 103// layout(set = 0, binding = 2)uniform sampler blitSampler; 104// 105// #line 1 "shaders/src/BlitResolve.inc" 106// 107// layout(push_constant)uniform PushConstants { 108// 109// vec2 offset; 110// vec2 stretch; 111// vec2 invSrcExtent; 112// int srcLayer; 113// int samples; 114// float invSamples; 115// 116// int outputMask; 117// 118// bool flipX; 119// bool flipY; 120// bool rotateXY; 121// } params; 122// 123// vec2 getSrcImageCoords() 124// { 125// 126// vec2 srcImageCoords = vec2(gl_FragCoord . xy); 127// 128// srcImageCoords *= params . stretch; 129// 130// srcImageCoords -= params . offset; 131// 132// if(params . flipX) 133// srcImageCoords . x = - srcImageCoords . x; 134// if(params . flipY) 135// srcImageCoords . y = - srcImageCoords . y; 136// if(params . rotateXY) 137// srcImageCoords . xy = srcImageCoords . yx; 138// 139// return srcImageCoords; 140// } 141// 142// void broadcastColor(uvec4 colorValue) 143// { 144// 145// if((params . outputMask &(1 << 0))!= 0) 146// { 147// colorOut0 = colorValue; 148// } 149// if((params . outputMask &(1 << 1))!= 0) 150// { 151// colorOut1 = colorValue; 152// } 153// if((params . outputMask &(1 << 2))!= 0) 154// { 155// colorOut2 = colorValue; 156// } 157// if((params . outputMask &(1 << 3))!= 0) 158// { 159// colorOut3 = colorValue; 160// } 161// if((params . outputMask &(1 << 4))!= 0) 162// { 163// colorOut4 = colorValue; 164// } 165// if((params . outputMask &(1 << 5))!= 0) 166// { 167// colorOut5 = colorValue; 168// } 169// if((params . outputMask &(1 << 6))!= 0) 170// { 171// colorOut6 = colorValue; 172// } 173// if((params . outputMask &(1 << 7))!= 0) 174// { 175// colorOut7 = colorValue; 176// } 177// } 178// 179// #line 58 "shaders/src/Blit3DSrc.frag" 180// 181// void main() 182// { 183// vec2 srcImageCoordsXY = getSrcImageCoords(); 184// vec3 srcImageCoords = vec3(srcImageCoordsXY, params . srcLayer); 185// 186// uvec4 colorValue = texture(usampler3D(color, blitSampler), vec3((srcImageCoords . xy)* params . invSrcExtent, srcImageCoords . z)); 187// 188// broadcastColor(colorValue); 189// } 190