blob: a96b11713318e9f4718c9523e4fd86f9233769cc [file] [log] [blame]
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_vk_internal_shaders.py.
//
// Copyright 2020 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.0000000B.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_0000000B[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0xdb,0x4f,0x95,0x57,
0x10,0xc5,0xf7,0xb9,0xd3,0x53,0x40,0xe4,0x5a,0xe2,0x0d,0x85,0x44,0x83,0x7a,0x30,
0x56,0xac,0x50,0x69,0x5a,0x35,0x11,0x2d,0xde,0xd0,0xaa,0x31,0x46,0xa3,0xb5,0x17,
0xac,0x28,0xa6,0xb5,0x15,0x1e,0x54,0xce,0x83,0x0a,0x0f,0x54,0xe1,0xc1,0x56,0x78,
0xb0,0x15,0x1e,0xac,0x4a,0xa2,0x89,0x8a,0xaf,0xfa,0xe0,0x5f,0xa4,0x56,0x93,0x26,
0x9d,0xd9,0xfe,0x86,0x4c,0xce,0x49,0x86,0xef,0x9b,0xb5,0x66,0xaf,0xb5,0x67,0xef,
0xfd,0x6d,0x52,0xc9,0xe6,0x5c,0x08,0x89,0x90,0x0f,0x65,0xe1,0x65,0xf8,0xf0,0x5b,
0x18,0x92,0x82,0x84,0xf0,0x71,0xc8,0xc6,0xe7,0xf6,0x9e,0xfd,0x3d,0x85,0x9f,0x7f,
0x39,0x55,0xd8,0xd0,0xbe,0x4e,0xf9,0xca,0x90,0x8a,0x75,0xca,0x2d,0x90,0x2c,0x2d,
0x4f,0x8d,0xfe,0x13,0x7d,0x67,0x15,0xaf,0x90,0x38,0x2f,0x31,0x24,0x51,0x94,0x18,
0x95,0x98,0x90,0x98,0x92,0x98,0x91,0x98,0x95,0xa8,0x12,0x0d,0x1d,0x93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0xb6,0xc4,0x24,0x5a,0xb7,0xf1,0x99,0x72,
0x3e,0xc6,0x4d,0x3a,0x9f,0xbf,0xf0,0xb9,0xe3,0x7c,0xfe,0x06,0x37,0x9f,0x69,0xe7,
0xa3,0xdc,0x5d,0x89,0x69,0xb4,0xee,0xe2,0x33,0xe3,0x7c,0x8c,0x9b,0x76,0x3e,0xff,
0xe0,0x73,0xcf,0xf9,0xdc,0x07,0x37,0x9f,0x87,0xce,0x47,0xb9,0x07,0x12,0x0f,0xd1,
0x7a,0x80,0xcf,0xac,0xf3,0x31,0x4e,0x9f,0xff,0xc9,0xd7,0xb7,0x49,0xe2,0x7f,0x6b,
0x4e,0x8c,0x9f,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 utexture2DMSArray 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;
//
// 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;
//
// uvec4 colorValue = uvec4(0, 0, 0, 0);
// for(int i = 0;i < params . samples;++ i)
// {
// colorValue += texelFetch(color, ivec3(srcImageCoords, params . srcLayer), i);
// }
//
// colorValue = uvec4(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;
// }
//
// }