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
// 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.00000017.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000017[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x94,0x5d,0x4f,0x93,0x41,
0x10,0x85,0xb7,0x7d,0xa1,0x05,0xb4,0x50,0x82,0x05,0x31,0x46,0x50,0xbc,0x30,0x51,
0x08,0x17,0x68,0x48,0x8c,0x46,0x2f,0x40,0x30,0x55,0xf9,0x12,0x10,0x2f,0x1a,0x84,
0x26,0x56,0xf9,0x92,0xa2,0xa9,0x4a,0x30,0x45,0x89,0xbd,0x30,0x51,0x34,0xfa,0x27,
0xfc,0x7d,0xc6,0x8f,0xc4,0xc4,0x39,0x6f,0x9f,0x25,0x9b,0x5e,0xf8,0x26,0xdb,0xdd,
0x39,0x33,0x3b,0x73,0xce,0xce,0x6e,0xa3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97,0xde,0xe2,0x0a,0x58,0x63,
0x2e,0x9d,0xf5,0x2a,0x7e,0x17,0xf7,0xa5,0xae,0xa5,0x08,0xae,0xdc,0x0b,0xd8,0x7f,
0x8d,0xf5,0xa8,0x8d,0x7f,0x03,0x23,0x4c,0x84,0x30,0x08,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// #extension GL_ARB_shader_stencil_export : require
//
// layout(set = 0, binding = 0)uniform texture2DMSArray depth;
//
// layout(set = 0, binding = 1)uniform utexture2DMSArray stencil;
//
// #line 1 "shaders/src/BlitResolve.inc"
//
// layout(push_constant)uniform PushConstants {
//
// ivec2 offset;
// vec2 stretch;
// vec2 invSrcExtent;
// int srcMip;
// int srcLayer;
// int samples;
// float invSamples;
//
// int outputMask;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// ivec2 getSrcImageCoords()
// {
//
// ivec2 srcImageCoords = ivec2(gl_FragCoord . xy);
//
// 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;
// }
//
// #line 123 "shaders/src/BlitResolve.frag"
//
// void main()
// {
// ivec2 srcImageCoords = getSrcImageCoords();
//
// gl_FragDepth = texelFetch(depth, ivec3(srcImageCoords, params . srcLayer), 0). x;
//
// gl_FragStencilRefARB = int(texelFetch(stencil, ivec3(srcImageCoords, params . srcLayer), 0). x);
//
// }