blob: 60622985575f63cbc3ecd4acdb516d83699a1a0b [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.00000002.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000002[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x5f,0x68,0x97,0x65,
0x14,0xc7,0x9f,0xf7,0xf7,0x77,0xf3,0x67,0xba,0xcc,0x2d,0xdd,0xe6,0xb2,0x5c,0x60,
0x24,0x22,0x62,0x11,0x84,0x61,0x57,0x2d,0x18,0xc4,0x16,0x78,0xb3,0x8b,0x11,0xec,
0x26,0x58,0x22,0xd4,0x2e,0xba,0x19,0xb5,0x9b,0x5d,0x08,0xb1,0x9b,0x42,0x77,0x61,
0x69,0x06,0x52,0x5a,0xd6,0x9d,0x95,0xf4,0x47,0xaa,0x55,0xa3,0x58,0x35,0x1a,0xa8,
0xc5,0xa0,0x64,0x50,0x32,0x28,0x5b,0xa9,0x0c,0x3a,0xdf,0xf7,0xfd,0x9c,0x79,0xf8,
0x0d,0x0e,0xef,0x7b,0xbe,0xdf,0xf3,0x9c,0xef,0xf3,0x7d,0xce,0xf3,0xfe,0x56,0x2e,
0xed,0xa8,0xa7,0x94,0xa5,0x75,0xa9,0x25,0xf5,0x64,0x29,0xff,0xbb,0x33,0x95,0x92,
0x5e,0x1b,0xa9,0x96,0x3f,0x9f,0xe8,0x7f,0xba,0x7f,0xf7,0xf3,0x2f,0x8c,0xec,0xde,
0xf7,0xd0,0x1e,0xf1,0x1b,0x52,0x39,0xaf,0x13,0xb7,0xd1,0xb2,0x8a,0x3d,0x15,0xcf,
0x3d,0xf3,0xec,0x21,0xe1,0xed,0x16,0x83,0x16,0x43,0x16,0x23,0x16,0xa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,0x25,0x2b,0x70,0xd7,0x69,0x04,
0x1d,0x71,0xad,0x16,0x0d,0x7a,0xb5,0xa2,0x33,0x19,0x74,0x9c,0x6b,0x04,0x9d,0x0d,
0xe8,0x1c,0x09,0x3a,0x1b,0xb3,0x02,0x77,0x9d,0x4d,0x41,0x47,0x5c,0x9b,0xc5,0x26,
0x7a,0xb5,0xa1,0x33,0x15,0x74,0x9c,0xd3,0x73,0xd5,0x0e,0xe6,0x11,0x8b,0xff,0x01,
0xe2,0xad,0xd4,0xd6,0xa4,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 texture2DMS 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;
//
// #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(vec4 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();
//
// vec4 colorValue = vec4(0, 0, 0, 0);
// for(int i = 0;i < params . samples;++ i)
// {
// colorValue += texelFetch(color, srcImageCoords, i);
// }
//
// colorValue *= params . invSamples;
//
// broadcastColor(colorValue);
//
// }