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.0000000A.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_0000000A[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x4f,0x55,0x57, 14 0x10,0xc6,0xd7,0xb9,0xe3,0x11,0x10,0xb9,0x96,0x54,0x0b,0x0a,0x49,0x0d,0xea,0xc1, 15 0x54,0xb1,0x42,0xa5,0x69,0xd5,0x44,0x54,0xac,0xb6,0xc4,0x68,0xb4,0xad,0xd7,0xb6, 16 0x60,0x22,0x55,0x4e,0x93,0x56,0x48,0x5a,0x85,0x07,0xad,0x90,0x06,0x15,0x1e,0x68, 17 0x85,0x07,0x6f,0x3c,0x98,0x58,0xf1,0x55,0xdf,0xfd,0x8b,0x5a,0x2f,0x89,0x89,0x33, 18 0xeb,0xfc,0x06,0x27,0xe7,0x24,0x73,0xf6,0x9e,0xef,0x9b,0x99,0x6f,0x66,0xed,0xb5, 19 0x56,0x2a,0xd9,0x96,0x0b,0x21,0x11,0xf2,0xa1,0x22,0x3c,0x0f,0xa5,0xdf,0xea,0x90, 20 0x14,0x24,0x84,0x95,0x21,0x1b,0x9f,0x7b,0xfb,0x07,0xfa,0x0b,0xc5,0x5f,0xce,0x15, 21 0xb6,0x75,0x6d,0x51,0xbe,0x3a,0xa4,0x62,0x9c,0x72,0xab,0xc4,0x4b,0xcb,0x53,0xed, 22 0xc2,0xe9,0xa1,0x61,0xc5,0xab,0xc4,0xce,0x8b,0x15,0xc5,0xc6,0xc4,0x26,0xc4,0xa6, 23 0xc4,0x66,0xc5,0x16,0xc4,0x16,0xc5,0x6a,0xa4,0x86,0xe6,0xe4,0xb4,0xb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,0x78,0xb9,0xa8,0x51,0xc2,0x2c,0xee,0xb5,0xd4,0xb0,0x5a, 51 0xfa,0xfc,0x4f,0xa2,0x34,0xee,0x5f,0x62,0x32,0xe4,0xb4,0xb9,0x19,0x36,0x32,0x43, 52 0x87,0x9b,0x61,0x13,0xb8,0xcd,0xb0,0x19,0xcc,0x66,0xe8,0x74,0x33,0x28,0x57,0x10, 53 0xeb,0x44,0xb7,0xe0,0x66,0xf8,0x04,0xed,0x84,0x9b,0x61,0x2b,0xb8,0xcd,0xf0,0x18, 54 0xcc,0xe2,0x74,0x06,0xab,0xd5,0xe9,0x66,0x78,0x42,0x4c,0x3b,0x39,0x05,0x37,0xc3, 55 0x76,0x66,0xe8,0x72,0x33,0x7c,0x0a,0x6e,0x33,0xec,0x00,0xb3,0x19,0x7a,0xdc,0x0c, 56 0xca,0x75,0x8b,0xf5,0xa0,0xdb,0xcd,0x3e,0x52,0xdd,0x9d,0x68,0x3f,0x71,0xe7,0x59, 57 0x7b,0xb4,0xd8,0x1e,0xd7,0xe3,0x33,0xe2,0x3a,0xc9,0xeb,0x26,0x76,0x17,0xb1,0xbb, 58 0x88,0xd5,0x33,0xfa,0x94,0xb3,0xa0,0xf9,0x47,0xc4,0x76,0xc3,0xe9,0x1a,0x2d,0xb1, 59 0x17,0x95,0x3b,0x06,0xa7,0xb3,0xea,0xbd,0xb3,0x9f,0x59,0xfb,0x98,0x55,0xe3,0x0f, 60 0x80,0x2f,0x31,0x6b,0x3f,0x35,0x14,0xff,0x5f,0x62,0xf6,0x50,0xc3,0xe6,0xed,0xc7, 61 0xdf,0x43,0x5f,0xbb,0xa9,0xa5,0x77,0xd3,0x61,0xee,0xa5,0x93,0xf4,0x39,0x00,0xf6, 62 0x8c,0x7e,0x97,0xe2,0x19,0xcd,0x44,0xee,0x08,0x73,0x0c,0x80,0x65,0xe9,0x77,0x89, 63 0xbb,0xcc,0xcf,0xae,0x5a,0x17,0x39,0xab,0xc7,0xc9,0xd3,0x99,0xf4,0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0x37, 77 0x3a,0x73,0x4e,0xe7,0x1f,0x70,0xd3,0x99,0x77,0x3a,0xca,0xdd,0x11,0x9b,0xa7,0xd6, 78 0x1d,0x74,0x16,0x9c,0x8e,0x71,0xf3,0x4e,0xe7,0x1e,0x3a,0x77,0x9d,0xce,0x7d,0x70, 79 0xd3,0x79,0xe8,0x74,0x94,0x7b,0x20,0xf6,0x90,0x5a,0x0f,0xd0,0x59,0x74,0x3a,0xc6, 80 0xe9,0xf3,0xad,0x9c,0xbe,0x1d,0x62,0xef,0x00,0xa1,0x3f,0xdf,0x25,0xb4,0x0c,0x00, 81 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 utexture2DMS color; 107// 108// layout(location = 0)out uvec4 colorOut0; 109// layout(location = 1)out uvec4 colorOut1; 110// layout(location = 2)out uvec4 colorOut2; 111// layout(location = 3)out uvec4 colorOut3; 112// layout(location = 4)out uvec4 colorOut4; 113// layout(location = 5)out uvec4 colorOut5; 114// layout(location = 6)out uvec4 colorOut6; 115// layout(location = 7)out uvec4 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// uvec4 colorValue = uvec4(0, 0, 0, 0); 132// for(int i = 0;i < params . samples;++ i) 133// { 134// colorValue += texelFetch(color, srcImageCoords, i); 135// } 136// 137// colorValue = uvec4(round(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