// 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.0000000A.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolve_frag_0000000A[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x4b,0x68,0x5d,0x55, 0x14,0x86,0xf7,0xb9,0xf7,0xe6,0x24,0xed,0x4d,0x34,0xad,0xb7,0x4d,0xac,0x37,0x4d, 0xb4,0x56,0x7c,0x94,0x52,0x88,0x8a,0x20,0x96,0x3a,0xd2,0x4a,0x83,0x98,0x0e,0x3a, 0x09,0x18,0xc1,0x0c,0x1c,0xa4,0x58,0x94,0x0c,0x3a,0x30,0xc5,0x4e,0x32,0x28,0x42, 0x26,0xd2,0x76,0xa0,0xad,0x15,0x8a,0x88,0x7d,0xcf,0xaa,0x16,0x1f,0xa5,0x12,0x6b, 0x50,0xa2,0x06,0x03,0x3e,0x4a,0x40,0x4b,0x40,0x4b,0xc0,0xd4,0xf8,0x08,0x71,0xfd, 0xfb,0x7c,0x3b,0x5d,0xdc,0xc0,0xca,0x3e,0xeb,0xff,0xd7,0x5e,0xff,0x5a,0xeb,0xec, 0x7d,0x6e,0xb9,0xb4,0xa9,0x39,0x84,0x2c,0xac,0x0e,0x2d,0xa1,0x27,0x0b,0xf1,0x6f, 0x4d,0x28,0x05,0x3d,0x56,0x43,0x1e,0xd7,0xa7,0x76,0xed,0xde,0xb5,0xf5,0x95,0x57, 0x5f,0xdc,0xfa,0xf0,0x23,0xdb,0xc4,0xdf,0x16,0xca,0x31,0x4e,0xdc,0xed,0xe6,0x55, 0x6c,0x95,0x0d,0xbf,0xf0,0xd2,0x5e,0xe1,0x1d,0x66,0xbb,0xcd,0x06,0xcc,0x86,0x84, 0x9b,0x8d,0x98,0x8d,0x9a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x98,0x09,0x53, 0x2e,0x3d,0x4b,0x67,0xd4,0xe9,0x24,0x4e,0x6b,0xd2,0x59,0x85,0xce,0x41,0xa7,0xb3, 0x3a,0x2b,0xf0,0xa4,0xd3,0xe6,0x74,0xc4,0x55,0xcd,0xda,0xc8,0x55,0x45,0x67,0xcc, 0xe9,0x24,0xae,0xcd,0xe9,0xb4,0xa3,0x73,0xc8,0xe9,0xac,0xc9,0x0a,0x3c,0xe9,0xd4, 0x9c,0x8e,0xb8,0xb5,0x66,0x35,0x72,0xad,0x45,0x67,0xdc,0xe9,0x24,0x4e,0xeb,0x92, 0xdd,0xbe,0xc7,0xcc,0xfe,0x07,0x7d,0xe5,0xad,0x67,0xb4,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 utexture2DMS 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 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, srcImageCoords, i); // } // // colorValue = uvec4(round(colorValue * params . invSamples)); // // broadcastColor(colorValue); // // }