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.0000000C.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_0000000C[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x6f,0x52,0x41, 14 0x10,0xc6,0x97,0x73,0x80,0x83,0x95,0x2a,0x2d,0xa5,0x60,0xed,0xc5,0x16,0x5b,0x05, 15 0x95,0xa0,0x82,0xa9,0x41,0x2c,0xda,0x52,0xac,0xa0,0xb6,0xc5,0x5b,0xa2,0xd5,0x98, 16 0xf8,0xe2,0x83,0xbe,0xe8,0xbb,0x0f,0xc6,0xbf,0xc6,0xbf,0xcf,0x78,0x49,0x4c,0x9c, 17 0x59,0x7e,0x6b,0xc6,0x9e,0x64,0x39,0x67,0xbe,0xf9,0xe6,0xf2,0xed,0xec,0x12,0x47, 18 0xd5,0xc4,0xb9,0x94,0x9b,0x72,0x39,0xf7,0xda,0x4d,0x9e,0x19,0x17,0x09,0xe2,0xdc, 19 0x49,0x97,0xf5,0xef,0xc1,0x68,0x3c,0x6a,0x7c,0xfc,0xf4,0xb6,0xd1,0x6a,0x37,0xd5, 20 0x7f,0xca,0xc5,0x9e,0xa7,0xbe,0xd3,0x2e,0x71,0x69,0x79,0xeb,0x7a,0xff,0xe6,0xdd, 21 0x07,0xc5,0xf3,0xb2,0x76,0x64,0x15,0x84,0xa7,0x78,0x62,0xbe,0xd5,0x37,0x90,0xaf, 22 0xbc,0xcf,0xaf,0xf1,0xce,0xdd,0x73,0x19,0x37,0x47,0xed,0x2a,0xef,0x80,0xa5,0xc0, 23 0x72,0x06,0x8b,0xc0,0x0a,0x06,0x8b,0xc1,0x2a,0x06,0x4b,0x83,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a2,0xe7,0xb9,0xcb,0xac,0xa7,0x99,0xe7,0x81,0xa0,0x59,0xee,0xd6,0x34,0xfc, 38 0x80,0x15,0xc0,0x52,0x3e,0x77,0xc6,0xef,0xe5,0x0c,0x5c,0xf5,0xdd,0x11,0xac,0xe2, 39 0x75,0x4f,0x66,0x55,0x26,0x7f,0xe2,0x75,0x4c,0xf0,0xaf,0xc4,0x2d,0x12,0xbb,0x60, 40 0xe2,0x96,0x89,0x5b,0x32,0x71,0x2b,0xe0,0x5f,0x88,0x5b,0x25,0x76,0x85,0xb8,0x70, 41 0xf7,0xe6,0x99,0x6f,0x97,0x19,0xae,0x83,0x7f,0x13,0xce,0x06,0x77,0x71,0x9d,0xd9, 42 0xfe,0x90,0x1d,0xa8,0xa3,0xed,0xb7,0xf0,0xd5,0x57,0x93,0x55,0x67,0x5f,0x6a,0x46, 43 0xf3,0x15,0x73,0xcf,0x3e,0x0b,0x57,0xb1,0x06,0xf8,0xa1,0x58,0xda,0xd3,0x73,0xb0, 44 0xc0,0xfb,0x25,0x39,0x42,0x2e,0x7d,0x7f,0x17,0x96,0xf2,0x5e,0xc2,0xc9,0x10,0x53, 45 0x33,0x1a,0xae,0xa2,0xa1,0x69,0x34,0x5c,0x03,0x0f,0x1a,0xae,0x83,0x05,0x0d,0x6d, 46 0xa3,0x41,0x7d,0x2d,0x59,0x6d,0xea,0xb6,0x8c,0x86,0x4d,0x6a,0xa7,0x8c,0x86,0x9b, 47 0xe0,0x41,0xc3,0x0b,0xb0,0xc0,0x53,0x0d,0x21,0x57,0xdb,0x68,0x38,0x82,0x53,0x27, 48 0xa6,0x65,0x34,0xdc,0x42,0x43,0xc7,0x68,0xe8,0x82,0x07,0x0d,0xb7,0xc1,0x82,0x86, 49 0x9e,0xd1,0xa0,0xbe,0x2d,0x59,0x3d,0xea,0xea,0xf7,0x23,0xea,0xde,0xa5,0xf6,0x91, 50 0xb9,0x3b,0xda,0x63,0xe0,0xf6,0x4c,0x8f,0xaf,0xe0,0xb5,0x89,0xdb,0xa2,0x9f,0xbe, 51 0xff,0xef,0x9d,0xdc,0x2d,0xb5,0xf5,0x1e,0x8d,0xb8,0x43,0x4f,0xa5,0x3f,0xbd,0x3f, 52 0x0f,0xe1,0x8c,0xcc,0xb9,0x3c,0x40,0xd7,0xbe,0x39,0x97,0x87,0xe0,0xe1,0x3c,0x8f, 53 0xa9,0xab,0xf8,0x33,0xc1,0xf4,0x4e,0x3d,0x26,0xdf,0xd8,0xcc,0xe2,0x09,0xb8,0xf3, 54 0x7b,0x11,0xfb,0xff,0x0a,0xc5,0xfe,0x88,0xaa,0x4d,0x59,0x7f,0x01,0x7c,0x68,0x82, 55 0xee,0x54,0x07,0x00,0x00 56}; 57 58// Generated from: 59// 60// #version 450 core 61// 62// layout(push_constant)uniform PushConstants { 63// 64// vec2 offset; 65// vec2 stretch; 66// vec2 invSrcExtent; 67// int srcLayer; 68// int samples; 69// float invSamples; 70// 71// int outputMask; 72// 73// bool flipX; 74// bool flipY; 75// bool rotateXY; 76// } params; 77// 78// layout(set = 0, binding = 0)uniform texture2D depth; 79// 80// layout(set = 0, binding = 2)uniform sampler blitSampler; 81// 82// void main() 83// { 84// 85// vec2 srcImageCoords = vec2(gl_FragCoord . xy); 86// 87// srcImageCoords *= params . stretch; 88// 89// srcImageCoords -= params . offset; 90// 91// if(params . flipX) 92// srcImageCoords . x = - srcImageCoords . x; 93// if(params . flipY) 94// srcImageCoords . y = - srcImageCoords . y; 95// if(params . rotateXY) 96// srcImageCoords . xy = srcImageCoords . yx; 97// 98// gl_FragDepth = texture(sampler2D(depth, blitSampler), srcImageCoords * params . invSrcExtent). x; 99// 100// } 101