blob: 9e19cbeec73bcf0746a7b2aee72b18e7c3e6d80c [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.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,0x94,0x49,0x4f,0x54,0x51,
0x10,0x85,0x6f,0x77,0x43,0x37,0xb6,0x02,0xca,0x28,0x71,0x42,0x21,0xd1,0x00,0x36,
0x46,0x45,0x05,0xc5,0x91,0x44,0x54,0x14,0x95,0x18,0x40,0x8d,0x38,0xa1,0x31,0x0a,
0x92,0x38,0xc0,0xc2,0xa1,0x35,0x0e,0xb0,0x70,0x80,0x85,0x03,0x2c,0x9c,0x58,0x98,
0x38,0xc5,0x9d,0xfe,0x02,0x7f,0x91,0x63,0x62,0x62,0xd5,0xf3,0x2b,0xad,0x74,0x27,
0xd5,0xef,0xd5,0x39,0x55,0x75,0xaa,0xee,0xbd,0xef,0x26,0xe2,0x35,0xa9,0x10,0x62,
0x21,0x1d,0x0a,0xc2,0xe7,0xf0,0xf7,0x37,0x27,0xc4,0x05,0x09,0x61,0x66,0x48,0x46,
0xcf,0xed,0x1d,0x5d,0x1d,0x99,0x0b,0x17,0x4f,0x66,0x56,0x37,0xad,0x50,0xbe,0x28,
0x24,0xa2,0x38,0xe5,0x8a,0xc5,0xcb,0x93,0xa7,0xda,0xc0,0xb1,0x33,0x83,0x8a,0x17,
0x8a,0x9d,0x16,0x1b,0x12,0x1b,0x11,0xcb,0x8a,0x8d,0x89,0x4d,0x88,0x4d,0x89,0x4d,
0x8b,0xcd,0x96,0x1a,0x9a,0x93,0xd2,0xfa,0xf2,0x56,0x18,0xe9,0x69,0xbd,0x10,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,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 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;
//
// 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, srcImageCoords, 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;
// }
//
// }