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/BlitResolveStencilNoExport.comp.00000003.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolveStencilNoExport_comp_00000003[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0xeb,0x6f,0xd4,0x45, 14 0x14,0x86,0x67,0x2f,0xdd,0x2d,0xab,0x6d,0x29,0xb4,0xdc,0x6f,0xb5,0xa6,0x8a,0x4b, 15 0x00,0x13,0x74,0x2b,0x52,0x54,0x9a,0x88,0x68,0x5b,0xc1,0xaa,0x34,0x7c,0x29,0x4d, 16 0xa0,0x2d,0x41,0xb1,0x8d,0x88,0xb6,0xa9,0x28,0x48,0x40,0x0d,0x46,0xe2,0x07,0x12, 17 0xa8,0x4d,0x10,0x48,0x0c,0x14,0x34,0xc6,0x98,0xf8,0x05,0x51,0xd4,0x10,0xfc,0x7f, 18 0xb8,0x69,0x8c,0x9e,0x77,0xf6,0x19,0x72,0xb2,0x9b,0x9c,0xcc,0xce,0x7b,0xae,0xef, 19 0x99,0x33,0xbf,0xc9,0x65,0xdb,0x8b,0x21,0x64,0x42,0x29,0xd4,0x87,0xbf,0x42,0xf5, 20 0xd7,0x1c,0xb2,0x86,0x84,0xf0,0x50,0x28,0xc4,0x75,0x6b,0x4f,0x7f,0xcf,0xda,0x77, 21 0x0f,0xee,0x59,0xbb,0xe1,0xa9,0xf5,0xd2,0x37,0x86,0x5c,0xb4,0x93,0xae,0xc9,0x6c, 22 0xea,0x6c,0xcd,0x9b,0xbc,0x3d,0xb4,0xef,0x80,0xf0,0x06,0x93,0xb9,0x86,0xe7,0x63, 23 0xac,0x60,0x91,0xab,0x12,0x63,0x19,0xda,0x10,0x63,0x87,0xb0,0xcc,0xe4,0x25,0xf3, 24 0x5e,0x4e,0xde,0x76,0xd6,0x84,0x65,0xc0,0xea,0x1d,0x96,0x05,0x9b,0xeb,0xb0,0x1c, 25 0xd8,0x22,0x87,0xe5,0xc1,0x7c,0x8e,0x3a,0xb0,0x55,0x0e,0x2b,0x80,0xad,0x77,0x58, 26 0x11,0x6c,0x83,0xc3,0xea,0xc1,0x3a,0x1d,0x36,0x07,0x6c,0x53,0xe4,0x95,0x7b,0x50, 27 0x9f,0x38,0x1e,0xb6,0xf5,0x11,0xf8,0xa4,0x7d,0x9b,0xeb,0xc1,0x59,0x72,0xe7,0x89, 28 0x37,0x5d,0xd3,0x03,0xc5,0x9b,0x86,0x9b,0xec,0x67,0x6a,0xe2,0xcd,0x10,0x2f,0xed, 29 0xaf,0xd0,0xd3,0xc5,0x26,0xf3,0xad,0x8a,0x6c,0xd4,0xe7,0xa2,0xbf,0xfe,0xb7,0x9a, 30 0x4d,0x01,0xee,0xaa,0x61,0xa1,0xed,0x8b,0xd4,0x90,0xf4,0x25,0xf4,0x01,0xbd,0xe2, 31 0x95,0xa8,0x61,0x95,0xed,0x1f,0xc6,0x57,0xf8,0xb3,0xec,0x1b,0xc0,0xca,0xf8,0x37, 32 0xe2,0x2f,0xfb,0x26,0x74,0x25,0xa7,0x9f,0x07,0xe7,0xb4,0x6f,0xc5,0x66,0x81,0x65, 33 0x59,0x42,0x7e,0xe5,0x5e,0x6a,0xeb,0x12,0x6a,0xd3,0x7e,0x99,0xeb,0xd7,0x0a,0xcb, 34 0x9c,0xce,0x69,0x29,0x52,0x40,0x92,0x5d,0xc9,0x89,0x6a,0x59,0xc1,0x79,0x2d,0xa7, 35 0x76,0xed,0x57,0x82,0x95,0x5d,0x6f,0xea,0xb0,0x6f,0x43,0xa7,0x78,0x2d,0x56,0x45, 36 0x07,0x75,0x3c,0x66,0x6b,0x07,0x75,0x25,0xbf,0x8a,0xe3,0xdc,0x89,0x5f,0xd1,0xe9, 37 0xbb,0xd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xb0,0xaf,0x98,0x8b,0x53,0xf4,0x2b,0xf1,0x9d,0x74,0x73,0x73,0x0b,0x9b,0x71,0xec, 78 0x27,0xf8,0x1e,0x2a,0xcf,0x69,0x38,0x0c,0xb9,0x3b,0x79,0x0d,0xfc,0x86,0x9b,0xf7, 79 0x51,0xe2,0x8e,0x3a,0xdf,0x33,0xd4,0x58,0x3b,0xcf,0x23,0xae,0xb7,0xdf,0xd0,0xdb, 80 0x73,0xae,0xb7,0xe7,0xc1,0xa7,0xb8,0xab,0x17,0xc0,0xd2,0x1b,0x76,0x91,0xb7,0xe7, 81 0x02,0xb9,0x84,0x7d,0x0b,0xde,0x1c,0x63,0x17,0xe2,0x1b,0x7c,0x99,0x77,0xba,0x82, 82 0x7e,0xb3,0xcd,0xc0,0x65,0xb8,0xfa,0xb7,0x41,0xeb,0xbf,0x76,0x72,0x9d,0x26,0xff, 83 0x03,0xd9,0xf4,0x6d,0x73,0x68,0x0c,0x00,0x00 84}; 85 86// Generated from: 87// 88// #version 450 core 89// 90// #extension GL_EXT_samplerless_texture_functions : require 91// 92// layout(local_size_x = 8, local_size_y = 8, local_size_z = 1)in; 93// 94// layout(push_constant)uniform PushConstants { 95// 96// ivec2 offset; 97// vec2 stretch; 98// vec2 invSrcExtent; 99// int srcLayer; 100// int srcWidth; 101// 102// ivec4 blitArea; 103// int destPitch; 104// 105// bool flipX; 106// bool flipY; 107// bool rotateXY; 108// } params; 109// 110// layout(set = 0, binding = 0)buffer dest 111// { 112// 113// uint destData[]; 114// }; 115// 116// layout(set = 0, binding = 1)uniform utexture2DMSArray stencil; 117// 118// void main() 119// { 120// ivec2 destSubImageCoords = ivec2(gl_GlobalInvocationID . x * 4, gl_GlobalInvocationID . y); 121// if(any(lessThanEqual(params . blitArea . zw, destSubImageCoords))) 122// { 123// return; 124// } 125// 126// destSubImageCoords += params . blitArea . xy; 127// ivec2 srcImageCoords = ivec2(destSubImageCoords); 128// 129// srcImageCoords -= params . offset; 130// 131// if(params . flipX) 132// srcImageCoords . x = - srcImageCoords . x; 133// if(params . flipY) 134// srcImageCoords . y = - srcImageCoords . y; 135// if(params . rotateXY) 136// srcImageCoords . xy = srcImageCoords . yx; 137// 138// int xDir = params . flipX ? - 1 : 1; 139// 140// uint outStencils = 0; 141// 142// for(int i = 0;i < 4;++ i) 143// { 144// 145// if(srcImageCoords . x >= 0 && srcImageCoords . x < params . srcWidth) 146// { 147// 148// uint stencilValue = texelFetch(stencil, ivec3(srcImageCoords, params . srcLayer), 0). x; 149// 150// outStencils |=(stencilValue & 0xFF)<<(i * 8); 151// 152// } 153// 154// srcImageCoords . x += xDir; 155// } 156// 157// destData[gl_GlobalInvocationID . y * params . destPitch + gl_GlobalInvocationID . x]= outStencils; 158// } 159