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.00000003.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000003[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x53,0x95,0x65, 14 0x14,0xc6,0xdf,0xbd,0x37,0x6c,0x08,0x05,0x94,0x63,0x4c,0x9a,0x24,0xcc,0xe4,0x20, 15 0x6d,0x9c,0x0a,0x13,0x8a,0x0e,0xca,0x4c,0x54,0x18,0x85,0x95,0x4e,0xd3,0x80,0x66, 16 0x59,0x16,0x70,0xe1,0x01,0x2e,0x4a,0xb0,0x83,0x70,0x61,0x2a,0x17,0x9a,0x70,0x61, 17 0x09,0x17,0x96,0xee,0x8b,0xa6,0x32,0x6f,0xeb,0xae,0xbf,0xa8,0xe3,0x4c,0x33,0xad, 18 0xf5,0xf1,0x5b,0xce,0x33,0x9b,0x99,0xc5,0xb7,0xd7,0xf3,0xac,0xf7,0x79,0xd6,0x7a, 19 0xbf,0xf7,0x7b,0x0b,0xf9,0xae,0x9a,0x94,0x72,0xa9,0x2e,0xd5,0xa6,0xdf,0xd2,0xc6, 20 0xdf,0xd6,0x94,0x37,0x24,0xa5,0x4d,0xa9,0x98,0x3d,0x5f,0x1c,0x3d,0x34,0x5a,0x3a, 21 0x7d,0xe6,0xbd,0xd2,0x93,0xfd,0x7b,0x9c,0x6f,0x48,0x85,0xac,0xce,0xb9,0x46,0xcb, 22 0xaa,0xec,0xe9,0x31,0x7d,0xec,0xe4,0x8c,0xe3,0xf5,0x16,0xfe,0x63,0xce,0x62,0xc1, 23 0x62,0xc9,0x62,0xd9,0x62,0xd5,0x62,0xdd,0xa2,0x6c,0xb1,0xc5,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x78,0x14,0x4f,0xff,0x9b,0x67,0x7f,0x76,0x81,0x8f,0x5b, 51 0xe6,0x3d,0xfd,0x00,0x16,0x75,0xff,0x98,0x46,0x68,0xf9,0xf3,0x0f,0xab,0xf2,0xba, 52 0x9f,0xa9,0xa9,0x66,0x4d,0x97,0xcc,0xb0,0x9b,0x19,0x7a,0x64,0x86,0x5e,0xf0,0x98, 53 0xe1,0x31,0xb0,0x98,0xa1,0x4f,0x66,0x70,0xae,0x64,0xd1,0x87,0x6f,0x49,0x66,0x78, 54 0x1c,0xef,0x9c,0xcc,0xf0,0x04,0x78,0xcc,0xf0,0x13,0x58,0xd4,0xf9,0x0c,0xa1,0xd5, 55 0x27,0x33,0xdc,0xa5,0xa6,0x9b,0x35,0x25,0x99,0x61,0x2f,0x33,0xf4,0xcb,0x0c,0x4f, 56 0x81,0xc7,0x0c,0xfb,0xc0,0x62,0x86,0x41,0x99,0xc1,0xb9,0x01,0x8b,0x41,0x7c,0x07, 57 0x38,0x47,0xee,0xfb,0x0c,0xde,0x77,0xe5,0x7b,0xf7,0x1e,0xa3,0x76,0x50,0x7a,0xfc, 58 0x95,0xba,0x3e,0xd6,0x0d,0x50,0xbb,0x9f,0xda,0xfd,0xd4,0xfa,0x79,0xbd,0xc7,0xb7, 59 0xe0,0xeb,0xdf,0xb1,0x38,0x00,0xe7,0x7b,0xf4,0x0b,0x67,0xd1,0xb9,0x49,0x38,0x9f, 60 0xd5,0xef,0xa5,0x97,0x99,0x75,0x84,0x59,0xbd,0xfe,0x15,0xf0,0x1f,0x99,0x75,0x14, 61 0x0d,0xc7,0xff,0xb4,0x9a,0x61,0x34,0x62,0xde,0x51,0xf2,0x61,0xfa,0x3a,0x80,0x96, 62 0xdf,0x5d,0xaf,0x71,0x6f,0x85,0xdf,0x21,0xfc,0xc6,0xc5,0xef,0x0d,0xf0,0x78,0xcf, 63 0x6f,0x31,0x7b,0x12,0xec,0x30,0x58,0x2e,0xd3,0x2c,0x66,0xf7,0xdd,0x11,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,0x5b,0xac,0xa0,0x75,0x1d,0x9f,0x55,0xf1,0x09,0x6e,0x45,0x7c,0xbe,0xc1, 78 0xe7,0x86,0xf8,0x7c,0x0b,0x1e,0x3e,0x6b,0xe2,0xe3,0xdc,0x4d,0x8b,0x35,0xb4,0x6e, 79 0xe2,0xb3,0x2e,0x3e,0xc1,0xad,0x89,0xcf,0x77,0xf8,0xdc,0x12,0x9f,0xef,0xc1,0xc3, 80 0xe7,0x8e,0xf8,0x38,0x77,0xdb,0xe2,0x0e,0x5a,0xb7,0xf1,0x29,0x8b,0x4f,0x70,0xfe, 81 0xfc,0xcf,0x6e,0x83,0x7d,0x16,0xff,0x03,0x38,0xb3,0xfe,0x17,0x00,0x0d,0x00,0x00 82}; 83 84// Generated from: 85// 86// #version 450 core 87// 88// #extension GL_EXT_samplerless_texture_functions : require 89// 90// layout(push_constant)uniform PushConstants { 91// 92// ivec2 offset; 93// vec2 stretch; 94// vec2 invSrcExtent; 95// int srcLayer; 96// int samples; 97// float invSamples; 98// 99// int outputMask; 100// 101// bool flipX; 102// bool flipY; 103// bool rotateXY; 104// } params; 105// 106// layout(set = 0, binding = 0)uniform texture2DMSArray color; 107// 108// layout(location = 0)out vec4 colorOut0; 109// layout(location = 1)out vec4 colorOut1; 110// layout(location = 2)out vec4 colorOut2; 111// layout(location = 3)out vec4 colorOut3; 112// layout(location = 4)out vec4 colorOut4; 113// layout(location = 5)out vec4 colorOut5; 114// layout(location = 6)out vec4 colorOut6; 115// layout(location = 7)out vec4 colorOut7; 116// 117// void main() 118// { 119// 120// ivec2 srcImageCoords = ivec2(gl_FragCoord . xy); 121// 122// srcImageCoords -= params . offset; 123// 124// if(params . flipX) 125// srcImageCoords . x = - srcImageCoords . x; 126// if(params . flipY) 127// srcImageCoords . y = - srcImageCoords . y; 128// if(params . rotateXY) 129// srcImageCoords . xy = srcImageCoords . yx; 130// 131// vec4 colorValue = vec4(0, 0, 0, 0); 132// for(int i = 0;i < params . samples;++ i) 133// { 134// colorValue += texelFetch(color, ivec3(srcImageCoords, params . srcLayer), i); 135// } 136// 137// colorValue *= params . invSamples; 138// 139// if((params . outputMask &(1 << 0))!= 0) 140// { 141// colorOut0 = colorValue; 142// } 143// if((params . outputMask &(1 << 1))!= 0) 144// { 145// colorOut1 = colorValue; 146// } 147// if((params . outputMask &(1 << 2))!= 0) 148// { 149// colorOut2 = colorValue; 150// } 151// if((params . outputMask &(1 << 3))!= 0) 152// { 153// colorOut3 = colorValue; 154// } 155// if((params . outputMask &(1 << 4))!= 0) 156// { 157// colorOut4 = colorValue; 158// } 159// if((params . outputMask &(1 << 5))!= 0) 160// { 161// colorOut5 = colorValue; 162// } 163// if((params . outputMask &(1 << 6))!= 0) 164// { 165// colorOut6 = colorValue; 166// } 167// if((params . outputMask &(1 << 7))!= 0) 168// { 169// colorOut7 = colorValue; 170// } 171// 172// } 173