// 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/Blit3DSrc.frag.00000002.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlit3DSrc_frag_00000002[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x95,0x4d,0x68,0x5d,0x55, 0x10,0xc7,0xcf,0xb9,0xf7,0xbd,0xbc,0x24,0xef,0x61,0x13,0xa2,0x69,0xf3,0x62,0x8a, 0x1a,0xc1,0xb4,0x49,0xd3,0x08,0x55,0x04,0xa9,0xe8,0x4a,0x17,0x15,0xbf,0xda,0x4a, 0x36,0x01,0x8b,0x10,0x5c,0xe8,0x5b,0xc4,0x45,0x16,0x05,0x0d,0x92,0x4d,0x16,0xdd, 0x64,0xe1,0xc2,0x8f,0x96,0x5a,0x6b,0x5b,0xd1,0xba,0xb0,0x75,0x57,0x2d,0x5a,0xaa, 0x16,0x25,0xda,0xa0,0x44,0x0d,0x06,0xfc,0x22,0xa0,0x25,0x60,0x4b,0xb4,0xd6,0xe0, 0xcc,0xb9,0xbf,0xf1,0x8d,0xc1,0x0b,0xc3,0xbd,0xf3,0xff,0xcf,0xcc,0xff,0xcc,0x9c, 0x73,0xde,0xcb,0xb3,0xfe,0x4a,0x08,0x31,0x54,0x43,0x6b,0xb8,0x3d,0x86,0xf4,0x74, 0x86,0x2c,0xe8,0x67,0x35,0xb4,0xa4,0xf7,0xfd,0xbb,0x1e,0xdb,0x35,0x3c,0xf1,0xec, 0x93,0xc3,0x3b,0xee,0x18,0x51,0xfe,0xba,0x90,0xa7,0x38,0xe5,0x36,0x88,0x57,0x92, 0xb7,0xda,0xd3,0x4f,0x3c,0xf5,0x8c,0xe2,0xdd,0x62,0x7b,0xc4,0xc6,0xc4,0xc6,0xc5, 0x1a,0x62,0x93,0x62,0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0x8c, 0xab,0x39,0x9d,0x0d,0xe8,0x4c,0x3b,0x9d,0x8e,0x58,0xe0,0xa6,0xd3,0xe5,0x74,0x94, 0xeb,0x14,0xeb,0xa2,0x56,0x27,0x3a,0x33,0x4e,0xc7,0xb8,0x2e,0xa7,0xd3,0x8d,0xce, 0x01,0xa7,0xb3,0x31,0x16,0xb8,0xe9,0xd4,0x9d,0x8e,0x72,0x9b,0xc4,0xea,0xd4,0xda, 0x84,0xce,0xac,0xd3,0x31,0x4e,0xdf,0x7f,0xcb,0xad,0xbc,0x4b,0xec,0x1f,0x5b,0x4b, 0x98,0x26,0xb8,0x0c,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // // layout(set = 0, binding = 0) uniform utexture3D color; // // layout(location = 0) out uvec4 colorOut0; // layout(location = 1) out uvec4 colorOut1; // layout(location = 2) out uvec4 colorOut2; // layout(location = 3) out uvec4 colorOut3; // layout(location = 4) out uvec4 colorOut4; // layout(location = 5) out uvec4 colorOut5; // layout(location = 6) out uvec4 colorOut6; // layout(location = 7) out uvec4 colorOut7; // // layout(set = 0, binding = 2) uniform sampler blitSampler; // // #line 1 "shaders/src/BlitResolve.inc" // // layout(push_constant) uniform PushConstants { // // vec2 offset; // vec2 stretch; // vec2 invSrcExtent; // int srcMip; // int srcLayer; // int samples; // float invSamples; // // int outputMask; // // bool flipX; // bool flipY; // bool rotateXY; // } params; // // vec2 getSrcImageCoords() // { // // vec2 srcImageCoords = vec2(gl_FragCoord.xy); // // srcImageCoords *= params.stretch; // // srcImageCoords -= params.offset; // // if (params.flipX) // srcImageCoords.x = - srcImageCoords.x; // if (params.flipY) // srcImageCoords.y = - srcImageCoords.y; // if (params.rotateXY) // srcImageCoords.xy = srcImageCoords.yx; // // return srcImageCoords; // } // // void broadcastColor(uvec4 colorValue) // { // // if ( (params.outputMask & (1 << 0)) != 0) // { // colorOut0 = colorValue; // } // if ( (params.outputMask & (1 << 1)) != 0) // { // colorOut1 = colorValue; // } // if ( (params.outputMask & (1 << 2)) != 0) // { // colorOut2 = colorValue; // } // if ( (params.outputMask & (1 << 3)) != 0) // { // colorOut3 = colorValue; // } // if ( (params.outputMask & (1 << 4)) != 0) // { // colorOut4 = colorValue; // } // if ( (params.outputMask & (1 << 5)) != 0) // { // colorOut5 = colorValue; // } // if ( (params.outputMask & (1 << 6)) != 0) // { // colorOut6 = colorValue; // } // if ( (params.outputMask & (1 << 7)) != 0) // { // colorOut7 = colorValue; // } // } // // #line 58 "shaders/src/Blit3DSrc.frag" // // void main() // { // vec2 srcImageCoordsXY = getSrcImageCoords(); // vec3 srcImageCoords = vec3(srcImageCoordsXY, params.srcLayer); // // uvec4 colorValue = texture(usampler3D(color, blitSampler), vec3( (srcImageCoords.xy) * params.invSrcExtent, srcImageCoords.z)); // // broadcastColor(colorValue); // }