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.00000000.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolveStencilNoExport_comp_00000000[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x96,0xe9,0x6f,0x95,0x45, 14 0x14,0xc6,0xa7,0xbd,0xed,0xbd,0xe5,0x6a,0x4b,0xab,0x2d,0x60,0x2f,0x50,0x6a,0x0d, 15 0x2e,0x35,0x80,0x09,0x6b,0x6c,0x1b,0x71,0xa1,0x44,0x41,0xda,0xba,0xa0,0xd2,0x98, 16 0x98,0xd4,0x0f,0x5d,0xb4,0xc6,0xd2,0x26,0x6a,0xa5,0xb5,0x54,0x2c,0x1a,0x04,0x31, 17 0x18,0xd1,0x90,0x90,0x48,0x6d,0x04,0x31,0x31,0x6c,0xfd,0xa4,0x89,0xd1,0x20,0x88, 18 0x9f,0xf0,0x5f,0x71,0x8f,0xd1,0xf3,0xcc,0xfb,0x1b,0x73,0x6c,0xbc,0xc9,0x64,0xde, 19 0x79,0xce,0xfa,0x9c,0x39,0x33,0x73,0x73,0xe5,0x2d,0x85,0x10,0xca,0x42,0x31,0x54, 20 0x85,0x9f,0x42,0xf6,0xab,0x0b,0xe5,0x86,0x84,0x70,0x43,0xc8,0xc7,0xb9,0x73,0xc7, 21 0x63,0x3b,0xd6,0x8c,0xec,0xed,0x5b,0xb3,0x7e,0xc3,0x3a,0xc9,0x6b,0x42,0x2e,0xea, 22 0x49,0xb6,0xd8,0x74,0x2a,0x6d,0xae,0xb0,0xf1,0xc2,0x73,0xfd,0x2f,0x0a,0xaf,0xb6, 23 0x51,0x6b,0x78,0x45,0xf4,0x15,0xcc,0x73,0x36,0xa2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,0x61,0x2a,0xde, 77 0x0d,0xd9,0x9b,0xa6,0xb5,0xde,0xaf,0x83,0xbc,0x5d,0x4f,0x5a,0x0e,0x7a,0xb7,0xde, 78 0x41,0xe7,0xa0,0xbb,0x33,0xde,0x85,0xcb,0x21,0x77,0x67,0x1c,0x06,0x4f,0x77,0xcd, 79 0x11,0x6a,0x77,0x38,0xf6,0x62,0x21,0xbe,0x73,0x47,0xf1,0x77,0x84,0x7b,0x75,0x84, 80 0x5a,0x6b,0x7f,0xdf,0x47,0x1e,0xe2,0xde,0x67,0xd8,0x07,0xe0,0xc7,0x78,0x2b,0x54, 81 0xb3,0x0f,0xd9,0x4f,0x9d,0xd9,0x6f,0xd1,0x3b,0x8e,0xae,0x64,0xdf,0x81,0x7d,0x4c, 82 0xcf,0x1c,0xa7,0x76,0x89,0xfb,0xa4,0xeb,0xa9,0xeb,0xe8,0x8c,0xa1,0x3f,0xe1,0xf6, 83 0xe2,0x04,0x7d,0xfb,0x06,0xbd,0x70,0x92,0xbd,0x38,0xe1,0xce,0xef,0x65,0xf0,0x6b, 84 0xee,0x6c,0x0c,0x11,0x67,0x88,0xfb,0x3b,0x4f,0x4f,0x5e,0xfd,0x9f,0xde,0x1f,0x74, 85 0xfd,0x71,0x86,0x9a,0x9e,0x76,0xfd,0xf1,0x39,0xf8,0x38,0xe7,0xfa,0x2c,0x58,0x7a, 86 0x37,0xbf,0xe0,0xbd,0x3b,0x4b,0xac,0x62,0xec,0xfb,0x0c,0xaf,0x8b,0xbe,0xf3,0xf1, 87 0xdd,0x3f,0xcf,0x7f,0x83,0x36,0xe4,0x1d,0xd6,0x1f,0xe7,0xe1,0xee,0xdf,0x23,0xcd, 88 0x7f,0xd9,0x49,0xdf,0x6c,0xe3,0x1f,0x16,0x20,0x9f,0xca,0x30,0x0d,0x00,0x00 89}; 90 91// Generated from: 92// 93// #version 450 core 94// 95// layout(local_size_x = 8, local_size_y = 8, local_size_z = 1)in; 96// 97// layout(push_constant)uniform PushConstants { 98// 99// vec2 offset; 100// vec2 stretch; 101// vec2 invSrcExtent; 102// int srcLayer; 103// int srcWidth; 104// 105// ivec4 blitArea; 106// int destPitch; 107// 108// bool flipX; 109// bool flipY; 110// bool rotateXY; 111// } params; 112// 113// layout(set = 0, binding = 0)buffer dest 114// { 115// 116// uint destData[]; 117// }; 118// 119// layout(set = 0, binding = 1)uniform utexture2D stencil; 120// 121// layout(set = 0, binding = 2)uniform sampler blitSampler; 122// 123// void main() 124// { 125// ivec2 destSubImageCoords = ivec2(gl_GlobalInvocationID . x * 4, gl_GlobalInvocationID . y); 126// if(any(lessThanEqual(params . blitArea . zw, destSubImageCoords))) 127// { 128// return; 129// } 130// 131// destSubImageCoords += params . blitArea . xy; 132// vec2 srcImageCoords = vec2(destSubImageCoords); 133// 134// srcImageCoords *= params . stretch; 135// 136// srcImageCoords -= params . offset; 137// 138// if(params . flipX) 139// srcImageCoords . x = - srcImageCoords . x; 140// if(params . flipY) 141// srcImageCoords . y = - srcImageCoords . y; 142// if(params . rotateXY) 143// srcImageCoords . xy = srcImageCoords . yx; 144// 145// int xDir = params . flipX ? - 1 : 1; 146// 147// uint outStencils = 0; 148// 149// for(int i = 0;i < 4;++ i) 150// { 151// 152// if(srcImageCoords . x >= 0 && srcImageCoords . x < params . srcWidth) 153// { 154// 155// uint stencilValue = texture(usampler2D(stencil, blitSampler), srcImageCoords * params . invSrcExtent). x; 156// 157// outStencils |=(stencilValue & 0xFF)<<(i * 8); 158// 159// } 160// 161// srcImageCoords . x += xDir; 162// } 163// 164// destData[gl_GlobalInvocationID . y * params . destPitch + gl_GlobalInvocationID . x]= outStencils; 165// } 166