Hash :
a0586d6e
Author :
Date :
2024-10-26T00:32:27
Remove feature description / condition strings These strings show up in chrome://gpu so they can marginally be useful, but are otherwise dead weight for most uses of ANGLE / users of ANGLE. While slightly less convenient, the feature name can always be linked back to the source code if needed so the presence of such metadata is not necessary either. This shaves 40KB from the binary size of ANGLE when built with Vulkan only on Android. Bug: chromium:371512561 Change-Id: I3959961bb7de95cc60a85130d0ff38a7fd533fb7 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5968453 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
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
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_features.py using data from d3d_features.json.
//
// Copyright 2022 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.
//
// FeaturesD3D_autogen.h: Features and workarounds for D3D driver bugs and other issues.
#ifndef ANGLE_PLATFORM_AUTOGEN_FEATURESD3D_H_
#define ANGLE_PLATFORM_AUTOGEN_FEATURESD3D_H_
#include "platform/Feature.h"
namespace angle
{
struct FeaturesD3D : FeatureSetBase
{
FeaturesD3D();
~FeaturesD3D();
FeatureInfo borderColorSrgb = {
"borderColorSrgb",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo mrtPerfWorkaround = {
"mrtPerfWorkaround",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo setDataFasterThanImageUpload = {
"setDataFasterThanImageUpload",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo zeroMaxLodWorkaround = {
"zeroMaxLodWorkaround",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo depthStencilBlitExtraCopy = {
"depthStencilBlitExtraCopy",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo expandIntegerPowExpressions = {
"expandIntegerPowExpressions",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo flushAfterEndingTransformFeedback = {
"flushAfterEndingTransformFeedback",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo getDimensionsIgnoresBaseLevel = {
"getDimensionsIgnoresBaseLevel",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo preAddTexelFetchOffsets = {
"preAddTexelFetchOffsets",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo emulateTinyStencilTextures = {
"emulateTinyStencilTextures",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo disableB5G6R5Support = {
"disableB5G6R5Support",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo rewriteUnaryMinusOperator = {
"rewriteUnaryMinusOperator",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo emulateIsnanFloat = {
"emulateIsnanFloat",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo callClearTwice = {
"callClearTwice",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo useSystemMemoryForConstantBuffers = {
"useSystemMemoryForConstantBuffers",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo selectViewInGeometryShader = {
"selectViewInGeometryShader",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo addMockTextureNoRenderTarget = {
"addMockTextureNoRenderTarget",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo skipVSConstantRegisterZero = {
"skipVSConstantRegisterZero",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo forceAtomicValueResolution = {
"forceAtomicValueResolution",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo allowClearForRobustResourceInit = {
"allowClearForRobustResourceInit",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo allowTranslateUniformBlockToStructuredBuffer = {
"allowTranslateUniformBlockToStructuredBuffer",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo allowES3OnFL100 = {
"allowES3OnFL100",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo disableRasterizerOrderViews = {
"disableRasterizerOrderViews",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo enableTimestampQueries = {
"enableTimestampQueries",
FeatureCategory::D3DWorkarounds,
&members,
};
FeatureInfo supportsNonConstantLoopIndexing = {
"supportsNonConstantLoopIndexing",
FeatureCategory::D3DWorkarounds,
&members,
};
};
inline FeaturesD3D::FeaturesD3D() = default;
inline FeaturesD3D::~FeaturesD3D() = default;
} // namespace angle
#endif // ANGLE_PLATFORM_AUTOGEN_FEATURESD3D_H_