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.00000017.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000017[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x94,0x5b,0x4f,0x93,0x41, 14 0x10,0x86,0xb7,0xfd,0xe0,0x2b,0x54,0x68,0x81,0x72,0x90,0x08,0x52,0x81,0x44,0x02, 15 0xd8,0x12,0x15,0x04,0xb4,0x1c,0x0c,0x20,0x22,0x50,0x28,0xc6,0x18,0x0f,0xa9,0x04, 16 0xaa,0x92,0x28,0x1a,0xe0,0xc2,0x0b,0xe3,0x85,0xff,0x41,0xff,0x84,0xbf,0xcf,0x78, 17 0x48,0x4c,0x9c,0xd9,0xef,0x59,0x33,0xe1,0xc2,0x26,0xdb,0xdd,0x79,0xe7,0xdd,0x99, 18 0x79,0x77,0x77,0xbe,0x28,0x3d,0x92,0x71,0x2e,0xe5,0xb2,0xae,0xc5,0xbd,0x72,0xc9, 19 0xaf,0xd3,0xa5,0x05,0x49,0xe6,0x2f,0x05,0x27,0xbe,0x56,0xb7,0xb7,0xf3,0xa8,0xbe, 20 0xfa,0xf8,0x61,0xfd,0xf4,0xf5,0xfe,0x61,0xe3,0xa4,0x7e,0x7a,0xd6,0x38,0x3e,0x38, 21 0x7a,0x53,0x6f,0x7c,0x78,0xff,0xee,0xe4,0x4c,0xb8,0x17,0x5c,0xec,0xf7,0xdc,0xdb, 22 0xdc,0xdb,0x2c,0x9d,0x9e,0x1d,0x96,0x6e,0x4e,0x4f,0x69,0xac,0x9c,0x8b,0x7c,0x4c, 23 0xf5,0xe5,0x25,0x47,0x93,0xcc,0x3a,0xde,0xee,0x1f,0x1d,0x2b,0xde,0x2e,0x63,0x41, 24 0x46,0x55,0x46,0x87,0x70,0xd5,0x97,0x31,0xeb,0x36,0x8d,0x29,0xab,0x76,0x9f,0x43, 25 0x63,0x38,0xb7,0xee,0x9a,0x5d,0x81,0x5a,0x47,0x98,0x03,0x96,0x02,0x6b,0x31,0x58, 26 0x1a,0xac,0xc3,0x60,0x11,0xd8,0x45,0x83,0x35,0x81,0x0d,0x18,0xac,0x19,0xac,0x68, 27 0xb0,0x18,0x6c,0xd4,0x60,0x19,0xb0,0x31,0x83,0xb5,0x80,0x4d,0x1a,0xac,0x15,0x6c, 28 0xca,0xeb,0x8a,0xfe,0xd5,0xa7,0x1a,0x17,0xd0,0xd8,0x8b,0xbd,0x2c,0xf3,0x30,0xfa, 29 0x82,0x7d,0xc5,0xd8,0x55,0xf8,0x5f,0x0b,0x89,0x5d,0x3b,0xc7,0xaf,0xc1,0xd7,0x33, 30 0x29,0x48,0x96,0xb4,0xb7,0x23,0xaf,0x5d,0xd7,0x3d,0xc2,0x89,0xd1,0xa6,0x9c,0x3e, 31 0xb1,0x33,0xe8,0x4b,0xfb,0x3a,0x22,0xb9,0xfb,0xc4,0xaf,0x3e,0xcd,0x95,0xe5,0x9c, 32 0x8a,0xf2,0xdf,0xc6,0x3e,0xc5,0x6f,0x63,0xb7,0x9b,0x58,0x39,0xf8,0x21,0x57,0x17, 33 0xb1,0xf4,0x77,0x59,0xd8,0xe1,0xdc,0x72,0x8c,0x98,0x91,0x65,0xee,0x32,0x43,0xf3, 34 0x75,0x73,0x7e,0x05,0xf2,0x75,0xfb,0xb8,0x09,0x36,0x81,0x96,0x5e,0xe2,0x2b,0xbf, 35 0x0f,0x5f,0xc6,0xf8,0x07,0xb0,0xd5,0x3f,0x88,0x5f,0xe3,0x77,0x4b,0x95,0x45,0x78, 36 0x5d,0xe6,0x9c,0xc3,0xbe,0x71,0xee,0x33,0xd8,0xd3,0xec,0xd5,0x38,0x15,0xde,0x53, 37 0x96,0xba,0x2a,0xbc,0x69,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3c,0x68,0x38,0x00,0x0b, 51 0x3c,0xd5,0x10,0x62,0x95,0x8d,0x86,0x06,0x9c,0x51,0xf6,0x94,0x8c,0x86,0x19,0x34, 52 0x4c,0x1b,0x0d,0xb7,0xc0,0x83,0x86,0x59,0xb0,0xa0,0x61,0xde,0x68,0x50,0xdf,0x9c, 53 0x8c,0x79,0xf2,0xce,0xf1,0x8e,0x34,0xef,0x1d,0x72,0x37,0xcc,0xfb,0xd5,0x1a,0x03, 54 0x77,0xde,0xd4,0xf8,0x12,0x5e,0x99,0x7d,0x73,0xd4,0xa3,0x7d,0x77,0x97,0x9e,0xd3, 55 0x9a,0xb5,0xbf,0xd6,0xa8,0x79,0x05,0x4e,0xec,0xbf,0xab,0x09,0x1e,0xce,0xef,0x3e, 56 0x31,0x9d,0xc1,0x36,0xc0,0x52,0xbe,0x77,0x62,0xdf,0x9b,0x0f,0xe0,0x6e,0x10,0xa3, 57 0x2e,0xd5,0x68,0x4f,0x6c,0x92,0x57,0xfd,0x4b,0xbc,0x6f,0x8d,0xa3,0xdf,0x8b,0x2d, 58 0xfc,0xce,0x7f,0x4f,0x22,0xff,0x4d,0xd9,0xa2,0x16,0xed,0xc9,0x3d,0xfa,0x51,0x63, 59 0x69,0x2f,0x3e,0x05,0x3b,0x1f,0x4b,0xcf,0xfa,0x19,0x7e,0xfd,0x7d,0x44,0xcb,0x73, 60 0x70,0x8d,0x5d,0xc5,0xfe,0x23,0x55,0xcf,0xca,0xf8,0x0b,0x48,0x5d,0x4b,0xcf,0x18, 61 0x08,0x00,0x00 62}; 63 64// Generated from: 65// 66// #version 450 core 67// 68// #extension GL_EXT_samplerless_texture_functions : require 69// 70// #extension GL_ARB_shader_stencil_export : require 71// 72// layout(push_constant)uniform PushConstants { 73// 74// ivec2 offset; 75// vec2 stretch; 76// vec2 invSrcExtent; 77// int srcLayer; 78// int samples; 79// float invSamples; 80// 81// int outputMask; 82// 83// bool flipX; 84// bool flipY; 85// bool rotateXY; 86// } params; 87// 88// layout(set = 0, binding = 0)uniform texture2DMSArray depth; 89// 90// layout(set = 0, binding = 1)uniform utexture2DMSArray stencil; 91// 92// void main() 93// { 94// 95// ivec2 srcImageCoords = ivec2(gl_FragCoord . xy); 96// 97// srcImageCoords -= params . offset; 98// 99// if(params . flipX) 100// srcImageCoords . x = - srcImageCoords . x; 101// if(params . flipY) 102// srcImageCoords . y = - srcImageCoords . y; 103// if(params . rotateXY) 104// srcImageCoords . xy = srcImageCoords . yx; 105// 106// gl_FragDepth = texelFetch(depth, ivec3(srcImageCoords, params . srcLayer), 0). x; 107// 108// gl_FragStencilRefARB = int(texelFetch(stencil, ivec3(srcImageCoords, params . srcLayer), 0). x); 109// 110// } 111