// GENERATED FILE - DO NOT EDIT. // Generated by gen_vk_internal_shaders.py. // // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // shaders/gen/BlitResolve.frag.00000016.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolve_frag_00000016[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x93,0x5d,0x4f,0x53,0x41, 0x10,0x86,0xb7,0x3d,0x50,0xac,0xc8,0x57,0x90,0x22,0x5e,0x18,0x14,0xee,0x34,0x84, 0x0b,0x34,0x26,0x44,0xa3,0x17,0x14,0x30,0x48,0x4b,0xab,0xc8,0x05,0x5a,0x10,0x4a, 0x20,0x40,0xab,0x70,0xd4,0xc6,0x1a,0x4d,0xf8,0x10,0xfd,0x01,0xfa,0x07,0xbc,0xf4, 0xf7,0x19,0x3f,0x12,0x13,0xe7,0x3d,0x7d,0x56,0x36,0x5e,0xb8,0xc9,0x9e,0xd9,0x79, 0x67,0xe6,0x9d,0x99,0x9d,0x3d,0x51,0x7a,0xa4,0xc3,0xb9,0x94,0xeb,0x74,0x67,0xdc, 0x47,0xd7,0x5a,0x7d,0x2e,0x6d,0x48,0x4b,0x7e,0xea,0x77,0xee,0xac,0xcb,0xba,0x72, 0x71,0xb1,0x32,0xb5,0xf4,0xa0,0xb2,0xbf,0xb9,0xba,0x5e,0xdd,0xab,0xec,0xc7,0xd5, 0xda,0xda,0xd6,0x4e,0xa5,0xda,0x78,0x56,0xdf,0x8b,0xcd,0xb7,0xd3,0x65,0x92,0x98, 0xe9,0xb9,0xf2,0xdc,0xd8,0x7e,0xbc,0x3e,0x36,0x71,0x7d,0x5c,0x5c,0xdd,0x2e,0x4a, 0x38,0x65,0xeb,0xb1,0x1c,0x6d,0x26,0xb5,0x77,0x57,0xb7,0x6a,0xc2,0x7b,0x6d,0xe7, 0x6d,0x17,0x92,0x73,0x94,0xd8,0x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 0x17,0x13,0xd7,0xa0,0x1e,0xfd,0x77,0xf7,0xf8,0xe7,0x2a,0xe6,0xa9,0xf7,0x3a,0x07, 0xa6,0x98,0x3b,0xbc,0x3d,0xdd,0x9b,0xfe,0xe5,0xfb,0xd8,0xb5,0x6e,0x5b,0xad,0x79, 0x30,0x71,0xe9,0xff,0x2a,0xf3,0x6f,0x89,0x4b,0xff,0xd5,0x22,0xd8,0xbf,0x5c,0xba, 0x87,0x47,0xd8,0xb5,0xde,0x30,0x83,0x25,0x70,0x71,0x17,0xd0,0x7f,0x5b,0x77,0x37, 0x6d,0xff,0x01,0xa1,0x6f,0x03,0x27,0x00,0x07,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // // #extension GL_EXT_samplerless_texture_functions : require // // #extension GL_ARB_shader_stencil_export : require // // layout(set = 0, binding = 0) uniform texture2DMS depth; // // layout(set = 0, binding = 1) uniform utexture2DMS stencil; // // #line 1 "shaders/src/BlitResolve.inc" // // layout(push_constant) uniform PushConstants { // // ivec2 offset; // vec2 stretch; // vec2 invSrcExtent; // int srcMip; // int srcLayer; // int samples; // float invSamples; // // int outputMask; // // bool flipX; // bool flipY; // bool rotateXY; // } params; // // ivec2 getSrcImageCoords() // { // // ivec2 srcImageCoords = ivec2(gl_FragCoord.xy); // // srcImageCoords -= params.offset; // // if (params.flipX) // srcImageCoords.x = - srcImageCoords.x; // if (params.flipY) // srcImageCoords.y = - srcImageCoords.y; // if (params.rotateXY) // srcImageCoords.xy = srcImageCoords.yx; // // return srcImageCoords; // } // // #line 123 "shaders/src/BlitResolve.frag" // // void main() // { // ivec2 srcImageCoords = getSrcImageCoords(); // // gl_FragDepth = texelFetch(depth, srcImageCoords, 0).x; // // gl_FragStencilRefARB = int(texelFetch(stencil, srcImageCoords, 0).x); // // }