// 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.00000002.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolve_frag_00000002[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x4f,0x68,0x5c,0x55, 0x14,0xc6,0xdf,0x9d,0x99,0x64,0x12,0xa6,0xb4,0x69,0x9b,0x54,0x6c,0x35,0xad,0x4d, 0xd2,0xa6,0x6d,0x28,0x5d,0x54,0x11,0xa4,0x52,0x57,0x2a,0x0c,0x48,0x22,0x74,0x93, 0x45,0x10,0x66,0x53,0x88,0xa5,0x50,0xb3,0x70,0x13,0x34,0x9b,0x2c,0x0a,0x92,0x8d, 0xd2,0x66,0xa3,0xad,0x15,0x8a,0x16,0xad,0xee,0xaa,0x16,0xff,0x14,0x35,0x6a,0x50, 0xa2,0x06,0x03,0xb6,0x95,0x80,0x96,0x80,0x96,0x80,0xad,0xd1,0xb6,0x04,0x3c,0xdf, 0x7b,0xbf,0x63,0x0e,0x33,0x70,0xb8,0xef,0x7c,0xdf,0xb9,0xe7,0xbb,0xdf,0xbd,0xf7, 0xbd,0x29,0x97,0x7a,0xaa,0x59,0x96,0xb2,0x5a,0xd6,0x96,0x0d,0xa4,0x2c,0xff,0x6d, 0xcc,0x4a,0x99,0x1e,0x6b,0x59,0x6b,0x3e,0x3e,0x59,0x7f,0xb6,0xbe,0xff,0xc4,0x0b, 0x8d,0xfd,0x07,0x1f,0x3e,0x20,0x7e,0x7d,0x56,0xce,0xeb,0xc4,0x6d,0xb0,0xac,0x62, 0xa3,0xe2,0xf9,0xe7,0x8e,0x1e,0x13,0xde,0x65,0x31,0x64,0x31,0x6c,0xd1,0xb0,0x18, 0xb5,0x18,0xb3,0x18,0xb7,0x98,0xb4,0x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a,0x47, 0x67,0x32,0xe8,0x38,0x57,0x0b,0x3a,0xeb,0xd1,0x39,0x19,0x74,0x36,0xa4,0x02,0x77, 0x9d,0x4d,0x41,0x47,0x5c,0x87,0xc5,0x26,0x7a,0x75,0xa0,0x33,0x15,0x74,0x9c,0xd3, 0xb8,0x6a,0x1b,0xf3,0xa8,0xc5,0x7f,0x40,0x0e,0xe7,0x1c,0x54,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 texture2DMS 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, srcImageCoords, i); // } // // colorValue *= params.invSamples; // // broadcastColor(colorValue); // // }