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.00000008.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000008[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x96,0x59,0x4f,0x54,0x41, 14 0x10,0x85,0x7b,0x16,0x66,0x50,0x51,0x11,0x44,0x70,0xc1,0x0d,0x37,0x50,0xc9,0xa8, 15 0x8c,0xd1,0x20,0x8a,0x9a,0x08,0xea,0xb8,0xe0,0x82,0x2b,0x1a,0xa3,0x42,0x8c,0x0b, 16 0x24,0x2e,0xf0,0xe0,0x02,0x31,0xa8,0xf0,0xe0,0x02,0x0f,0x6e,0x3c,0x98,0x28,0xfa, 17 0xe0,0x0f,0xf1,0x17,0x19,0x97,0xc4,0xc4,0xaa,0x9e,0xaf,0x4c,0x39,0x93,0x54,0xee, 18 0x3d,0xe7,0x54,0xd7,0xe9,0xea,0xee,0xdb,0x99,0x54,0xb2,0x21,0x1b,0x42,0x22,0xcc, 19 0x0c,0xe5,0xe1,0x4b,0x28,0xfe,0xe6,0x85,0xa4,0x30,0x21,0xcc,0x0a,0x99,0xf8,0xec, 20 0x28,0x1c,0x2f,0x34,0xdf,0xbe,0x73,0xa5,0xb9,0x25,0x9f,0x53,0x7d,0x4e,0x48,0xc5, 21 0x3c,0xd5,0xe6,0x0a,0x4a,0xcb,0x53,0xe3,0xe6,0xa5,0x6b,0xb7,0x94,0xaf,0x90,0xb8, 22 0x28,0xd1,0x27,0x31,0x20,0x31,0x24,0x31,0x22,0x31,0x2e,0x31,0x29,0x31,0x25,0x51, 23 0x29,0x35,0x74,0x4c,0x56,0xeb,0xcb,0x5b,0x45,0xf4,0xd3,0x7a,0x21,0x74,0x86,0xb2, 24 0x30,0x9f,0xb9,0x34,0xf0,0x34,0x2e,0x01,0x57,0xee,0xb8,0x24,0x5c,0xa5,0xe3,0x52, 25 0x70,0x75,0x8e,0x4b,0xc3,0x2d,0x71,0x5c,0x19,0xdc,0x72,0xc7,0x65,0xe0,0x56,0x39, 26 0x2e,0x0b,0xb7,0xce,0x71,0xe5,0x70,0x1b,0x1c,0x37,0x03,0x2e,0x17,0xfb,0x4a,0xfd, 27 0x9b,0x9f,0xf6,0xd8,0x29,0xcf,0x95,0xf4,0x63,0x78,0x85,0xc3,0x85,0x12,0xbd,0x80, 28 0x6e,0xe3,0x75,0x4d,0x97,0x3a,0xbd,0x0f,0x9c,0x00,0x0f,0x80,0x2d,0x7f,0x08,0x9c, 29 0x02,0x8f,0x80,0xd3,0xe0,0x71,0x70,0x19,0x78,0x12,0x9c,0x01,0x4f,0x81,0xb5,0xf7, 30 0x6a,0xa9,0x9a,0x8c,0xf3,0x49,0xc5,0x7a,0xfa,0xbe,0x40,0xde,0x32,0xac,0x5d,0xad, 31 0xe4,0x67,0x19,0x9b,0x04,0xcf,0x04,0xa7,0x63,0x4e,0x3a,0xee,0xaf,0xce,0x55,0xf9, 32 0x56,0x70,0x05,0x5c,0x8d,0xe0,0x2a,0x6a,0x19,0xae,0x06,0x87,0x38,0x8f,0x8a,0x7f, 33 0xfb,0x60,0x51,0x45,0x64,0x78,0x56,0xbb,0x50,0xbf,0x1a,0xf6,0x63,0x3e,0x7e,0x35, 34 0x71,0xce,0x45,0x6e,0x3d,0x7e,0xb5,0xf8,0x69,0x7e,0x1d,0x5a,0xd6,0xe9,0xf5,0xf8, 35 0x1b,0x5e,0x89,0xae,0xf9,0x0d,0xe4,0x57,0x47,0x8f,0x64,0x58,0x43,0x9e,0xe2,0xb5, 36 0x25,0xe3,0x72,0x9c,0x17,0xc3,0xad,0x8c,0xd5,0x75,0xda,0x4b,0x0d,0x5d,0xa7,0x85, 37 0xc2,0xee,0x03,0x27,0xc2,0xff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77,0xaf,0x3d,0x92,0x5c, 51 0xe5,0x9a,0xe1,0x8f,0x09,0xd2,0x39,0x7d,0x80,0xb3,0xbc,0x5f,0x52,0xc3,0x6a,0xe9, 52 0xf3,0xbb,0x64,0x69,0xde,0x27,0x72,0xca,0x18,0xd3,0xe8,0x7a,0xd8,0x44,0x0f,0x39, 53 0xd7,0xc3,0x66,0x78,0xeb,0x61,0x0b,0x9c,0xf5,0x90,0x77,0x3d,0xa8,0xd6,0x22,0x91, 54 0xc7,0xb7,0xc5,0xf5,0xb0,0x0d,0xef,0x84,0xeb,0x61,0x3b,0xbc,0xf5,0xf0,0x11,0xce, 55 0xf2,0xb4,0x07,0xab,0x95,0x77,0x3d,0x4c,0x93,0xd3,0xc4,0x98,0x16,0xd7,0xc3,0x0e, 56 0x7a,0x68,0x75,0x3d,0xb4,0xc1,0x5b,0x0f,0x3b,0xe1,0xac,0x87,0x76,0xd7,0x83,0x6a, 57 0xbb,0x38,0xe3,0xea,0xab,0xef,0x47,0xf0,0xdd,0x83,0xf7,0xb4,0xbb,0x3b,0x74,0x8e, 58 0x96,0xdb,0xee,0xe6,0xf8,0x99,0xbc,0x3c,0xe3,0x76,0x31,0x1f,0xbd,0x1b,0xf6,0x73, 59 0xb7,0x28,0xd6,0x7b,0xe4,0x10,0x77,0x48,0xb7,0xcc,0xef,0x70,0xf4,0x2b,0xe6,0x1c, 60 0x72,0xe7,0xf2,0x18,0x7d,0x75,0xb9,0x73,0x79,0x1c,0xde,0xce,0xf3,0x09,0x7c,0x95, 61 0x3f,0x25,0x9c,0xde,0x23,0x27,0xa9,0x77,0x82,0x5a,0x7a,0xe7,0x9c,0xa6,0x56,0x37, 62 0xb5,0xf4,0xbb,0x3d,0x03,0xff,0x4d,0x72,0x14,0x9f,0x85,0xab,0x75,0xeb,0x76,0x0e, 63 0xbe,0x9e,0x75,0xeb,0x71,0xeb,0xa6,0xda,0x79,0x89,0x1e,0xd6,0xe2,0x7c,0x5c,0xe7, 64 0x54,0xbc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81// #version 450 core 82// 83// layout(push_constant)uniform PushConstants { 84// 85// vec2 offset; 86// vec2 stretch; 87// vec2 invSrcExtent; 88// int srcLayer; 89// int samples; 90// float invSamples; 91// 92// int outputMask; 93// 94// bool flipX; 95// bool flipY; 96// bool rotateXY; 97// } params; 98// 99// layout(set = 0, binding = 0)uniform utexture2D color; 100// 101// layout(location = 0)out uvec4 colorOut0; 102// layout(location = 1)out uvec4 colorOut1; 103// layout(location = 2)out uvec4 colorOut2; 104// layout(location = 3)out uvec4 colorOut3; 105// layout(location = 4)out uvec4 colorOut4; 106// layout(location = 5)out uvec4 colorOut5; 107// layout(location = 6)out uvec4 colorOut6; 108// layout(location = 7)out uvec4 colorOut7; 109// 110// layout(set = 0, binding = 2)uniform sampler blitSampler; 111// 112// void main() 113// { 114// 115// vec2 srcImageCoords = vec2(gl_FragCoord . xy); 116// 117// srcImageCoords *= params . stretch; 118// 119// srcImageCoords -= params . offset; 120// 121// if(params . flipX) 122// srcImageCoords . x = - srcImageCoords . x; 123// if(params . flipY) 124// srcImageCoords . y = - srcImageCoords . y; 125// if(params . rotateXY) 126// srcImageCoords . xy = srcImageCoords . yx; 127// 128// uvec4 colorValue = texture(usampler2D(color, blitSampler), srcImageCoords * params . invSrcExtent); 129// 130// if((params . outputMask &(1 << 0))!= 0) 131// { 132// colorOut0 = colorValue; 133// } 134// if((params . outputMask &(1 << 1))!= 0) 135// { 136// colorOut1 = colorValue; 137// } 138// if((params . outputMask &(1 << 2))!= 0) 139// { 140// colorOut2 = colorValue; 141// } 142// if((params . outputMask &(1 << 3))!= 0) 143// { 144// colorOut3 = colorValue; 145// } 146// if((params . outputMask &(1 << 4))!= 0) 147// { 148// colorOut4 = colorValue; 149// } 150// if((params . outputMask &(1 << 5))!= 0) 151// { 152// colorOut5 = colorValue; 153// } 154// if((params . outputMask &(1 << 6))!= 0) 155// { 156// colorOut6 = colorValue; 157// } 158// if((params . outputMask &(1 << 7))!= 0) 159// { 160// colorOut7 = colorValue; 161// } 162// 163// } 164