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.00000001.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000001[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x96,0xe9,0x4f,0x55,0x67, 14 0x10,0xc6,0xdf,0x7b,0xcf,0x5d,0xa8,0x45,0x45,0x10,0xa1,0x56,0xdc,0x70,0x29,0xb4, 15 0x92,0xab,0x72,0x1b,0x1b,0x44,0xd1,0x04,0x37,0x68,0x8b,0xa8,0xdd,0x5c,0xaa,0x15, 16 0x9b,0xd8,0x0a,0x4d,0x5c,0xe0,0x43,0x2b,0xd7,0x04,0x15,0x3e,0xb8,0xc0,0x07,0x5b, 17 0xe1,0x83,0x1b,0x1f,0x9a,0xb4,0xb6,0xff,0x46,0xff,0xa2,0xa6,0xd5,0xc4,0xc4,0x99, 18 0xf7,0xfc,0x86,0x4c,0x0e,0xc9,0x70,0xce,0x3c,0xcf,0xcc,0x3c,0x33,0xe7,0x5d,0x20, 19 0xc9,0xb7,0x97,0x43,0xc8,0x85,0x65,0xa1,0x2e,0xfc,0x1d,0xd2,0x9f,0x55,0x21,0x2f, 20 0x48,0x08,0xef,0x86,0x52,0x7c,0x1e,0x1e,0x3c,0x31,0xd8,0x75,0xed,0xfa,0x48,0x57, 21 0x77,0xb5,0xa2,0xfc,0x8a,0x90,0xc4,0x38,0xe5,0x56,0x8a,0x57,0x90,0xa7,0xda,0xe8, 22 0x85,0xcb,0x63,0x8a,0xd7,0x8b,0x7d,0x2f,0xa6,0xce,0x84,0x58,0x4d,0x6c,0x46,0x6c, 23 0x4e,0x6c,0x41,0x6c,0x51,0xac,0x41,0x6a,0x68,0x4e,0x59,0xeb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af,0x25,0x5e,0xb9,0x0e,0xb1,0x4e,0xbe,0x4b,0x87,0x9b, 51 0x79,0x87,0xbb,0xe7,0x6a,0x12,0xab,0x58,0x17,0xf8,0xb0,0x78,0xda,0xd3,0xef,0x60, 52 0x16,0xf7,0x4a,0x6a,0x58,0x2d,0x7d,0xfe,0x2b,0x51,0xe5,0xd8,0x4b,0x1a,0x53,0x24, 53 0xa7,0xc3,0xcd,0xb0,0x93,0x19,0x2a,0x6e,0x86,0x5d,0xe0,0x36,0xc3,0x6e,0x30,0x9b, 54 0xa1,0xea,0x66,0x50,0xae,0x5b,0xac,0x8a,0x6e,0xb7,0x9b,0x61,0x0f,0xda,0x39,0x37, 55 0xc3,0x27,0xe0,0x36,0xc3,0x1f,0x60,0x16,0xa7,0x33,0x58,0xad,0xaa,0x9b,0xe1,0x25, 56 0x31,0x9d,0xe4,0x74,0xbb,0x19,0xf6,0x32,0x43,0x8f,0x9b,0xa1,0x17,0xdc,0x66,0xd8, 57 0x07,0x66,0x33,0xf4,0xb9,0x19,0x94,0xdb,0xcf,0x1e,0x57,0x5d,0x7d,0xff,0x1c,0xdd, 58 0x83,0x68,0xbf,0x74,0x77,0x8b,0xf6,0x68,0xb1,0x7d,0xae,0xc7,0xbf,0x88,0xab,0x92, 59 0xb7,0x9f,0x7e,0xfa,0xe3,0xdf,0xba,0xf4,0xee,0x51,0x5f,0xef,0x99,0x41,0xee,0x98, 60 0x2f,0xa4,0x3f,0xbd,0x5f,0x3e,0x23,0x66,0xd0,0xed,0xcb,0xe3,0xcc,0x35,0xe4,0xf6, 61 0xe5,0x30,0xb8,0xed,0xe7,0x13,0xe8,0x0e,0x93,0x77,0x2a,0xd6,0x4c,0xf3,0x4e,0x92, 62 0xa7,0x67,0xf4,0x4b,0xf0,0x9f,0x58,0x87,0xaf,0xc0,0x6c,0xad,0xbe,0xa1,0x96,0x3f, 63 0x77,0xa7,0xc1,0xd2,0x73,0x57,0x8a,0x77,0xd9,0x19,0x62,0x4f,0x2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a,0x4f,0x9c,0xce,0x33,0x70,0xd3,0x79,0xe1,0x74,0x94,0x7b,0x2e,0xf6, 78 0x82,0x5a,0xcf,0xd1,0x59,0x74,0x3a,0xc6,0xe9,0xf3,0x8d,0x9c,0xca,0x3d,0x62,0x6f, 79 0x01,0xef,0x73,0x53,0xa0,0x8c,0x0c,0x00,0x00 80}; 81 82// Generated from: 83// 84// #version 450 core 85// 86// layout(push_constant)uniform PushConstants { 87// 88// vec2 offset; 89// vec2 stretch; 90// vec2 invSrcExtent; 91// int srcLayer; 92// int samples; 93// float invSamples; 94// 95// int outputMask; 96// 97// bool flipX; 98// bool flipY; 99// bool rotateXY; 100// } params; 101// 102// layout(set = 0, binding = 0)uniform texture2DArray color; 103// 104// layout(location = 0)out vec4 colorOut0; 105// layout(location = 1)out vec4 colorOut1; 106// layout(location = 2)out vec4 colorOut2; 107// layout(location = 3)out vec4 colorOut3; 108// layout(location = 4)out vec4 colorOut4; 109// layout(location = 5)out vec4 colorOut5; 110// layout(location = 6)out vec4 colorOut6; 111// layout(location = 7)out vec4 colorOut7; 112// 113// layout(set = 0, binding = 2)uniform sampler blitSampler; 114// 115// void main() 116// { 117// 118// vec2 srcImageCoords = vec2(gl_FragCoord . xy); 119// 120// srcImageCoords *= params . stretch; 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 = texture(sampler2DArray(color, blitSampler), vec3(srcImageCoords * params . invSrcExtent, params . srcLayer)); 132// 133// if((params . outputMask &(1 << 0))!= 0) 134// { 135// colorOut0 = colorValue; 136// } 137// if((params . outputMask &(1 << 1))!= 0) 138// { 139// colorOut1 = colorValue; 140// } 141// if((params . outputMask &(1 << 2))!= 0) 142// { 143// colorOut2 = colorValue; 144// } 145// if((params . outputMask &(1 << 3))!= 0) 146// { 147// colorOut3 = colorValue; 148// } 149// if((params . outputMask &(1 << 4))!= 0) 150// { 151// colorOut4 = colorValue; 152// } 153// if((params . outputMask &(1 << 5))!= 0) 154// { 155// colorOut5 = colorValue; 156// } 157// if((params . outputMask &(1 << 6))!= 0) 158// { 159// colorOut6 = colorValue; 160// } 161// if((params . outputMask &(1 << 7))!= 0) 162// { 163// colorOut7 = colorValue; 164// } 165// 166// } 167