Hash :
98915e44
Author :
Date :
2025-09-12T14:15:05
Vulkan: Fix blit src missing mip Bug: angleproject:433816259 Bug: angleproject:40644750 Change-Id: I50261279224dea8e37beff388207b927399d099a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6944327 Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Charlie Lao <cclao@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 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
// 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/BlitResolve.frag.00000008.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000008[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0x5f,0x68,0xd6,0x65,
0x14,0xc7,0x9f,0xe7,0xfd,0xbd,0xef,0xde,0xb9,0xf7,0x2d,0x37,0xa6,0xf3,0xcf,0xde,
0xd9,0xcc,0x18,0xc1,0xc4,0xbc,0xb0,0x50,0xc2,0x30,0x10,0xea,0x42,0xd0,0x0a,0x72,
0x17,0xbb,0x79,0x41,0x2f,0x1a,0x54,0xb0,0xc2,0x9b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0xb5,0x6e,0xa1,0x33,0xe0,0x74,0x8c,0x9b,0x77,0x3a,0xff,0xa0,0xd3,
0xeb,0x74,0x6e,0x83,0x9b,0xce,0x82,0xd3,0xb9,0x9d,0xf6,0x2d,0x24,0x4c,0x6b,0xdd,
0x41,0x67,0xd0,0xe9,0x18,0xb7,0xe0,0x74,0xee,0xa2,0x73,0xc8,0xe9,0xfc,0x0f,0x6e,
0x3a,0x8b,0x4e,0x47,0xb9,0x7b,0x62,0x8b,0xd4,0xba,0x87,0xce,0x90,0xd3,0x31,0x6e,
0xd1,0xe9,0xc4,0x98,0xeb,0x1c,0x76,0x3a,0x85,0x98,0xe3,0xa6,0x53,0x8a,0xcb,0x3a,
0xca,0x65,0x62,0x8a,0x69,0x2d,0xfd,0xad,0x3a,0xc3,0x4e,0xc7,0xb8,0x52,0x5c,0xd6,
0x69,0x46,0xe7,0x98,0xd3,0x59,0x11,0x73,0xdc,0x74,0xaa,0x4e,0x47,0xb9,0x16,0xb1,
0x2a,0xb5,0x5a,0xd0,0x19,0x71,0x3a,0xc6,0x55,0x9d,0xce,0x4a,0x74,0x8e,0x3b,0x9d,
0xd6,0x98,0xe3,0xa6,0xd3,0xee,0x74,0x94,0x6b,0x13,0x6b,0xa7,0x56,0x1b,0x3a,0xa3,
0x4e,0xc7,0x38,0x7d,0xde,0x97,0xaf,0xca,0x76,0xb1,0x07,0x9c,0x82,0x63,0xd8,0x6c,
0x0c,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// layout(set = 0, binding = 0)uniform utexture2D color;
//
// layout(location = 0)out uvec4 colorOut0;
// layout(location = 1)out uvec4 colorOut1;
// layout(location = 2)out uvec4 colorOut2;
// layout(location = 3)out uvec4 colorOut3;
// layout(location = 4)out uvec4 colorOut4;
// layout(location = 5)out uvec4 colorOut5;
// layout(location = 6)out uvec4 colorOut6;
// layout(location = 7)out uvec4 colorOut7;
//
// layout(set = 0, binding = 2)uniform sampler blitSampler;
//
// #line 1 "shaders/src/BlitResolve.inc"
//
// layout(push_constant)uniform PushConstants {
//
// vec2 offset;
// vec2 stretch;
// vec2 invSrcExtent;
// int srcMip;
// int srcLayer;
// int samples;
// float invSamples;
//
// int outputMask;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// vec2 getSrcImageCoords()
// {
//
// vec2 srcImageCoords = vec2(gl_FragCoord . xy);
//
// 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;
//
// return srcImageCoords;
// }
//
// void broadcastColor(uvec4 colorValue)
// {
//
// if((params . outputMask &(1 << 0))!= 0)
// {
// colorOut0 = colorValue;
// }
// if((params . outputMask &(1 << 1))!= 0)
// {
// colorOut1 = colorValue;
// }
// if((params . outputMask &(1 << 2))!= 0)
// {
// colorOut2 = colorValue;
// }
// if((params . outputMask &(1 << 3))!= 0)
// {
// colorOut3 = colorValue;
// }
// if((params . outputMask &(1 << 4))!= 0)
// {
// colorOut4 = colorValue;
// }
// if((params . outputMask &(1 << 5))!= 0)
// {
// colorOut5 = colorValue;
// }
// if((params . outputMask &(1 << 6))!= 0)
// {
// colorOut6 = colorValue;
// }
// if((params . outputMask &(1 << 7))!= 0)
// {
// colorOut7 = colorValue;
// }
// }
//
// #line 123 "shaders/src/BlitResolve.frag"
//
// void main()
// {
// vec2 srcImageCoords = getSrcImageCoords();
//
// uvec4 colorValue = textureLod(usampler2D(color, blitSampler), srcImageCoords * params . invSrcExtent, params . srcMip);
//
// broadcastColor(colorValue);
//
// }