blob: 21494e2c83d095461f6c5801b4bc80735a7e2e45 [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.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,0x94,0xdb,0x4f,0x55,0x57,
0x10,0xc6,0xd7,0xb9,0xd3,0x23,0x20,0x72,0x95,0x78,0x01,0x85,0x44,0x83,0xf6,0x60,
0x5a,0xb1,0x82,0xc5,0x78,0x4b,0x44,0xc5,0x7a,0x21,0x46,0x53,0xdb,0x5a,0xad,0x6d,
0xc1,0x44,0xac,0x1c,0x93,0x56,0x48,0xbc,0xc0,0x83,0x55,0x88,0xa1,0x15,0x1e,0x6c,
0x85,0x07,0x6f,0x3c,0x98,0x58,0xf1,0xd5,0xbe,0xf7,0x2f,0xaa,0x55,0x13,0x13,0x67,
0xd6,0xf9,0x0d,0x9d,0x9c,0x93,0xcc,0xd9,0x7b,0xbe,0x6f,0x66,0xbe,0x99,0xb5,0xd7,
0x5a,0xa9,0x64,0x5b,0x2e,0x84,0x44,0xc8,0x87,0x8a,0xf0,0x77,0x28,0xfd,0x56,0x84,
0xa4,0x20,0x21,0x2c,0x0b,0xd9,0xf8,0xdc,0xdf,0x3f,0xd0,0x5f,0x28,0x5e,0x39,0x5f,
0xd8,0xda,0xb5,0x45,0xf9,0xea,0x90,0x8a,0x71,0xca,0x2d,0x17,0x2f,0x2d,0x4f,0xb5,
0x8b,0x67,0x87,0x86,0x15,0xaf,0x12,0xbb,0x20,0x56,0x14,0x1b,0x13,0x9b,0x10,0x9b,
0x12,0x9b,0x15,0x9b,0x17,0x5b,0x10,0xab,0x91,0x1a,0x9a,0x93,0x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e7,0x74,0x1e,0xa1,0xf3,0xd0,0xe9,0x3c,0x06,
0x37,0x9d,0xa7,0x4e,0x47,0xb9,0x27,0x62,0x4f,0xa9,0xf5,0x04,0x9d,0x05,0xa7,0x63,
0x9c,0x3e,0xdf,0xcb,0xe9,0xdb,0x2e,0xf6,0x01,0x1e,0x0d,0x8d,0x7b,0xb4,0x0c,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 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;
//
// 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, srcImageCoords, 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;
// }
//
// }