Hash :
6cb599f9
Author :
Date :
2021-10-06T13:07:27
Vulkan: Change dest to dst for consistency Cleanup only, no functional change. dst aligns better with src. Bug: angleproject:6502 Change-Id: I69821b1aae50a7ce647c7cc876468b6de309eec8 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3208514 Commit-Queue: Charlie Lao <cclao@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
// 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.00000001.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolveStencilNoExport_comp_00000001[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x6d,0x96,0xfb,0x4f,0xd6,0x55,
0x1c,0xc7,0x0f,0x3c,0xf0,0x80,0x4f,0xa1,0x50,0xa0,0x06,0x2a,0x12,0xcd,0x2e,0x34,
0xb5,0xcd,0xeb,0x02,0x96,0x5d,0xa4,0x95,0x26,0xd0,0x45,0x4b,0xd6,0xd6,0x46,0x3f,
0x70,0x29,0x5a,0x08,0x5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x14,0x5e,0xd1,0xbe,0x05,0xfb,0x90,0x3e,
0x3d,0x4a,0xbd,0x52,0xbe,0x27,0x5c,0x1f,0x5f,0x81,0x67,0x14,0xfe,0x71,0x17,0xfb,
0x31,0x66,0xe5,0x25,0xe2,0xfc,0x88,0xfa,0x1f,0x73,0x77,0xc6,0x05,0xf0,0xcb,0x6e,
0x1e,0x07,0xb1,0x33,0xc8,0x9b,0x91,0x67,0x0e,0x2e,0xfd,0xcf,0xbc,0x0d,0xb8,0x7a,
0x9c,0xa4,0x1e,0x27,0x5c,0x3d,0x3e,0x07,0x1f,0xe3,0x2e,0x39,0x05,0x96,0xde,0xea,
0x2f,0x78,0x63,0x4f,0x61,0x4b,0xd8,0x57,0xe0,0x35,0x51,0x77,0x3e,0xfe,0xd7,0x38,
0xcd,0xff,0x91,0x56,0xe8,0xed,0xd6,0x93,0xa7,0x89,0xdd,0xbf,0x81,0xda,0xff,0xb6,
0x4a,0xae,0xb3,0xf5,0x2f,0x54,0xd8,0x4e,0x70,0xc4,0x0d,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;
//
// ivec4 blitArea;
// int destPitch;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// layout(set = 0, binding = 0)buffer dst
// {
//
// uint destData[];
// };
//
// layout(set = 0, binding = 1)uniform utexture2DArray 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 -= 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 = params . flipX ? - 1 : 1;
//
// uint outStencils = 0;
//
// for(int i = 0;i < 4;++ i)
// {
//
// if(srcImageCoords . x >= 0 && srcImageCoords . x < params . srcWidth)
// {
//
// uint stencilValue = texture(usampler2DArray(stencil, blitSampler), vec3(srcImageCoords * params . invSrcExtent, params . srcLayer)). x;
//
// outStencils |=(stencilValue & 0xFF)<<(i * 8);
//
// }
//
// srcImageCoords . x += xDir;
// }
//
// destData[gl_GlobalInvocationID . y * params . destPitch + gl_GlobalInvocationID . x]= outStencils;
// }