blob: b53092e8e7e20cea3c597c4c4836be3b18876969 [file]
// 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.00000006.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000006[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x5f,0x68,0x97,0x65,
0x14,0xc7,0x9f,0xf7,0xf7,0x77,0x6d,0x6b,0x69,0x6b,0x9b,0xb1,0xcd,0xcd,0x6c,0xd1,
0x1f,0x11,0x41,0x8b,0x20,0x12,0xbb,0x2a,0xc3,0x11,0xcd,0x0b,0x6f,0x06,0x19,0xb4,
0x8b,0x2e,0x66,0x48,0xb1,0x0b,0x2f,0x9a,0xe4,0xcd,0x2e,0x24,0xd8,0x4d,0xa8,0x17,
0x96,0x66,0x20,0x15,0x69,0x99,0x77,0x56,0xd2,0x1f,0x2b,0x56,0x8d,0x62,0xda,0x68,
0xd0,0x1f,0x19,0x94,0x0c,0x4a,0x06,0xce,0x16,0x29,0x9d,0xef,0xfb,0x7e,0xce,0x3a,
0xfc,0x7e,0x70,0xf6,0xbe,0xe7,0xfb,0x3d,0xcf,0xf9,0x9e,0xf3,0x3c,0xe7,0x79,0x57,
0x2e,0xad,0xaf,0xa7,0x94,0xa5,0xe6,0xd4,0x94,0xd6,0x65,0x29,0xff,0xad,0x4e,0xa5,
0xa4,0xd7,0x96,0x54,0xcb,0x9f,0x8f,0xef,0xd8,0xb9,0x63,0xe3,0x8b,0x2f,0x3d,0xb7,
0x71,0xcb,0x83,0x9b,0xc4,0xb7,0xa5,0x72,0x1e,0x27,0xee,0x36,0xf3,0x2a,0xf6,0x94,
0x8d,0x3e,0xfb,0xfc,0x1e,0xe1,0x9d,0x66,0x3b,0xcd,0x86,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,0x56,0xe8,0xec,0x0b,0x3a,0x95,0xac,0xc0,0x5d,0xa7,0x1e,0x74,0xc4,
0x55,0xcd,0xea,0xe4,0xd2,0xbb,0x74,0xc6,0x83,0x8e,0x73,0xf5,0xa0,0xd3,0x8c,0xce,
0x81,0xa0,0xd3,0x92,0x15,0xb8,0xeb,0xb4,0x05,0x1d,0x71,0xad,0x66,0x6d,0xe4,0x6a,
0x45,0x67,0x22,0xe8,0x38,0xd7,0x16,0x74,0x56,0xa3,0x73,0x30,0xe8,0xdc,0x9e,0x15,
0xb8,0xeb,0x74,0x04,0x1d,0x71,0xed,0x66,0x1d,0xe4,0x6a,0x47,0x67,0x32,0xe8,0x38,
0xa7,0xe7,0x0d,0xdb,0xbc,0x87,0xcd,0xfe,0x03,0xd4,0xba,0x0e,0x01,0xdc,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 itexture2DMS color;
//
// layout(location = 0)out ivec4 colorOut0;
// layout(location = 1)out ivec4 colorOut1;
// layout(location = 2)out ivec4 colorOut2;
// layout(location = 3)out ivec4 colorOut3;
// layout(location = 4)out ivec4 colorOut4;
// layout(location = 5)out ivec4 colorOut5;
// layout(location = 6)out ivec4 colorOut6;
// layout(location = 7)out ivec4 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(ivec4 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();
//
// ivec4 colorValue = ivec4(0, 0, 0, 0);
// for(int i = 0;i < params . samples;++ i)
// {
// colorValue += texelFetch(color, srcImageCoords, i);
// }
//
// colorValue = ivec4(round(colorValue * params . invSamples));
//
// broadcastColor(colorValue);
//
// }