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.00000000.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000000[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x49,0x4f,0x55,0x41, 14 0x10,0x85,0xfb,0xcd,0xa8,0xa8,0x08,0x22,0x38,0xe0,0x84,0x13,0xa8,0xe4,0xa9,0x3c, 15 0xa3,0x41,0x14,0x4d,0x70,0x02,0x15,0x45,0x71,0x42,0x13,0x15,0x48,0x1c,0x80,0x85, 16 0x0a,0x0b,0x07,0x48,0x9c,0x60,0xe1,0x00,0x0b,0x15,0x59,0x98,0x38,0x6d,0xfc,0x21, 17 0xfe,0x22,0xe3,0x90,0x98,0x58,0xd5,0xef,0x2b,0x53,0xbe,0x97,0x14,0xf7,0x9e,0x73, 18 0xaa,0xeb,0x74,0x75,0xf7,0x6d,0x52,0xc9,0xfa,0x5c,0x08,0x89,0x30,0x37,0x94,0x85, 19 0x2f,0xa1,0xf8,0x5b,0x14,0x92,0xc2,0x84,0x30,0x2f,0x64,0xe3,0xf3,0x50,0x67,0x77, 20 0x67,0xd3,0xed,0x3b,0x7d,0x4d,0xcd,0x85,0xbc,0xea,0x0b,0x42,0x2a,0xe6,0xa9,0xb6, 21 0x50,0x50,0x5a,0x9e,0x1a,0x83,0x57,0xae,0x0f,0x29,0x5f,0x2e,0x71,0x59,0x62,0x40, 22 0x62,0x58,0x62,0x54,0x62,0x5c,0x62,0x52,0x62,0x5a,0x62,0x56,0xa2,0x42,0x6a,0xe8, 23 0x98,0x9c,0xd6,0x97,0xb7,0xf2,0xe8,0xa7,0xf5,0x42,0x38,0x1c,0x32,0x61,0x31,0x73, 24 0x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0x7b,0x38,0xcb, 51 0xfb,0x25,0x35,0xac,0x96,0x3e,0xbf,0x4b,0x96,0xe6,0x7d,0x24,0x27,0xc3,0x98,0x06, 52 0xd7,0xc3,0x36,0x7a,0xc8,0xbb,0x1e,0xb6,0xc3,0x5b,0x0f,0x3b,0xe0,0xac,0x87,0x82, 53 0xeb,0x41,0xb5,0x66,0x89,0x02,0xbe,0xcd,0xae,0x87,0x5d,0x78,0x27,0x5c,0x0f,0xbb, 54 0xe1,0xad,0x87,0x0f,0x70,0x96,0xa7,0x3d,0x58,0xad,0x82,0xeb,0xe1,0x13,0x39,0x8d, 55 0x8c,0x69,0x76,0x3d,0xec,0xa1,0x87,0x16,0xd7,0x43,0x2b,0xbc,0xf5,0xb0,0x17,0xce, 56 0x7a,0x68,0x73,0x3d,0xa8,0xb6,0x8f,0x33,0xae,0xbe,0xfa,0x7e,0x02,0xdf,0x03,0x78, 57 0x7f,0x72,0x77,0x87,0xce,0xd1,0x72,0xdb,0xdc,0x1c,0x3f,0x93,0x57,0x60,0xdc,0x3e, 58 0xe6,0xd3,0x1e,0xff,0x97,0x15,0xef,0x16,0xc5,0x7a,0x8f,0x74,0x72,0x87,0xf4,0xc8, 59 0xfc,0xf4,0xfe,0x38,0x4e,0x4e,0xa7,0x3b,0x97,0x27,0xe9,0xab,0xcb,0x9d,0xcb,0x53, 60 0xf0,0x76,0x9e,0xbb,0xf1,0x55,0xfe,0xac,0x70,0xfa,0x4d,0x9d,0xa6,0x5e,0x37,0xb5, 61 0x7a,0xa2,0x56,0xac,0x75,0x86,0x5a,0xfa,0xdd,0x9e,0x83,0xff,0x26,0x39,0x8a,0xcf, 62 0xc3,0xd5,0xb8,0x75,0xbb,0x00,0x5f,0xc7,0xba,0xf5,0xba,0x75,0x53,0xed,0xa2,0x44, 63 0x2f,0x6b,0x71,0x31,0xae,0x73,0x2a,0xde,0x5f,0xa7,0x59,0x27,0xd3,0x7a,0x9d,0xcf, 64 0x55,0x7c,0xba,0x9c,0xcf,0x35,0x78,0xf3,0xe9,0x77,0x3e,0xaa,0xf5,0x49,0xf4,0x53, 65 0xab,0x0f,0x9f,0x01,0xe7,0x63,0x5a,0xbf,0xf3,0xb9,0x89,0xcf,0x0d,0xe7,0x73,0x0b, 66 0xde,0x7c,0x86,0x9c,0x8f,0x6a,0x83,0x12,0x43,0xd4,0x1a,0xc4,0x67,0xd8,0xf9,0x98, 67 0x36,0xe4,0x7c,0x6e,0xe3,0x93,0x77,0x3e,0x77,0xe0,0xcd,0x67,0xc4,0xf9,0xa8,0x76, 68 0x57,0x62,0x84,0x5a,0x77,0xf1,0x19,0x75,0x3e,0xa6,0x8d,0x38,0x9f,0xfb,0xf8,0xdc, 69 0x73,0x3e,0x0f,0xe0,0xcd,0x67,0xcc,0xf9,0xa8,0xf6,0x30,0x7e,0x7b,0xc5,0x5a,0x0f, 70 0xf1,0x19,0x77,0x3e,0xa6,0x8d,0x39,0x9f,0x27,0xf8,0x3c,0x76,0x3e,0x4f,0xe1,0xcd, 71 0x67,0xc2,0xf9,0xa8,0xf6,0x4c,0x62,0x82,0x5a,0xcf,0xf0,0x99,0x74,0x3e,0xa6,0x4d, 72 0x38,0x9f,0x17,0xf8,0x3c,0x77,0x3e,0x2f,0xe1,0xcd,0x67,0xca,0xf9,0xa8,0xf6,0x4a, 73 0x62,0x8a,0x5a,0xaf,0xf0,0x99,0x76,0x3e,0xa6,0x4d,0x39,0x9f,0x37,0xf8,0xbc,0x76, 74 0x3e,0x6f,0xe1,0xcd,0xe7,0x9d,0xf3,0x51,0x6d,0x46,0xe2,0x1d,0xb5,0x66,0xf0,0x99, 75 0x75,0x3e,0xa6,0xe9,0xf3,0x8f,0xdc,0x0c,0xbb,0x24,0xfe,0x02,0xe7,0x75,0xf3,0x46, 76 0xf8,0x0b,0x00,0x00 77}; 78 79// Generated from: 80// 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 texture2D color; 100// 101// layout(location = 0)out vec4 colorOut0; 102// layout(location = 1)out vec4 colorOut1; 103// layout(location = 2)out vec4 colorOut2; 104// layout(location = 3)out vec4 colorOut3; 105// layout(location = 4)out vec4 colorOut4; 106// layout(location = 5)out vec4 colorOut5; 107// layout(location = 6)out vec4 colorOut6; 108// layout(location = 7)out vec4 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// vec4 colorValue = texture(sampler2D(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