// 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/BlitResolve.frag.00000003.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolve_frag_00000003[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x4f,0x68,0x5d,0x55, 0x10,0xc6,0xef,0x79,0xef,0xe5,0xbd,0x98,0xd4,0xd6,0x60,0x12,0xdb,0x54,0x63,0xb5, 0x2d,0xc4,0x26,0x4d,0x53,0xad,0x22,0x48,0x45,0x57,0x2a,0x04,0x34,0x11,0xba,0xc9, 0x22,0x08,0xd9,0x08,0xb1,0x14,0x34,0x8b,0x6e,0x82,0x66,0x93,0x45,0x41,0xb2,0x51, 0xda,0x6c,0xb4,0xb5,0xe2,0x9f,0x94,0xa2,0x45,0x8b,0xbb,0xaa,0x45,0x6b,0x51,0xa2, 0x06,0x25,0x6a,0x30,0xe0,0x3f,0x02,0x5a,0x02,0x5a,0xa2,0x4d,0xa9,0xd4,0xf9,0xee, 0xfd,0x8d,0x6f,0x78,0x0f,0x86,0x73,0xe7,0xfb,0xe6,0xcc,0x37,0x73,0xce,0xdc,0xfb, 0xca,0xa5,0xed,0xb5,0x2c,0x4b,0x59,0x6b,0xd6,0x9c,0xdd,0x93,0xb2,0xfc,0xd7,0x96, 0x95,0x32,0x3d,0xb6,0x66,0xd5,0x7c,0x7d,0x64,0xf0,0xc9,0xc1,0xfe,0x67,0x9f,0x1b, 0xeb,0xdf,0x77,0xef,0x80,0xf8,0x8d,0x59,0x39,0x8f,0x13,0xb7,0xc9,0xbc,0x8a,0xad, 0xb2,0x67,0x9e,0x7a,0xfa,0xa0,0xf0,0x0e,0xb3,0x61,0xb3,0x11,0xb3,0x31,0xb3,0x71, 0xb3,0x09,0xb3,0x49,0xb3,0x69,0x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0x3a,0xd5,0x54,0xe8,0x1c,0x0e,0x3a,0xb5,0x54,0xe0,0xae,0xd3,0x12,0x74,0xc4,0x35, 0x9b,0xb5,0x90,0xab,0x19,0x9d,0xc9,0xa0,0xe3,0x5c,0x4b,0xd0,0xb9,0x11,0x9d,0xa9, 0xa0,0xb3,0x31,0x15,0xb8,0xeb,0xb4,0x05,0x1d,0x71,0x9b,0xcc,0xda,0xc8,0xb5,0x09, 0x9d,0xe9,0xa0,0xe3,0x5c,0x5b,0xd0,0x69,0x47,0xe7,0x48,0xd0,0xe9,0x48,0x05,0xee, 0x3a,0x9b,0x83,0x8e,0xb8,0x4e,0xb3,0xcd,0xe4,0xea,0x44,0x67,0x26,0xe8,0x38,0xa7, 0xf5,0x5f,0x3b,0xe8,0xfb,0xcd,0xfe,0x03,0x43,0x4e,0x96,0x13,0xf0,0x0c,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0) uniform texture2DMSArray color; // // layout(location = 0) out vec4 colorOut0; // layout(location = 1) out vec4 colorOut1; // layout(location = 2) out vec4 colorOut2; // layout(location = 3) out vec4 colorOut3; // layout(location = 4) out vec4 colorOut4; // layout(location = 5) out vec4 colorOut5; // layout(location = 6) out vec4 colorOut6; // layout(location = 7) out vec4 colorOut7; // // #line 1 "shaders/src/BlitResolve.inc" // // layout(push_constant) uniform PushConstants { // // ivec2 offset; // vec2 stretch; // vec2 invSrcExtent; // int srcMip; // int srcLayer; // int samples; // float invSamples; // // int outputMask; // // bool flipX; // bool flipY; // bool rotateXY; // } params; // // ivec2 getSrcImageCoords() // { // // ivec2 srcImageCoords = ivec2(gl_FragCoord.xy); // // 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(vec4 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 123 "shaders/src/BlitResolve.frag" // // void main() // { // ivec2 srcImageCoords = getSrcImageCoords(); // // vec4 colorValue = vec4(0, 0, 0, 0); // for (int i = 0; i < params.samples; ++ i) // { // colorValue += texelFetch(color, ivec3(srcImageCoords, params.srcLayer), i); // } // // colorValue *= params.invSamples; // // broadcastColor(colorValue); // // }