// 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/BlitResolveStencilNoExport.comp.00000000.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kBlitResolveStencilNoExport_comp_00000000[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x96,0x5b,0x6c,0x55,0x55, 0x10,0x86,0xf7,0x3e,0xa7,0x9c,0x53,0x0e,0xb6,0xa5,0xf6,0xde,0xd3,0x42,0x6b,0x09, 0xa8,0xa7,0x41,0x4c,0xa4,0x62,0xa0,0x52,0x88,0x41,0xa4,0x44,0x14,0xec,0x89,0xc6, 0x4b,0xab,0xf1,0xa5,0x4d,0x84,0x26,0xf2,0x40,0x5b,0x22,0xf6,0x96,0xa8,0x68,0x1b, 0x6d,0x1f,0xb4,0x6a,0x1b,0x44,0x04,0x14,0x41,0x14,0x63,0xe3,0x43,0x1b,0x22,0x56, 0x12,0x13,0xa9,0x3c,0x28,0x26,0x46,0x2e,0xbe,0xe0,0xbb,0x77,0x63,0x70,0x66,0xed, 0x6f,0x95,0x49,0xe3,0x4e,0x56,0xf6,0x5e,0xff,0xcc,0xfc,0x73,0x59,0x6b,0xcd,0x5e, 0xf1,0x58,0x5d,0x32,0x08,0xc2,0x60,0x51,0x90,0x1b,0xd4,0x86,0x81,0x7b,0x0a,0x83, 0x58,0xa0,0x9f,0x8b,0x82,0x84,0x7b,0xdf,0xbb,0x75,0xc7,0xd6,0x95,0xcf,0xee,0x7e, 0x7a,0xe5,0x1d,0xab,0x57,0xa9,0x3c,0x3f,0x88,0x3b,0x3d,0x95,0x15,0x88,0xce,0x02, 0x79,0xe7,0xc8,0x78,0xe6,0xc9,0xf6,0x9d,0x8a,0xe7,0xc9,0x58,0x2c,0x78,0x8e,0xe3, 0x0a,0x84,0x39,0x1a,0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0xa4,0x76,0x3e,0xf7, 0x09,0x73,0xc6,0xae,0xa1,0x33,0x8c,0xfe,0x38,0xb5,0x9b,0x9e,0xd7,0x57,0xa6,0x64, 0xcc,0x60,0x3f,0x65,0xd6,0xf6,0x34,0xbd,0xc0,0xef,0xad,0x2f,0xcc,0xde,0xea,0x05, 0x3b,0x03,0x7e,0xda,0xf4,0xe6,0xfc,0x30,0xc2,0x2b,0x4c,0x6f,0x9e,0x86,0x7f,0xc6, 0xf0,0x9f,0xa5,0x9f,0x78,0xae,0xaf,0x39,0x1f,0x67,0x0d,0x57,0x61,0x18,0xe1,0xfe, 0xdc,0x5a,0xae,0x69,0xd3,0x6b,0xb4,0xbf,0xa8,0xdf,0x29,0x6c,0x66,0xd0,0xed,0x41, 0xb7,0x87,0x7b,0x42,0x82,0x9e,0x72,0xd5,0xf4,0x40,0xdf,0xbb,0xba,0xcd,0xde,0xff, 0x8e,0x3d,0x50,0x6a,0xce,0xf7,0xf7,0xe0,0x7b,0xf9,0x57,0x5c,0x00,0xf3,0xf7,0xb3, 0x1f,0xb8,0x57,0x5d,0xc0,0x97,0x62,0x3f,0x82,0x17,0x3a,0xee,0x84,0xbb,0xaf,0x5e, 0xe4,0x0e,0xdb,0x84,0xfc,0x6e,0x59,0x93,0x8b,0xac,0x95,0xbd,0xf7,0xe8,0xfb,0x5f, 0xa9,0xe0,0x1a,0x19,0xff,0x01,0xf6,0x91,0x37,0x8f,0xcc,0x0f,0x00,0x00 }; // Generated from: // // #version 450 core // // layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; // // layout(push_constant) uniform PushConstants { // // vec2 offset; // vec2 stretch; // vec2 invSrcExtent; // int srcLayer; // int srcWidth; // int srcHeight; // // bool flipX; // bool flipY; // bool rotateXY; // // ivec4 blitArea; // int destPitch; // } params; // // layout(set = 0, binding = 0) buffer dst // { // // uint destData[]; // }; // // layout(set = 0, binding = 1) uniform utexture2D stencil; // // layout(set = 0, binding = 2) uniform sampler blitSampler; // // void main() // { // ivec2 destSubImageCoords = ivec2(gl_GlobalInvocationID.x * 4, gl_GlobalInvocationID.y); // if (any(lessThanEqual(params.blitArea.zw, destSubImageCoords))) // { // return; // } // // destSubImageCoords += params.blitArea.xy; // vec2 srcImageCoords = vec2(destSubImageCoords); // // srcImageCoords *= params.stretch; // srcImageCoords += vec2(0.5); // // srcImageCoords -= params.offset; // // if (params.flipX) // srcImageCoords.x = - srcImageCoords.x; // if (params.flipY) // srcImageCoords.y = - srcImageCoords.y; // if (params.rotateXY) // srcImageCoords.xy = srcImageCoords.yx; // // int xDir = 0, yDir = 0; // if (params.rotateXY) // { // yDir = params.flipY ? - 1 : 1; // } // else // { // xDir = params.flipX ? - 1 : 1; // } // // uint outStencils = 0; // // for (int i = 0; i < 4; ++ i) // { // // if ( (srcImageCoords.x >= 0 && srcImageCoords.x < params.srcWidth) && // (srcImageCoords.y >= 0 && srcImageCoords.y < params.srcHeight)) // { // // uint stencilValue = texture(usampler2D(stencil, blitSampler), srcImageCoords * params.invSrcExtent).x; // // outStencils |= (stencilValue & 0xFF) << (i * 8); // // } // // if (params.rotateXY) // { // srcImageCoords.y += yDir; // } // else // { // srcImageCoords.x += xDir; // } // } // // destData[gl_GlobalInvocationID.y * params.destPitch + gl_GlobalInvocationID.x] = outStencils; // }