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
// 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.00000013.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000013[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x53,0x6b,0x6f,0x12,0x41,
0x14,0x1d,0xd8,0xb2,0x0b,0x35,0xb4,0x10,0x04,0xac,0x31,0x16,0xc5,0x0f,0x26,0xda,
0xa6,0x1f,0xaa,0x21,0x31,0x1a,0xfd,0x00,0xb6,0x06,0x95,0xd2,0x87,0x26,0x55,0x37,
0x58,0x88,0x2d,0x16,0xac,0x5d,0x14,0x25,0xc6,0x44,0xab,0x3f,0x41,0xff,0x84,0xbf,
0xcf,0xf8,0x48,0x4c,0xbc,0x67,0xf6,0x4c,0x73,0x53,0x92,0x61,0x66,0xce,0x3d,0xf7,
0x71,0xee,0x9d,0xf5,0x92,0xd5,0xc0,0x98,0x84,0x99,0x36,0x69,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x3d,0xa5,0xe1,0x25,0x35,0x2c,0x28,0x0d,0xfb,0xc4,0x9d,
0x86,0x01,0x31,0xa7,0x21,0x52,0x1a,0x06,0xb6,0xaf,0xc6,0x62,0xc8,0x3b,0x54,0x1a,
0x0e,0x98,0x3b,0xa1,0x34,0xbc,0x26,0xee,0x34,0x7c,0x22,0xe6,0x78,0xd0,0xe0,0x62,
0x45,0x4a,0xc3,0x11,0x39,0x7d,0xfa,0x0c,0x95,0x86,0x11,0x35,0xd4,0x94,0x86,0x37,
0xc4,0x9d,0x86,0xb7,0xc4,0x9c,0x86,0x89,0xd2,0x00,0xdb,0x58,0xd6,0x84,0x79,0xc7,
0x7c,0x47,0xc8,0xfb,0x9e,0xb9,0x8f,0xd4,0x7b,0x47,0x8d,0x8e,0x3b,0x51,0x35,0x7e,
0x21,0x2f,0xa2,0xdf,0x98,0xf5,0xe0,0x9b,0xb8,0xc7,0xef,0x01,0x35,0xe3,0xed,0x3f,
0x60,0xcd,0x4d,0x72,0x7c,0x9b,0x33,0xc6,0x5d,0xff,0xd6,0x18,0xd3,0x28,0xac,0x4d,
0x0c,0xb5,0xb4,0x04,0xc1,0x77,0xb3,0x4e,0x6e,0x9b,0x31,0x42,0xa9,0x06,0xdf,0xcf,
0x26,0xf3,0xc2,0x7e,0x9b,0xef,0x1b,0x71,0xd0,0x9f,0x2d,0xda,0xf1,0xfb,0xc0,0xfc,
0x8f,0x88,0xdf,0x92,0xfe,0x34,0x78,0xff,0x27,0x99,0x6a,0xb2,0xfe,0x03,0xe0,0x23,
0x39,0x7d,0x40,0x07,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 = 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_FragStencilRefARB = int(texelFetch(stencil, ivec3(srcImageCoords, params . srcLayer), 0). x);
//
// }