// 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.0000000B.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolve_frag_0000000B[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x4b,0x6c,0x55,0x55, 0x14,0x86,0xcf,0x3e,0xf7,0xf6,0x14,0xb8,0xad,0x02,0x5e,0x28,0x0d,0x85,0x56,0x11, 0xa3,0x88,0xa5,0x40,0xa9,0x24,0x04,0xa3,0x23,0x8d,0xa1,0x51,0xdb,0x01,0x93,0x26, 0x62,0x62,0x07,0x0e,0x4a,0x24,0x9a,0x0e,0x18,0x58,0x22,0x93,0x0e,0x88,0x49,0x27, 0x06,0x98,0x28,0x88,0xf1,0x51,0x42,0x94,0x10,0x05,0x9d,0xa1,0xe2,0x8b,0x68,0xaa, 0x36,0x9a,0xaa,0x8d,0x4d,0x7c,0xa5,0x89,0x92,0x26,0x16,0xeb,0xa3,0xa9,0xeb,0x3f, 0xe7,0xdb,0xde,0x95,0x7b,0x93,0x75,0xf7,0x59,0xff,0xbf,0xf6,0xfa,0xf7,0x5a,0x7b, 0x9f,0x7d,0x4a,0xe9,0xa6,0xc6,0x24,0x09,0x49,0x25,0x59,0x96,0xec,0x0e,0x49,0xfe, 0x5b,0x95,0xa4,0x89,0x1e,0x2b,0x49,0x96,0x8f,0xf7,0xef,0xeb,0xdf,0xd7,0xf9,0xd4, 0xd3,0x8f,0x77,0x76,0xef,0xea,0x12,0x7f,0x43,0x52,0xca,0xe3,0xc4,0xdd,0x68,0x5e, 0xd9,0x46,0xd9,0xd0,0x63,0x4f,0x1c,0x14,0xde,0x62,0xd6,0x6f,0x36,0x60,0x36,0x28, 0xdc,0x6c,0xd8,0x6c,0xc4,0x6c,0xd4,0x6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27,0x0d,0x85,0xce,0x21,0xa7,0x53,0x0a,0x05,0x1e,0x75,0xb2,0x50,0xd3,0x11, 0x57,0xd6,0x37,0x2f,0x14,0xb9,0xf4,0x2c,0x9d,0x61,0xa7,0x13,0x39,0x8d,0x51,0x67, 0x39,0x3a,0x87,0x9d,0xce,0x8a,0x50,0xe0,0x51,0xa7,0xd9,0xe9,0x88,0xab,0x98,0x35, 0x93,0xab,0x82,0xce,0x88,0xd3,0x89,0x5c,0xb3,0xd3,0x59,0x89,0xce,0x51,0xa7,0xb3, 0x2a,0x14,0x78,0xd4,0xa9,0x3a,0x1d,0x71,0xab,0xcd,0xaa,0xe4,0x5a,0x8d,0xce,0xa8, 0xd3,0x89,0x5c,0xd5,0xe9,0xb4,0xa0,0x73,0xcc,0xe9,0xac,0x0b,0x05,0x1e,0x75,0xd6, 0x3b,0x1d,0x71,0xad,0x66,0xeb,0xc9,0xd5,0x8a,0xce,0x98,0xd3,0x89,0x9c,0xc6,0x45, 0x7b,0xfb,0x76,0x9b,0xfd,0x07,0x4a,0xa4,0x32,0x37,0x28,0x0d,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 utexture2DMSArray 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; // // #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(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 123 "shaders/src/BlitResolve.frag" // // void main() // { // ivec2 srcImageCoords = getSrcImageCoords(); // // uvec4 colorValue = uvec4(0, 0, 0, 0); // for (int i = 0; i < params.samples; ++ i) // { // colorValue += texelFetch(color, ivec3(srcImageCoords, params.srcLayer), i); // } // // colorValue = uvec4(round(colorValue * params.invSamples)); // // broadcastColor(colorValue); // // }