blob: a02ec85bde86d787ba2409dbe4477c4c5f35b5a9 [file] [log] [blame]
// 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,0x94,0x4f,0x68,0x5d,0x55,
0x10,0xc6,0xcf,0x7d,0xef,0xe5,0xbd,0x98,0xc4,0xa6,0xc1,0x24,0xc6,0xa6,0xa6,0x69,
0x13,0xa1,0x62,0x29,0x25,0xa8,0x08,0x52,0xd1,0x95,0x11,0x02,0x9a,0x08,0xdd,0x64,
0x11,0x84,0x6c,0x84,0x58,0x0a,0x9a,0x45,0x37,0x41,0xb3,0xc9,0xa2,0x20,0xd9,0x28,
0x6d,0x16,0xda,0x5a,0xa9,0x7f,0x52,0x8a,0xb6,0x5a,0xdc,0x55,0x2d,0x5a,0x8b,0x12,
0x6d,0x50,0xa2,0x06,0x03,0xfe,0x23,0xa0,0x25,0xa0,0x25,0xda,0x94,0x4a,0x9d,0xef,
0xde,0xdf,0xb4,0xc3,0x7b,0x30,0x9c,0x37,0xdf,0x37,0x67,0xbe,0x99,0x39,0xe7,0xdc,
0x72,0xa9,0xaf,0x96,0x52,0x96,0x9a,0x52,0x63,0xea,0xcf,0x52,0xfe,0x6b,0x4b,0xa5,
0xa4,0xbf,0xcd,0xa9,0x9a,0xaf,0x8f,0x0f,0x3d,0x3d,0xb4,0xfb,0xf9,0x17,0xc6,0x77,
0xdf,0xff,0xc0,0x1e,0xf1,0x9b,0x52,0x39,0x8f,0x13,0xd7,0x6a,0x5e,0xc5,0x56,0xd9,
0x73,0xcf,0x3c,0xbb,0x5f,0x78,0x87,0xd9,0x88,0xd9,0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x83,0x8e,0x73,0x5a,0x5d,0xa7,0x9a,0x15,0x3a,0x07,0x83,0x4e,0x2d,0x2b,
0x70,0xd7,0x69,0x0a,0x3a,0xe2,0x1a,0xcd,0x9a,0xc8,0xd5,0x88,0xce,0x54,0xd0,0x71,
0xae,0x29,0xe8,0xdc,0x8e,0xce,0x74,0xd0,0xd9,0x94,0x15,0xb8,0xeb,0xb4,0x05,0x1d,
0x71,0xad,0x66,0x6d,0xe4,0x6a,0x45,0x67,0x26,0xe8,0x38,0xd7,0x16,0x74,0xda,0xd1,
0x39,0x14,0x74,0x3a,0xb2,0x02,0x77,0x9d,0xae,0xa0,0x23,0xae,0xd3,0xac,0x8b,0x5c,
0x9d,0xe8,0xcc,0x06,0x1d,0xe7,0xb4,0xfe,0x67,0x83,0x7e,0xc8,0xec,0x7f,0x79,0xd8,
0x48,0xef,0x00,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 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 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);
//
// }