// 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.00000001.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlit3DSrc_frag_00000001[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x95,0x4d,0x68,0x5d,0x65, 0x10,0x86,0xbf,0xef,0x9c,0x7b,0x73,0x93,0xdc,0x8b,0x4d,0x88,0xa6,0xcd,0x8d,0x29, 0x6a,0x04,0xd3,0x26,0x4d,0x23,0x54,0x11,0xa4,0xa2,0x2b,0x5d,0x54,0xfc,0x6b,0x2b, 0xd9,0x04,0x2c,0x42,0x70,0xa1,0x77,0x11,0x17,0x59,0x14,0x34,0x48,0x36,0x59,0x74, 0x93,0x85,0x0b,0x7f,0x5a,0x6a,0xad,0x6d,0x45,0xeb,0xc2,0xd6,0x5d,0xb5,0x68,0xa9, 0x5a,0x94,0x68,0x83,0x12,0x35,0x18,0xf0,0x8f,0x80,0x96,0x80,0x2d,0xd1,0x5a,0x83, 0x33,0xdf,0x79,0xc6,0x3b,0x06,0x0f,0x0c,0xe7,0xcc,0xfb,0xce,0xcc,0x3b,0xf3,0xfd, 0xdc,0x9b,0x67,0xfd,0x95,0x10,0x62,0xa8,0x86,0xd6,0x70,0x7b,0x0c,0xe9,0xe9,0x0c, 0x59,0xd0,0xcf,0x6a,0x68,0x49,0xef,0xfb,0x77,0x3d,0xb6,0x6b,0x78,0xe2,0xd9,0x27, 0x87,0x77,0xdc,0x31,0xa2,0xfc,0x75,0x21,0x4f,0x71,0xca,0x6d,0x10,0xaf,0x24,0x6f, 0xb5,0xa7,0x9f,0x78,0xea,0x19,0xc5,0xbb,0xc5,0xf6,0x88,0x8d,0x89,0x8d,0x8b,0x35, 0xc4,0x26,0xc5,0xa6,0xc4,0x66,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a,0xd3,0x4e,0xa7,0x23,0x16,0xb8,0xe9,0x74,0x39,0x1d,0xe5,0x3a, 0xc5,0xba,0xa8,0xd5,0x89,0xce,0x8c,0xd3,0x31,0xae,0xcb,0xe9,0x74,0xa3,0x73,0xc0, 0xe9,0x6c,0x8c,0x05,0x6e,0x3a,0x75,0xa7,0xa3,0xdc,0x26,0xb1,0x3a,0xb5,0x36,0xa1, 0x33,0xeb,0x74,0x8c,0xd3,0xf7,0xdf,0x72,0x2b,0xef,0x12,0xfb,0x07,0x47,0x0a,0x05, 0xa5,0xb8,0x0c,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // // layout(set = 0, binding = 0) uniform itexture3D color; // // layout(location = 0) out ivec4 colorOut0; // layout(location = 1) out ivec4 colorOut1; // layout(location = 2) out ivec4 colorOut2; // layout(location = 3) out ivec4 colorOut3; // layout(location = 4) out ivec4 colorOut4; // layout(location = 5) out ivec4 colorOut5; // layout(location = 6) out ivec4 colorOut6; // layout(location = 7) out ivec4 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(ivec4 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); // // ivec4 colorValue = texture(isampler3D(color, blitSampler), vec3( (srcImageCoords.xy) * params.invSrcExtent, srcImageCoords.z)); // // broadcastColor(colorValue); // }