// 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.00000011.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolve_frag_00000011[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x4b,0x54,0x51, 0x14,0xc6,0xf7,0x9c,0x19,0x1d,0x4d,0x4a,0x9b,0xd1,0xb4,0x8b,0x51,0x09,0xf5,0x50, 0x88,0x0f,0x16,0x41,0x14,0xf4,0x10,0x5e,0x9a,0xbc,0xe6,0xad,0xdb,0x38,0xea,0x94, 0x42,0x5e,0x70,0x86,0x32,0x29,0x2c,0xc5,0xb0,0x92,0x7c,0x88,0xbc,0x64,0x3d,0xf5, 0xd8,0xdf,0x17,0x65,0x10,0xb4,0xd6,0x3e,0xbf,0x0d,0x8b,0x0e,0x6c,0xf6,0x5e,0xdf, 0xba,0x7e,0x7b,0xad,0x7d,0x92,0x51,0x4b,0xda,0xb9,0x84,0xab,0x71,0x55,0xee,0x9b, 0x8b,0xbf,0xa3,0x2e,0x12,0x24,0xde,0x3f,0x67,0x9d,0x3b,0xe4,0xaa,0xdd,0x60,0xdf, 0x70,0xfe,0xd6,0xe8,0xdd,0x7c,0x69,0xba,0x30,0x55,0x5c,0xcc,0x97,0xca,0xc5,0xb9, 0xc9,0x99,0xa7,0xf9,0xe2,0xd2,0xc2,0xfc,0x62,0x59,0x6c,0x6b,0x5c,0xa5,0xf7,0xe9, 0xc8,0x0d,0xe6,0x5a,0x4b,0xe5,0xa9,0xd6,0xf6,0xcb,0x6d,0x1a,0xeb,0x88,0x4b,0xfa, 0x98,0xaa,0xab,0x75,0x69,0x97,0x92,0x5d,0xd7,0x6c,0x61,0x66,0xce,0x79,0xcc,0xb9, 0x2e,0x59,0x75,0x62,0xa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0x07, 0x87,0x3d,0xc3,0xe1,0x3d,0x78,0xe0,0xf0,0x01,0x2c,0x70,0xd8,0x32,0x1c,0x54,0xb7, 0x29,0x6b,0x8b,0xbc,0x9b,0x66,0xde,0x3e,0x92,0x7b,0xdf,0xbc,0x4d,0xad,0x31,0xd8, 0x6e,0x99,0x1a,0xbf,0x62,0xb7,0x81,0xdf,0x26,0xf5,0xe8,0xdb,0xbb,0xc3,0xdb,0x55, 0xb9,0xc7,0xdf,0x51,0xfc,0x46,0x87,0xa5,0x3e,0x7d,0x9f,0x83,0xd8,0xf4,0x9b,0xb9, 0x1c,0x86,0xd7,0x90,0x99,0xcb,0x11,0xf0,0x30,0xcf,0xa3,0xe4,0x1d,0xc1,0x4f,0xdf, 0xef,0x7d,0xfc,0xc6,0xf0,0xd3,0x37,0xfb,0x00,0x7c,0x9e,0x3e,0x3c,0x04,0x0b,0xbd, 0xca,0x13,0xcb,0x19,0x6c,0x1c,0x2c,0xe1,0x6b,0xad,0xf4,0xff,0x82,0x02,0xb6,0xe3, 0xc4,0x08,0x39,0x27,0xc9,0x39,0x61,0x72,0x4e,0x81,0x87,0x9c,0x45,0xb0,0x51,0xa9, 0x5c,0xff,0x1b,0x4f,0xe0,0x5d,0xe0,0x7f,0x54,0x24,0xb7,0xf6,0x6f,0x1a,0xbd,0xf3, 0x33,0x1f,0xc7,0x9b,0x01,0xbf,0x21,0xfd,0xeb,0x42,0xfe,0x2b,0xd5,0x5d,0x95,0xf5, 0x0f,0x1d,0x8b,0x8b,0xe5,0x40,0x08,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // // #extension GL_ARB_shader_stencil_export : require // // layout(set = 0, binding = 1) uniform utexture2DArray stencil; // // layout(set = 0, binding = 2) uniform sampler blitSampler; // // #line 1 "shaders/src/BlitResolve.inc" // // layout(push_constant) uniform PushConstants { // // vec2 offset; // vec2 stretch; // vec2 invSrcExtent; // int srcMip; // int srcLayer; // int samples; // float invSamples; // // int outputMask; // // bool flipX; // bool flipY; // bool rotateXY; // } params; // // vec2 getSrcImageCoords() // { // // vec2 srcImageCoords = vec2(gl_FragCoord.xy); // // srcImageCoords *= params.stretch; // // 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() // { // vec2 srcImageCoords = getSrcImageCoords(); // // gl_FragStencilRefARB = int(textureLod(usampler2DArray(stencil, blitSampler), vec3(srcImageCoords * params.invSrcExtent, params.srcLayer), params.srcMip).x); // // }