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.00000009.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000009[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x4f,0x94,0x67, 14 0x10,0xc6,0xdf,0xdd,0x6f,0xd9,0x45,0x8b,0x96,0x82,0x08,0xb5,0xe2,0x89,0xaa,0x05, 15 0x5b,0xb2,0x6d,0xd9,0xc6,0x86,0xa2,0xa8,0x89,0x78,0x58,0x6d,0x11,0x0f,0xf5,0x5c, 16 0x2b,0x68,0x9a,0x16,0xf6,0x02,0x2b,0x5c,0xa8,0x90,0xd4,0x03,0x5c,0x78,0x80,0x0b, 17 0x0f,0x70,0x61,0x55,0x2e,0x4c,0xac,0xed,0x9f,0xe1,0x5f,0xd4,0xf4,0x90,0x34,0xe9, 18 0xcc,0xfb,0xfd,0xc6,0x4c,0xbe,0x4d,0x26,0xdf,0xce,0xf3,0xcc,0xcc,0x33,0xf3,0x9e, 19 0x92,0x7c,0x47,0x29,0x84,0x5c,0x58,0x1e,0xea,0xc3,0x1f,0x21,0xfd,0xbd,0x17,0xf2, 20 0x82,0x84,0xf0,0x4e,0x28,0xc6,0xef,0x40,0x75,0xa8,0xda,0x3d,0x7e,0x65,0xb8,0xbb, 21 0xa7,0x52,0x56,0x7e,0x65,0x48,0x62,0x9c,0x72,0xef,0x8a,0x57,0x90,0xaf,0xda,0xe8, 22 0x85,0x1f,0xc6,0x14,0x6f,0x10,0xbb,0x2c,0x56,0x13,0x9b,0x14,0x9b,0x16,0x9b,0x15, 23 0x9b,0x17,0x5b,0x14,0x5b,0x12,0x6b,0x94,0x1a,0x9a,0x53,0xd2,0xf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77 0xa2,0xd3,0x31,0x6e,0xc1,0xe9,0xfc,0x8a,0xce,0x53,0xa7,0xf3,0x0c,0xdc,0x74,0x5e, 78 0x38,0x1d,0xe5,0x9e,0x8b,0xbd,0xa0,0xd6,0x73,0x74,0x96,0x9c,0x8e,0x71,0xfa,0xfd, 79 0x4f,0x6e,0xe5,0x76,0xb1,0xff,0x01,0xab,0x46,0xd1,0xdd,0x9c,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 utexture2DArray color; 103// 104// layout(location = 0)out uvec4 colorOut0; 105// layout(location = 1)out uvec4 colorOut1; 106// layout(location = 2)out uvec4 colorOut2; 107// layout(location = 3)out uvec4 colorOut3; 108// layout(location = 4)out uvec4 colorOut4; 109// layout(location = 5)out uvec4 colorOut5; 110// layout(location = 6)out uvec4 colorOut6; 111// layout(location = 7)out uvec4 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// uvec4 colorValue = texture(usampler2DArray(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