1// GENERATED FILE - DO NOT EDIT. 2// Generated by gen_vk_internal_shaders.py. 3// 4// Copyright 2018 The ANGLE Project Authors. All rights reserved. 5// Use of this source code is governed by a BSD-style license that can be 6// found in the LICENSE file. 7// 8// shaders/gen/BlitResolve.frag.00000002.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000002[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0x49,0x4f,0x54,0x51, 14 0x10,0x85,0x6f,0x77,0x43,0x37,0xb6,0x02,0xca,0x28,0x71,0x42,0x21,0xd1,0x00,0x36, 15 0x46,0x45,0x05,0xc5,0x91,0x44,0x54,0x14,0x95,0x18,0x40,0x8d,0x38,0xa1,0x31,0x0a, 16 0x92,0x38,0xc0,0xc2,0xa1,0x35,0x0e,0xb0,0x70,0x80,0x85,0x03,0x2c,0x9c,0x58,0x98, 17 0x38,0xc5,0x9d,0xfe,0x02,0x7f,0x91,0x63,0x62,0x62,0xd5,0xf3,0x2b,0xad,0x74,0x27, 18 0xd5,0xef,0xd5,0x39,0x55,0x75,0xaa,0xee,0xbd,0xef,0x26,0xe2,0x35,0xa9,0x10,0x62, 19 0x21,0x1d,0x0a,0xc2,0xe7,0xf0,0xf7,0x37,0x27,0xc4,0x05,0x09,0x61,0x66,0x48,0x46, 20 0xcf,0xed,0x1d,0x5d,0x1d,0x99,0x0b,0x17,0x4f,0x66,0x56,0x37,0xad,0x50,0xbe,0x28, 21 0x24,0xa2,0x38,0xe5,0x8a,0xc5,0xcb,0x93,0xa7,0xda,0xc0,0xb1,0x33,0x83,0x8a,0x17, 22 0x8a,0x9d,0x16,0x1b,0x12,0x1b,0x11,0xcb,0x8a,0x8d,0x89,0x4d,0x88,0x4d,0x89,0x4d, 23 0x8b,0xcd,0x96,0x1a,0x9a,0x93,0xd2,0xfa,0xf2,0x56,0x18,0xe9,0x69,0xbd,0x10,0xda, 24 0x43,0x7e,0x28,0xa5,0x97,0x1a,0x9e,0x86,0xc5,0xc0,0x0a,0x1c,0x16,0x07,0x9b,0xed, 25 0xb0,0x04,0xd8,0x5c,0x87,0xe5,0x81,0xcd,0x77,0x58,0x3e,0x58,0xb5,0xc3,0x92,0x60, 26 0xb5,0x0e,0x4b,0x81,0x2d,0x73,0x58,0x01,0x58,0x83,0xc3,0x66,0x80,0xad,0x88,0xe6, 27 0x4a,0xfc,0xeb,0x4f,0x67,0xec,0x94,0xe7,0x12,0xe6,0x31,0x7f,0xb1,0xf3,0x75,0xcd, 28 0x16,0x3a,0x7f,0x08,0x3f,0x86,0x3f,0x82,0x6f,0xf5,0xb2,0xf8,0x09,0xfc,0x31,0xfc, 29 0x3c,0xfc,0x09,0xfc,0x7c,0xfc,0x29,0xfc,0x24,0xfe,0x34,0xbe,0xce,0x56,0x2a,0x55, 30 0xe3,0x51,0x3f,0x89,0xa8,0x9e,0xbe,0x97,0x4b,0x4c,0x92,0xb5,0xd1,0x1e,0x2a,0xc5, 31 0x4f,0x91,0xaf,0x7c,0x85,0x44,0xa6,0xe1,0x95,0xd3,0xfd,0x4b,0xa3,0x5f,0x2d,0xff, 32 0xb3,0xc8,0x53,0x7c,0x3d,0x7e,0xa1,0xab,0x55,0x44,0xbc,0x69,0x95,0x50,0x2b,0x44, 33 0x7d,0xcd,0xfa,0xb7,0xee,0x45,0x58,0x12,0x4b,0xf3,0x2c,0x71,0xa6,0x7a,0x65,0xac, 34 0x7f,0x29,0x7a,0x65,0x51,0xdd,0xbf,0x58,0x3d,0xb3,0x54,0x50,0x5f,0xe3,0x2b,0xe1, 35 0x52,0x8e,0x9f,0x8f,0xaf,0xfc,0x02,0x78,0xad,0x5f,0x26,0x5d,0x56,0x13,0x57,0xe2, 36 0xf6,0xcd,0xf2,0xea,0x38,0x0f,0xe6,0x37,0x39,0x5d,0xed,0x77,0x13,0xf1,0x0d,0x52, 37 0x5d,0xd7,0x63,0x33,0x98,0x37,0xcb,0x6d,0x77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f7,0x96,0x98, 51 0x7c,0x72,0x6a,0xdc,0x0c,0xf5,0xcc,0x50,0xe7,0x66,0x68,0x00,0xb7,0x19,0x96,0x83, 52 0xd9,0x0c,0x8d,0x6e,0x06,0xe5,0x32,0x62,0x8d,0xe8,0x66,0xdc,0x0c,0x2b,0xd1,0x8e, 53 0xb9,0x19,0x56,0x81,0xdb,0x0c,0x6f,0xc0,0x2c,0x4e,0x67,0xb0,0x5a,0x8d,0x6e,0x86, 54 0x77,0xc4,0xd4,0x92,0x93,0x71,0x33,0xac,0x61,0x86,0x26,0x37,0xc3,0x5a,0x70,0x9b, 55 0x61,0x1d,0x98,0xcd,0xd0,0xe2,0x66,0x50,0xae,0x59,0xac,0x05,0xdd,0x66,0xce,0x91, 56 0xea,0x6e,0x40,0xfb,0x9d,0xfb,0x9e,0xb5,0x47,0x8b,0x6d,0x71,0x3d,0x7e,0x22,0xae, 57 0x91,0xbc,0x66,0x62,0xb7,0x12,0xbb,0x95,0x58,0x3d,0xaf,0x1f,0xf8,0x16,0x34,0xff, 58 0x80,0xd8,0x36,0x38,0x5d,0xa3,0xf7,0x9c,0x45,0xe5,0x7a,0xe0,0x74,0x56,0xbd,0x77, 59 0x76,0x32,0x6b,0x3b,0xb3,0x6a,0xfc,0x2e,0xf0,0x8f,0xcc,0xda,0x41,0x0d,0xc5,0xbf, 60 0x49,0x4c,0x1b,0x35,0x6c,0xde,0x0e,0xfc,0x36,0xfa,0xda,0x46,0x2d,0xbd,0x9b,0xf6, 61 0x72,0x2f,0xf5,0xd1,0x67,0x17,0xd8,0x27,0xfa,0xd5,0xba,0x37,0x44,0x67,0x26,0x7d, 62 0x7f,0x20,0x26,0xcb,0x9e,0xf7,0x10,0xd3,0x9d,0x33,0x7b,0x1b,0x33,0xe8,0x3d,0x76, 63 0x88,0x19,0x7a,0xd1,0xd5,0x3b,0xed,0x30,0xf8,0x7d,0x6a,0x1f,0xa1,0xf6,0x61,0x37, 64 0xfb,0x51,0xf2,0xfa,0xdc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x7a,0x89,0xce,0xb4,0xd3,0x31, 78 0x4e,0x9f,0xbf,0xe5,0x76,0x5b,0x27,0xf6,0x07,0xf2,0x9a,0x15,0xfb,0x7c,0x0c,0x00, 79 0x00 80}; 81 82// Generated from: 83// 84// #version 450 core 85// 86// #extension GL_EXT_samplerless_texture_functions : require 87// 88// layout(push_constant)uniform PushConstants { 89// 90// ivec2 offset; 91// vec2 stretch; 92// vec2 invSrcExtent; 93// int srcLayer; 94// int samples; 95// float invSamples; 96// 97// int outputMask; 98// 99// bool flipX; 100// bool flipY; 101// bool rotateXY; 102// } params; 103// 104// layout(set = 0, binding = 0)uniform texture2DMS color; 105// 106// layout(location = 0)out vec4 colorOut0; 107// layout(location = 1)out vec4 colorOut1; 108// layout(location = 2)out vec4 colorOut2; 109// layout(location = 3)out vec4 colorOut3; 110// layout(location = 4)out vec4 colorOut4; 111// layout(location = 5)out vec4 colorOut5; 112// layout(location = 6)out vec4 colorOut6; 113// layout(location = 7)out vec4 colorOut7; 114// 115// void main() 116// { 117// 118// ivec2 srcImageCoords = ivec2(gl_FragCoord . xy); 119// 120// srcImageCoords -= params . offset; 121// 122// if(params . flipX) 123// srcImageCoords . x = - srcImageCoords . x; 124// if(params . flipY) 125// srcImageCoords . y = - srcImageCoords . y; 126// if(params . rotateXY) 127// srcImageCoords . xy = srcImageCoords . yx; 128// 129// vec4 colorValue = vec4(0, 0, 0, 0); 130// for(int i = 0;i < params . samples;++ i) 131// { 132// colorValue += texelFetch(color, srcImageCoords, i); 133// } 134// 135// colorValue *= params . invSamples; 136// 137// if((params . outputMask &(1 << 0))!= 0) 138// { 139// colorOut0 = colorValue; 140// } 141// if((params . outputMask &(1 << 1))!= 0) 142// { 143// colorOut1 = colorValue; 144// } 145// if((params . outputMask &(1 << 2))!= 0) 146// { 147// colorOut2 = colorValue; 148// } 149// if((params . outputMask &(1 << 3))!= 0) 150// { 151// colorOut3 = colorValue; 152// } 153// if((params . outputMask &(1 << 4))!= 0) 154// { 155// colorOut4 = colorValue; 156// } 157// if((params . outputMask &(1 << 5))!= 0) 158// { 159// colorOut5 = colorValue; 160// } 161// if((params . outputMask &(1 << 6))!= 0) 162// { 163// colorOut6 = colorValue; 164// } 165// if((params . outputMask &(1 << 7))!= 0) 166// { 167// colorOut7 = colorValue; 168// } 169// 170// } 171