blob: cd824a43ea40988a9491f7ca85aa0c1597eaf70b [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,0xdb,0x53,0x95,0x65,
0x14,0xc6,0xdf,0xbd,0x37,0x6c,0x08,0x05,0x94,0x63,0x4c,0x9a,0x24,0xcc,0xe4,0x20,
0x6d,0x9c,0x0a,0x13,0x8a,0x0e,0xca,0x4c,0x54,0x18,0x85,0x95,0x4e,0xd3,0x80,0x66,
0x59,0x16,0x70,0xe1,0x01,0x2e,0x4a,0xb0,0x83,0x70,0x61,0x2a,0x17,0x9a,0x70,0x61,
0x09,0x17,0x96,0xee,0x8b,0xa6,0x32,0x6f,0xeb,0xae,0xbf,0xa8,0xe3,0x4c,0x33,0xad,
0xf5,0xf1,0x5b,0xce,0x33,0x9b,0x99,0xc5,0xb7,0xd7,0xf3,0xac,0xf7,0x79,0xd6,0x7a,
0xbf,0xf7,0x7b,0x0b,0xf9,0xae,0x9a,0x94,0x72,0xa9,0x2e,0xd5,0xa6,0xdf,0xd2,0xc6,
0xdf,0xd6,0x94,0x37,0x24,0xa5,0x4d,0xa9,0x98,0x3d,0x5f,0x1c,0x3d,0x34,0x5a,0x3a,
0x7d,0xe6,0xbd,0xd2,0x93,0xfd,0x7b,0x9c,0x6f,0x48,0x85,0xac,0xce,0xb9,0x46,0xcb,
0xaa,0xec,0xe9,0x31,0x7d,0xec,0xe4,0x8c,0xe3,0xf5,0x16,0xfe,0x63,0xce,0x62,0xc1,
0x62,0xc9,0x62,0xd9,0x62,0xd5,0x62,0xdd,0xa2,0x6c,0xb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0x6b,0xe2,0xe3,0xdc,0x4d,0x8b,0x35,0xb4,0x6e,
0xe2,0xb3,0x2e,0x3e,0xc1,0xad,0x89,0xcf,0x77,0xf8,0xdc,0x12,0x9f,0xef,0xc1,0xc3,
0xe7,0x8e,0xf8,0x38,0x77,0xdb,0xe2,0x0e,0x5a,0xb7,0xf1,0x29,0x8b,0x4f,0x70,0xfe,
0xfc,0xcf,0x6e,0x83,0x7d,0x16,0xff,0x03,0x38,0xb3,0xfe,0x17,0x00,0x0d,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// 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;
//
// 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;
//
// void main()
// {
//
// 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;
//
// 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;
//
// 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;
// }
//
// }