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.00000002.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolveStencilNoExport_comp_00000002[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0xdb,0x6f,0x54,0x55, 14 0x14,0xc6,0xf7,0xcc,0xb4,0x33,0x65,0xa4,0x2d,0xc5,0x16,0x90,0x7b,0xad,0x29,0xe8, 15 0x18,0xc0,0x04,0x99,0x8a,0x14,0x95,0x26,0x22,0xd8,0x56,0xb0,0x28,0x8d,0x2f,0xb5, 16 0x09,0xb4,0x35,0x08,0xb6,0x11,0xd0,0x36,0xe5,0xa6,0x42,0x20,0x3e,0x98,0x40,0x6d, 17 0x02,0x42,0x42,0xe4,0x16,0x63,0xa2,0x21,0x26,0x88,0xd6,0x27,0xd4,0xf8,0x17,0x79, 18 0x41,0x62,0x74,0x7d,0xfb,0xfc,0xb6,0xac,0xcc,0x49,0x76,0xf6,0x59,0xdf,0xba,0x7e, 19 0x6b,0xaf,0x7d,0x4e,0x21,0xdf,0x51,0x0a,0x21,0x17,0xca,0xa1,0x21,0xfc,0x1c,0xb2, 20 0xa7,0x25,0xe4,0x0d,0x09,0xe1,0x91,0x50,0x8c,0xfb,0xf6,0xde,0x81,0xde,0x75,0xef, 21 0x1f,0xde,0xb7,0x6e,0xe3,0xb3,0x1b,0xa4,0x6f,0x0a,0x85,0x68,0x27,0x5d,0xb3,0xd9, 22 0xd4,0xdb,0x5e,0x67,0xeb,0xe0,0xf0,0x3b,0x87,0x84,0x37,0xda,0x5a,0x60,0x78,0x5d, 23 0x8c,0x15,0x2c,0x72,0xb6,0x62,0x2c,0x43,0x1b,0x63,0xec,0x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, 77 0xf9,0x9e,0xa7,0xc6,0xda,0xf9,0x1b,0x75,0x67,0x74,0x89,0x33,0xba,0xe8,0xce,0xe8, 78 0x0b,0xf0,0x69,0xee,0xd6,0x65,0xb0,0xf4,0xcf,0xb9,0xc2,0xbf,0xe2,0x32,0xb9,0x84, 79 0x5d,0x05,0x6f,0x89,0xb1,0x8b,0xf1,0x9f,0x79,0x8d,0xff,0x6a,0x15,0xfd,0x56,0x3b, 80 0xb3,0x6b,0x70,0xf5,0xdf,0x72,0xed,0xff,0xd8,0x6d,0xeb,0xb2,0xf5,0x1f,0x9d,0xad, 81 0x56,0x74,0xf8,0x0b,0x00,0x00 82}; 83 84// Generated from: 85// 86// #version 450 core 87// 88// #extension GL_EXT_samplerless_texture_functions : require 89// 90// layout(local_size_x = 8, local_size_y = 8, local_size_z = 1)in; 91// 92// layout(push_constant)uniform PushConstants { 93// 94// ivec2 offset; 95// vec2 stretch; 96// vec2 invSrcExtent; 97// int srcLayer; 98// int srcWidth; 99// 100// ivec4 blitArea; 101// int destPitch; 102// 103// bool flipX; 104// bool flipY; 105// bool rotateXY; 106// } params; 107// 108// layout(set = 0, binding = 0)buffer dst 109// { 110// 111// uint destData[]; 112// }; 113// 114// layout(set = 0, binding = 1)uniform utexture2DMS stencil; 115// 116// void main() 117// { 118// ivec2 destSubImageCoords = ivec2(gl_GlobalInvocationID . x * 4, gl_GlobalInvocationID . y); 119// if(any(lessThanEqual(params . blitArea . zw, destSubImageCoords))) 120// { 121// return; 122// } 123// 124// destSubImageCoords += params . blitArea . xy; 125// ivec2 srcImageCoords = ivec2(destSubImageCoords); 126// 127// srcImageCoords -= params . offset; 128// 129// if(params . flipX) 130// srcImageCoords . x = - srcImageCoords . x; 131// if(params . flipY) 132// srcImageCoords . y = - srcImageCoords . y; 133// if(params . rotateXY) 134// srcImageCoords . xy = srcImageCoords . yx; 135// 136// int xDir = params . flipX ? - 1 : 1; 137// 138// uint outStencils = 0; 139// 140// for(int i = 0;i < 4;++ i) 141// { 142// 143// if(srcImageCoords . x >= 0 && srcImageCoords . x < params . srcWidth) 144// { 145// 146// uint stencilValue = texelFetch(stencil, srcImageCoords, 0). x; 147// 148// outStencils |=(stencilValue & 0xFF)<<(i * 8); 149// 150// } 151// 152// srcImageCoords . x += xDir; 153// } 154// 155// destData[gl_GlobalInvocationID . y * params . destPitch + gl_GlobalInvocationID . x]= outStencils; 156// } 157