blob: 18f6234291161783bed459d8b07a8633c6d324fa [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.00000007.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000007[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x4f,0x95,0x57,
0x10,0xc5,0xf7,0xb9,0xe3,0x29,0x20,0x72,0x2d,0xf1,0x86,0x42,0x52,0x83,0x7a,0x30,
0x56,0xac,0x50,0x31,0xde,0x12,0x51,0x51,0x5b,0x6c,0xab,0x31,0x46,0xa3,0xb5,0x2a,
0x56,0x44,0xd3,0xda,0x0a,0x0f,0x2a,0xe7,0x41,0x85,0x07,0x54,0x78,0x50,0x81,0x07,
0x2f,0xf0,0xe0,0x8d,0x44,0x93,0x56,0xfa,0xda,0x3e,0xf4,0x2f,0xea,0x35,0x69,0xd2,
0x99,0xed,0x6f,0xc8,0xe4,0x90,0x0c,0xdf,0x99,0xb5,0x66,0xcf,0x9a,0xb5,0xbf,0xfd,
0xed,0x54,0xb2,0x39,0x17,0x42,0x22,0xe4,0x43,0x59,0xf8,0x2d,0xbc,0xff,0x5b,0x12,
0x92,0x82,0x84,0xf0,0x41,0xc8,0xc6,0xe7,0x9e,0x9e,0xc3,0x3d,0x85,0xef,0xbe,0x3f,
0x53,0xd8,0xd4,0xbe,0x41,0xf9,0xca,0x90,0x8a,0x75,0xca,0x2d,0x96,0x2c,0x2d,0x4f,
0x8d,0xfe,0x53,0x7d,0x97,0x14,0xaf,0x90,0xb8,0x22,0x31,0x24,0x51,0x94,0x18,0x95,
0x98,0x90,0x98,0x96,0x98,0x95,0x98,0x93,0xa8,0x92,0x1e,0xba,0x26,0xa7,0xfd,0xe5,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c7,
0xb8,0x29,0xa7,0xf3,0x04,0x9d,0xc7,0x4e,0xe7,0x29,0xb8,0xe9,0xcc,0x38,0x1d,0xe5,
0x9e,0x49,0xcc,0xd0,0xeb,0x19,0x3a,0xb3,0x4e,0xc7,0xb8,0x19,0xa7,0xf3,0x02,0x9d,
0xe7,0x4e,0xe7,0x25,0xb8,0xe9,0xbc,0x76,0x3a,0xca,0xbd,0x92,0x78,0x4d,0xaf,0x57,
0xe8,0xcc,0x39,0x1d,0xe3,0xf4,0xf9,0x9f,0x7c,0x7d,0x5b,0x24,0xfe,0x07,0xb2,0xb3,
0x2e,0x3e,0x38,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 itexture2DMSArray 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;
//
// 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;
//
// ivec4 colorValue = ivec4(0, 0, 0, 0);
// for(int i = 0;i < params . samples;++ i)
// {
// colorValue += texelFetch(color, ivec3(srcImageCoords, params . srcLayer), i);
// }
//
// colorValue = ivec4(round(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;
// }
//
// }