xref: /aosp_15_r20/external/angle/util/autogen/angle_features_autogen.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker // GENERATED FILE - DO NOT EDIT.
2*8975f5c5SAndroid Build Coastguard Worker // Generated by gen_features.py using data from *_features.json.
3*8975f5c5SAndroid Build Coastguard Worker //
4*8975f5c5SAndroid Build Coastguard Worker // Copyright 2022 The ANGLE Project Authors. All rights reserved.
5*8975f5c5SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
6*8975f5c5SAndroid Build Coastguard Worker // found in the LICENSE file.
7*8975f5c5SAndroid Build Coastguard Worker //
8*8975f5c5SAndroid Build Coastguard Worker // angle_features_autogen.h: List of ANGLE features to help enable/disable them in tests.
9*8975f5c5SAndroid Build Coastguard Worker 
10*8975f5c5SAndroid Build Coastguard Worker #ifndef ANGLE_SRC_TESTS_TEST_UTIL_AUTOGEN_ANGLE_FEATURES_AUTOGEN_H_
11*8975f5c5SAndroid Build Coastguard Worker #define ANGLE_SRC_TESTS_TEST_UTIL_AUTOGEN_ANGLE_FEATURES_AUTOGEN_H_
12*8975f5c5SAndroid Build Coastguard Worker 
13*8975f5c5SAndroid Build Coastguard Worker #include "../util_export.h"
14*8975f5c5SAndroid Build Coastguard Worker 
15*8975f5c5SAndroid Build Coastguard Worker namespace angle
16*8975f5c5SAndroid Build Coastguard Worker {
17*8975f5c5SAndroid Build Coastguard Worker enum class Feature
18*8975f5c5SAndroid Build Coastguard Worker {
19*8975f5c5SAndroid Build Coastguard Worker     AddAndTrueToLoopCondition,
20*8975f5c5SAndroid Build Coastguard Worker     AddMockTextureNoRenderTarget,
21*8975f5c5SAndroid Build Coastguard Worker     AdjustClearColorPrecision,
22*8975f5c5SAndroid Build Coastguard Worker     AdjustSrcDstRegionForBlitFramebuffer,
23*8975f5c5SAndroid Build Coastguard Worker     AllocateNonZeroMemory,
24*8975f5c5SAndroid Build Coastguard Worker     AllowAstcFormats,
25*8975f5c5SAndroid Build Coastguard Worker     AllowBufferReadWrite,
26*8975f5c5SAndroid Build Coastguard Worker     AllowClearForRobustResourceInit,
27*8975f5c5SAndroid Build Coastguard Worker     AllowCompressedFormats,
28*8975f5c5SAndroid Build Coastguard Worker     AllowES3OnFL100,
29*8975f5c5SAndroid Build Coastguard Worker     AllowETCFormats,
30*8975f5c5SAndroid Build Coastguard Worker     AllowGenerateMipmapWithCompute,
31*8975f5c5SAndroid Build Coastguard Worker     AllowGenMultipleMipsPerPass,
32*8975f5c5SAndroid Build Coastguard Worker     AllowHostImageCopyDespiteNonIdenticalLayout,
33*8975f5c5SAndroid Build Coastguard Worker     AllowInlineConstVertexData,
34*8975f5c5SAndroid Build Coastguard Worker     AllowMultisampledRenderToTextureEmulation,
35*8975f5c5SAndroid Build Coastguard Worker     AllowMultisampleStoreAndResolve,
36*8975f5c5SAndroid Build Coastguard Worker     AllowRenderpassWithoutAttachment,
37*8975f5c5SAndroid Build Coastguard Worker     AllowRuntimeSamplerCompareMode,
38*8975f5c5SAndroid Build Coastguard Worker     AllowSamplerCompareGradient,
39*8975f5c5SAndroid Build Coastguard Worker     AllowSeparateDepthStencilBuffers,
40*8975f5c5SAndroid Build Coastguard Worker     AllowTranslateUniformBlockToStructuredBuffer,
41*8975f5c5SAndroid Build Coastguard Worker     AlwaysCallUseProgramAfterLink,
42*8975f5c5SAndroid Build Coastguard Worker     AlwaysEnableEmulatedMultidrawExtensions,
43*8975f5c5SAndroid Build Coastguard Worker     AlwaysPreferStagedTextureUploads,
44*8975f5c5SAndroid Build Coastguard Worker     AlwaysRunLinkSubJobsThreaded,
45*8975f5c5SAndroid Build Coastguard Worker     AlwaysUnbindFramebufferTexture2D,
46*8975f5c5SAndroid Build Coastguard Worker     AlwaysUseManagedStorageModeForBuffers,
47*8975f5c5SAndroid Build Coastguard Worker     AlwaysUseSharedStorageModeForBuffers,
48*8975f5c5SAndroid Build Coastguard Worker     AlwaysUseStagedBufferUpdates,
49*8975f5c5SAndroid Build Coastguard Worker     AppendAliasedMemoryDecorations,
50*8975f5c5SAndroid Build Coastguard Worker     AsyncCommandBufferResetAndGarbageCleanup,
51*8975f5c5SAndroid Build Coastguard Worker     AsyncCommandQueue,
52*8975f5c5SAndroid Build Coastguard Worker     Avoid1BitAlphaTextureFormats,
53*8975f5c5SAndroid Build Coastguard Worker     AvoidBindFragDataLocation,
54*8975f5c5SAndroid Build Coastguard Worker     AvoidOpSelectWithMismatchingRelaxedPrecision,
55*8975f5c5SAndroid Build Coastguard Worker     AvoidStencilTextureSwizzle,
56*8975f5c5SAndroid Build Coastguard Worker     BgraTexImageFormatsBroken,
57*8975f5c5SAndroid Build Coastguard Worker     BindCompleteFramebufferForTimerQueries,
58*8975f5c5SAndroid Build Coastguard Worker     BindTransformFeedbackBufferBeforeBindBufferRange,
59*8975f5c5SAndroid Build Coastguard Worker     BorderColorSrgb,
60*8975f5c5SAndroid Build Coastguard Worker     BottomLeftOriginPresentRegionRectangles,
61*8975f5c5SAndroid Build Coastguard Worker     BresenhamLineRasterization,
62*8975f5c5SAndroid Build Coastguard Worker     CacheCompiledShader,
63*8975f5c5SAndroid Build Coastguard Worker     CallClearTwice,
64*8975f5c5SAndroid Build Coastguard Worker     ClampArrayAccess,
65*8975f5c5SAndroid Build Coastguard Worker     ClampFragDepth,
66*8975f5c5SAndroid Build Coastguard Worker     ClampMscRate,
67*8975f5c5SAndroid Build Coastguard Worker     ClampPointSize,
68*8975f5c5SAndroid Build Coastguard Worker     ClDumpVkSpirv,
69*8975f5c5SAndroid Build Coastguard Worker     ClearsWithGapsNeedFlush,
70*8975f5c5SAndroid Build Coastguard Worker     ClearToZeroOrOneBroken,
71*8975f5c5SAndroid Build Coastguard Worker     ClipSrcRegionForBlitFramebuffer,
72*8975f5c5SAndroid Build Coastguard Worker     CompileJobIsThreadSafe,
73*8975f5c5SAndroid Build Coastguard Worker     CompileMetalShaders,
74*8975f5c5SAndroid Build Coastguard Worker     CompressVertexData,
75*8975f5c5SAndroid Build Coastguard Worker     CopyIOSurfaceToNonIOSurfaceForReadOptimization,
76*8975f5c5SAndroid Build Coastguard Worker     CopyTextureToBufferForReadOptimization,
77*8975f5c5SAndroid Build Coastguard Worker     CorruptProgramBinaryForTesting,
78*8975f5c5SAndroid Build Coastguard Worker     DecodeEncodeSRGBForGenerateMipmap,
79*8975f5c5SAndroid Build Coastguard Worker     DepthStencilBlitExtraCopy,
80*8975f5c5SAndroid Build Coastguard Worker     DescriptorSetCache,
81*8975f5c5SAndroid Build Coastguard Worker     DisableAnisotropicFiltering,
82*8975f5c5SAndroid Build Coastguard Worker     DisableB5G6R5Support,
83*8975f5c5SAndroid Build Coastguard Worker     DisableBaseInstanceVertex,
84*8975f5c5SAndroid Build Coastguard Worker     DisableBlendEquationAdvanced,
85*8975f5c5SAndroid Build Coastguard Worker     DisableBlendFuncExtended,
86*8975f5c5SAndroid Build Coastguard Worker     DisableClipControl,
87*8975f5c5SAndroid Build Coastguard Worker     DisableDepthStencilResolveThroughAttachment,
88*8975f5c5SAndroid Build Coastguard Worker     DisableDrawBuffersIndexed,
89*8975f5c5SAndroid Build Coastguard Worker     DisableFlippingBlitWithCommand,
90*8975f5c5SAndroid Build Coastguard Worker     DisableGPUSwitchingSupport,
91*8975f5c5SAndroid Build Coastguard Worker     DisableMetalOnNvidia,
92*8975f5c5SAndroid Build Coastguard Worker     DisableMultisampledRenderToTexture,
93*8975f5c5SAndroid Build Coastguard Worker     DisableNativeParallelCompile,
94*8975f5c5SAndroid Build Coastguard Worker     DisablePipelineCacheLoadForTesting,
95*8975f5c5SAndroid Build Coastguard Worker     DisableProgramBinary,
96*8975f5c5SAndroid Build Coastguard Worker     DisableProgramCaching,
97*8975f5c5SAndroid Build Coastguard Worker     DisableProgramCachingForTransformFeedback,
98*8975f5c5SAndroid Build Coastguard Worker     DisableProgrammableBlending,
99*8975f5c5SAndroid Build Coastguard Worker     DisableRasterizerOrderViews,
100*8975f5c5SAndroid Build Coastguard Worker     DisableRasterOrderGroups,
101*8975f5c5SAndroid Build Coastguard Worker     DisableRenderSnorm,
102*8975f5c5SAndroid Build Coastguard Worker     DisableRWTextureTier2Support,
103*8975f5c5SAndroid Build Coastguard Worker     DisableSemaphoreFd,
104*8975f5c5SAndroid Build Coastguard Worker     DisableSeparateShaderObjects,
105*8975f5c5SAndroid Build Coastguard Worker     DisableStagedInitializationOfPackedTextureFormats,
106*8975f5c5SAndroid Build Coastguard Worker     DisableSyncControlSupport,
107*8975f5c5SAndroid Build Coastguard Worker     DisableTextureClampToBorder,
108*8975f5c5SAndroid Build Coastguard Worker     DisableTextureMirrorClampToEdge,
109*8975f5c5SAndroid Build Coastguard Worker     DisableTiledRendering,
110*8975f5c5SAndroid Build Coastguard Worker     DisableTimestampQueries,
111*8975f5c5SAndroid Build Coastguard Worker     DisallowMixedDepthStencilLoadOpNoneAndLoad,
112*8975f5c5SAndroid Build Coastguard Worker     DoesSRGBClearsOnLinearFramebufferAttachments,
113*8975f5c5SAndroid Build Coastguard Worker     DontInitializeUninitializedLocals,
114*8975f5c5SAndroid Build Coastguard Worker     DontUseLoopsToInitializeVariables,
115*8975f5c5SAndroid Build Coastguard Worker     DoubleDepthBiasConstantFactor,
116*8975f5c5SAndroid Build Coastguard Worker     DoWhileGLSLCausesGPUHang,
117*8975f5c5SAndroid Build Coastguard Worker     DumpShaderSource,
118*8975f5c5SAndroid Build Coastguard Worker     DumpTranslatedShaders,
119*8975f5c5SAndroid Build Coastguard Worker     EglColorspaceAttributePassthrough,
120*8975f5c5SAndroid Build Coastguard Worker     EmulateAbsIntFunction,
121*8975f5c5SAndroid Build Coastguard Worker     EmulateAdvancedBlendEquations,
122*8975f5c5SAndroid Build Coastguard Worker     EmulateAlphaToCoverage,
123*8975f5c5SAndroid Build Coastguard Worker     EmulateAtan2Float,
124*8975f5c5SAndroid Build Coastguard Worker     EmulateClipDistanceState,
125*8975f5c5SAndroid Build Coastguard Worker     EmulateClipOrigin,
126*8975f5c5SAndroid Build Coastguard Worker     EmulateCopyTexImage2D,
127*8975f5c5SAndroid Build Coastguard Worker     EmulateCopyTexImage2DFromRenderbuffers,
128*8975f5c5SAndroid Build Coastguard Worker     EmulateDithering,
129*8975f5c5SAndroid Build Coastguard Worker     EmulateDontCareLoadWithRandomClear,
130*8975f5c5SAndroid Build Coastguard Worker     EmulatedPrerotation180,
131*8975f5c5SAndroid Build Coastguard Worker     EmulatedPrerotation270,
132*8975f5c5SAndroid Build Coastguard Worker     EmulatedPrerotation90,
133*8975f5c5SAndroid Build Coastguard Worker     EmulateImmutableCompressedTexture3D,
134*8975f5c5SAndroid Build Coastguard Worker     EmulateIsnanFloat,
135*8975f5c5SAndroid Build Coastguard Worker     EmulateMaxVertexAttribStride,
136*8975f5c5SAndroid Build Coastguard Worker     EmulatePackSkipRowsAndPackSkipPixels,
137*8975f5c5SAndroid Build Coastguard Worker     EmulatePixelLocalStorage,
138*8975f5c5SAndroid Build Coastguard Worker     EmulatePrimitiveRestartFixedIndex,
139*8975f5c5SAndroid Build Coastguard Worker     EmulateR32fImageAtomicExchange,
140*8975f5c5SAndroid Build Coastguard Worker     EmulateRGB10,
141*8975f5c5SAndroid Build Coastguard Worker     EmulateTinyStencilTextures,
142*8975f5c5SAndroid Build Coastguard Worker     EmulateTransformFeedback,
143*8975f5c5SAndroid Build Coastguard Worker     EnableAdditionalBlendFactorsForDithering,
144*8975f5c5SAndroid Build Coastguard Worker     EnableAsyncPipelineCacheCompression,
145*8975f5c5SAndroid Build Coastguard Worker     EnableCaptureLimits,
146*8975f5c5SAndroid Build Coastguard Worker     EnableInMemoryMtlLibraryCache,
147*8975f5c5SAndroid Build Coastguard Worker     EnableMergeClientAttribBuffer,
148*8975f5c5SAndroid Build Coastguard Worker     EnableMultisampledRenderToTexture,
149*8975f5c5SAndroid Build Coastguard Worker     EnableMultisampledRenderToTextureOnNonTilers,
150*8975f5c5SAndroid Build Coastguard Worker     EnableParallelCompileAndLink,
151*8975f5c5SAndroid Build Coastguard Worker     EnableParallelMtlLibraryCompilation,
152*8975f5c5SAndroid Build Coastguard Worker     EnablePipelineCacheDataCompression,
153*8975f5c5SAndroid Build Coastguard Worker     EnablePortabilityEnumeration,
154*8975f5c5SAndroid Build Coastguard Worker     EnablePrecisionQualifiers,
155*8975f5c5SAndroid Build Coastguard Worker     EnablePreRotateSurfaces,
156*8975f5c5SAndroid Build Coastguard Worker     EnableProgramBinaryForCapture,
157*8975f5c5SAndroid Build Coastguard Worker     EnableShaderSubstitution,
158*8975f5c5SAndroid Build Coastguard Worker     EnableTimestampQueries,
159*8975f5c5SAndroid Build Coastguard Worker     EnableTranslatedShaderSubstitution,
160*8975f5c5SAndroid Build Coastguard Worker     EnsureNonEmptyBufferIsBoundForDraw,
161*8975f5c5SAndroid Build Coastguard Worker     ExpandIntegerPowExpressions,
162*8975f5c5SAndroid Build Coastguard Worker     ExplicitFragmentLocations,
163*8975f5c5SAndroid Build Coastguard Worker     ExplicitlyCastMediumpFloatTo16Bit,
164*8975f5c5SAndroid Build Coastguard Worker     ExplicitlyEnablePerSampleShading,
165*8975f5c5SAndroid Build Coastguard Worker     ExposeES32ForTesting,
166*8975f5c5SAndroid Build Coastguard Worker     ExposeNonConformantExtensionsAndVersions,
167*8975f5c5SAndroid Build Coastguard Worker     FinishDoesNotCauseQueriesToBeAvailable,
168*8975f5c5SAndroid Build Coastguard Worker     FlushAfterEndingTransformFeedback,
169*8975f5c5SAndroid Build Coastguard Worker     FlushAfterStreamVertexData,
170*8975f5c5SAndroid Build Coastguard Worker     FlushBeforeDeleteTextureIfCopiedTo,
171*8975f5c5SAndroid Build Coastguard Worker     FlushOnFramebufferChange,
172*8975f5c5SAndroid Build Coastguard Worker     ForceAtomicValueResolution,
173*8975f5c5SAndroid Build Coastguard Worker     ForceBufferGPUStorage,
174*8975f5c5SAndroid Build Coastguard Worker     ForceContinuousRefreshOnSharedPresent,
175*8975f5c5SAndroid Build Coastguard Worker     ForceD16TexFilter,
176*8975f5c5SAndroid Build Coastguard Worker     ForceD24S8AsUnsupported,
177*8975f5c5SAndroid Build Coastguard Worker     ForceDepthAttachmentInitOnClear,
178*8975f5c5SAndroid Build Coastguard Worker     ForceDisableFullScreenExclusive,
179*8975f5c5SAndroid Build Coastguard Worker     ForceFallbackFormat,
180*8975f5c5SAndroid Build Coastguard Worker     ForceFlushAfterDrawcallUsingShadowmap,
181*8975f5c5SAndroid Build Coastguard Worker     ForceFragmentShaderPrecisionHighpToMediump,
182*8975f5c5SAndroid Build Coastguard Worker     ForceGlErrorChecking,
183*8975f5c5SAndroid Build Coastguard Worker     ForceInitShaderVariables,
184*8975f5c5SAndroid Build Coastguard Worker     ForceMaxUniformBufferSize16KB,
185*8975f5c5SAndroid Build Coastguard Worker     ForceMinimumMaxVertexAttributes,
186*8975f5c5SAndroid Build Coastguard Worker     ForceNearestFiltering,
187*8975f5c5SAndroid Build Coastguard Worker     ForceNearestMipFiltering,
188*8975f5c5SAndroid Build Coastguard Worker     ForceNonCSBaseMipmapGeneration,
189*8975f5c5SAndroid Build Coastguard Worker     ForceRobustResourceInit,
190*8975f5c5SAndroid Build Coastguard Worker     ForceSampleUsageForAhbBackedImages,
191*8975f5c5SAndroid Build Coastguard Worker     ForceSubmitImmutableTextureUpdates,
192*8975f5c5SAndroid Build Coastguard Worker     ForceTextureLodOffset1,
193*8975f5c5SAndroid Build Coastguard Worker     ForceTextureLodOffset2,
194*8975f5c5SAndroid Build Coastguard Worker     ForceTextureLodOffset3,
195*8975f5c5SAndroid Build Coastguard Worker     ForceTextureLodOffset4,
196*8975f5c5SAndroid Build Coastguard Worker     ForceWaitForSubmissionToCompleteForQueryResult,
197*8975f5c5SAndroid Build Coastguard Worker     GenerateFragmentShadingRateAttchementWithCpu,
198*8975f5c5SAndroid Build Coastguard Worker     GenerateShareableShaders,
199*8975f5c5SAndroid Build Coastguard Worker     GetDimensionsIgnoresBaseLevel,
200*8975f5c5SAndroid Build Coastguard Worker     HasBaseVertexInstancedDraw,
201*8975f5c5SAndroid Build Coastguard Worker     HasBlobCacheThatEvictsOldItemsFirst,
202*8975f5c5SAndroid Build Coastguard Worker     HasCheapRenderPass,
203*8975f5c5SAndroid Build Coastguard Worker     HasDepthAutoResolve,
204*8975f5c5SAndroid Build Coastguard Worker     HasEffectivePipelineCacheSerialization,
205*8975f5c5SAndroid Build Coastguard Worker     HasEvents,
206*8975f5c5SAndroid Build Coastguard Worker     HasExplicitMemBarrier,
207*8975f5c5SAndroid Build Coastguard Worker     HasNonUniformDispatch,
208*8975f5c5SAndroid Build Coastguard Worker     HasShaderStencilOutput,
209*8975f5c5SAndroid Build Coastguard Worker     HasStencilAutoResolve,
210*8975f5c5SAndroid Build Coastguard Worker     HasTextureSwizzle,
211*8975f5c5SAndroid Build Coastguard Worker     InitFragmentOutputVariables,
212*8975f5c5SAndroid Build Coastguard Worker     InitializeCurrentVertexAttributes,
213*8975f5c5SAndroid Build Coastguard Worker     InjectAsmStatementIntoLoopBodies,
214*8975f5c5SAndroid Build Coastguard Worker     IntelDisableFastMath,
215*8975f5c5SAndroid Build Coastguard Worker     IntelExplicitBoolCastWorkaround,
216*8975f5c5SAndroid Build Coastguard Worker     KeepBufferShadowCopy,
217*8975f5c5SAndroid Build Coastguard Worker     LimitMax3dArrayTextureSizeTo1024,
218*8975f5c5SAndroid Build Coastguard Worker     LimitMaxColorTargetBitsForTesting,
219*8975f5c5SAndroid Build Coastguard Worker     LimitMaxDrawBuffersForTesting,
220*8975f5c5SAndroid Build Coastguard Worker     LimitMaxMSAASamplesTo4,
221*8975f5c5SAndroid Build Coastguard Worker     LimitMaxStorageBufferSize,
222*8975f5c5SAndroid Build Coastguard Worker     LimitSampleCountTo2,
223*8975f5c5SAndroid Build Coastguard Worker     LimitWebglMaxTextureSizeTo4096,
224*8975f5c5SAndroid Build Coastguard Worker     LimitWebglMaxTextureSizeTo8192,
225*8975f5c5SAndroid Build Coastguard Worker     LinkJobIsThreadSafe,
226*8975f5c5SAndroid Build Coastguard Worker     LoadMetalShadersFromBlobCache,
227*8975f5c5SAndroid Build Coastguard Worker     LogMemoryReportCallbacks,
228*8975f5c5SAndroid Build Coastguard Worker     LogMemoryReportStats,
229*8975f5c5SAndroid Build Coastguard Worker     LoseContextOnOutOfMemory,
230*8975f5c5SAndroid Build Coastguard Worker     MapUnspecifiedColorSpaceToPassThrough,
231*8975f5c5SAndroid Build Coastguard Worker     MergeProgramPipelineCachesToGlobalCache,
232*8975f5c5SAndroid Build Coastguard Worker     MrtPerfWorkaround,
233*8975f5c5SAndroid Build Coastguard Worker     MultisampleColorFormatShaderReadWorkaround,
234*8975f5c5SAndroid Build Coastguard Worker     MutableMipmapTextureUpload,
235*8975f5c5SAndroid Build Coastguard Worker     OverrideSurfaceFormatRGB8ToRGBA8,
236*8975f5c5SAndroid Build Coastguard Worker     PackLastRowSeparatelyForPaddingInclusion,
237*8975f5c5SAndroid Build Coastguard Worker     PackOverlappingRowsSeparatelyPackBuffer,
238*8975f5c5SAndroid Build Coastguard Worker     PadBuffersToMaxVertexAttribStride,
239*8975f5c5SAndroid Build Coastguard Worker     PassHighpToPackUnormSnormBuiltins,
240*8975f5c5SAndroid Build Coastguard Worker     PerFrameWindowSizeQuery,
241*8975f5c5SAndroid Build Coastguard Worker     PermanentlySwitchToFramebufferFetchMode,
242*8975f5c5SAndroid Build Coastguard Worker     PersistentlyMappedBuffers,
243*8975f5c5SAndroid Build Coastguard Worker     PreAddTexelFetchOffsets,
244*8975f5c5SAndroid Build Coastguard Worker     PreemptivelyStartProvokingVertexCommandBuffer,
245*8975f5c5SAndroid Build Coastguard Worker     PreferAggregateBarrierCalls,
246*8975f5c5SAndroid Build Coastguard Worker     PreferCachedNoncoherentForDynamicStreamBufferUsage,
247*8975f5c5SAndroid Build Coastguard Worker     PreferCpuForBuffersubdata,
248*8975f5c5SAndroid Build Coastguard Worker     PreferCPUForBufferSubData,
249*8975f5c5SAndroid Build Coastguard Worker     PreferDeviceLocalMemoryHostVisible,
250*8975f5c5SAndroid Build Coastguard Worker     PreferDoubleBufferSwapchainOnFifoMode,
251*8975f5c5SAndroid Build Coastguard Worker     PreferDrawClearOverVkCmdClearAttachments,
252*8975f5c5SAndroid Build Coastguard Worker     PreferDriverUniformOverSpecConst,
253*8975f5c5SAndroid Build Coastguard Worker     PreferDynamicRendering,
254*8975f5c5SAndroid Build Coastguard Worker     PreferHostCachedForNonStaticBufferUsage,
255*8975f5c5SAndroid Build Coastguard Worker     PreferLinearFilterForYUV,
256*8975f5c5SAndroid Build Coastguard Worker     PreferMonolithicPipelinesOverLibraries,
257*8975f5c5SAndroid Build Coastguard Worker     PreferMSRTSSFlagByDefault,
258*8975f5c5SAndroid Build Coastguard Worker     PreferSkippingInvalidateForEmulatedFormats,
259*8975f5c5SAndroid Build Coastguard Worker     PreferSubmitAtFBOBoundary,
260*8975f5c5SAndroid Build Coastguard Worker     PreferSubmitOnAnySamplesPassedQueryEnd,
261*8975f5c5SAndroid Build Coastguard Worker     PreTransformTextureCubeGradDerivatives,
262*8975f5c5SAndroid Build Coastguard Worker     PrintMetalShaders,
263*8975f5c5SAndroid Build Coastguard Worker     PromotePackedFormatsTo8BitPerChannel,
264*8975f5c5SAndroid Build Coastguard Worker     ProvokingVertex,
265*8975f5c5SAndroid Build Coastguard Worker     QueryCounterBitsGeneratesErrors,
266*8975f5c5SAndroid Build Coastguard Worker     ReadPixelsUsingImplementationColorReadFormatForNorm16,
267*8975f5c5SAndroid Build Coastguard Worker     ReapplyUBOBindingsAfterUsingBinaryProgram,
268*8975f5c5SAndroid Build Coastguard Worker     RegenerateStructNames,
269*8975f5c5SAndroid Build Coastguard Worker     RejectWebglShadersWithUndefinedBehavior,
270*8975f5c5SAndroid Build Coastguard Worker     RemoveDynamicIndexingOfSwizzledVector,
271*8975f5c5SAndroid Build Coastguard Worker     RemoveInvariantAndCentroidForESSL3,
272*8975f5c5SAndroid Build Coastguard Worker     RequireGpuFamily2,
273*8975f5c5SAndroid Build Coastguard Worker     RescopeGlobalVariables,
274*8975f5c5SAndroid Build Coastguard Worker     ResetTexImage2DBaseLevel,
275*8975f5c5SAndroid Build Coastguard Worker     ResyncDepthRangeOnClipControl,
276*8975f5c5SAndroid Build Coastguard Worker     RetainSPIRVDebugInfo,
277*8975f5c5SAndroid Build Coastguard Worker     RewriteFloatUnaryMinusOperator,
278*8975f5c5SAndroid Build Coastguard Worker     RewriteRepeatedAssignToSwizzled,
279*8975f5c5SAndroid Build Coastguard Worker     RewriteRowMajorMatrices,
280*8975f5c5SAndroid Build Coastguard Worker     RewriteUnaryMinusOperator,
281*8975f5c5SAndroid Build Coastguard Worker     RGBA4IsNotSupportedForColorRendering,
282*8975f5c5SAndroid Build Coastguard Worker     RGBDXT1TexturesSampleZeroAlpha,
283*8975f5c5SAndroid Build Coastguard Worker     RoundOutputAfterDithering,
284*8975f5c5SAndroid Build Coastguard Worker     SanitizeAMDGPURendererString,
285*8975f5c5SAndroid Build Coastguard Worker     ScalarizeVecAndMatConstructorArgs,
286*8975f5c5SAndroid Build Coastguard Worker     SelectViewInGeometryShader,
287*8975f5c5SAndroid Build Coastguard Worker     SetDataFasterThanImageUpload,
288*8975f5c5SAndroid Build Coastguard Worker     SetPrimitiveRestartFixedIndexForDrawArrays,
289*8975f5c5SAndroid Build Coastguard Worker     SetZeroLevelBeforeGenerateMipmap,
290*8975f5c5SAndroid Build Coastguard Worker     ShiftInstancedArrayDataWithOffset,
291*8975f5c5SAndroid Build Coastguard Worker     SingleThreadedTextureDecompression,
292*8975f5c5SAndroid Build Coastguard Worker     SkipVSConstantRegisterZero,
293*8975f5c5SAndroid Build Coastguard Worker     SlowAsyncCommandQueueForTesting,
294*8975f5c5SAndroid Build Coastguard Worker     SlowDownMonolithicPipelineCreationForTesting,
295*8975f5c5SAndroid Build Coastguard Worker     SrgbBlendingBroken,
296*8975f5c5SAndroid Build Coastguard Worker     Supports16BitInputOutput,
297*8975f5c5SAndroid Build Coastguard Worker     Supports16BitPushConstant,
298*8975f5c5SAndroid Build Coastguard Worker     Supports16BitStorageBuffer,
299*8975f5c5SAndroid Build Coastguard Worker     Supports16BitUniformAndStorageBuffer,
300*8975f5c5SAndroid Build Coastguard Worker     Supports8BitPushConstant,
301*8975f5c5SAndroid Build Coastguard Worker     Supports8BitStorageBuffer,
302*8975f5c5SAndroid Build Coastguard Worker     Supports8BitUniformAndStorageBuffer,
303*8975f5c5SAndroid Build Coastguard Worker     SupportsAndroidHardwareBuffer,
304*8975f5c5SAndroid Build Coastguard Worker     SupportsAndroidNativeFenceSync,
305*8975f5c5SAndroid Build Coastguard Worker     SupportsAstcSliced3d,
306*8975f5c5SAndroid Build Coastguard Worker     SupportsBindMemory2,
307*8975f5c5SAndroid Build Coastguard Worker     SupportsBlendOperationAdvanced,
308*8975f5c5SAndroid Build Coastguard Worker     SupportsBlendOperationAdvancedCoherent,
309*8975f5c5SAndroid Build Coastguard Worker     SupportsColorWriteEnable,
310*8975f5c5SAndroid Build Coastguard Worker     SupportsComputeTranscodeEtcToBc,
311*8975f5c5SAndroid Build Coastguard Worker     SupportsCustomBorderColor,
312*8975f5c5SAndroid Build Coastguard Worker     SupportsDenormFtzFp16,
313*8975f5c5SAndroid Build Coastguard Worker     SupportsDenormFtzFp32,
314*8975f5c5SAndroid Build Coastguard Worker     SupportsDenormFtzFp64,
315*8975f5c5SAndroid Build Coastguard Worker     SupportsDenormPreserveFp16,
316*8975f5c5SAndroid Build Coastguard Worker     SupportsDenormPreserveFp32,
317*8975f5c5SAndroid Build Coastguard Worker     SupportsDenormPreserveFp64,
318*8975f5c5SAndroid Build Coastguard Worker     SupportsDepthClampZeroOne,
319*8975f5c5SAndroid Build Coastguard Worker     SupportsDepthClipControl,
320*8975f5c5SAndroid Build Coastguard Worker     SupportsDepthStencilIndependentResolveNone,
321*8975f5c5SAndroid Build Coastguard Worker     SupportsDepthStencilResolve,
322*8975f5c5SAndroid Build Coastguard Worker     SupportsDynamicRendering,
323*8975f5c5SAndroid Build Coastguard Worker     SupportsDynamicRenderingLocalRead,
324*8975f5c5SAndroid Build Coastguard Worker     SupportsExtendedDynamicState,
325*8975f5c5SAndroid Build Coastguard Worker     SupportsExtendedDynamicState2,
326*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalFenceCapabilities,
327*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalFenceFd,
328*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalFormatResolve,
329*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalMemoryDmaBufAndModifiers,
330*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalMemoryFd,
331*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalMemoryFuchsia,
332*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalMemoryHost,
333*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalSemaphoreCapabilities,
334*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalSemaphoreFd,
335*8975f5c5SAndroid Build Coastguard Worker     SupportsExternalSemaphoreFuchsia,
336*8975f5c5SAndroid Build Coastguard Worker     SupportsFormatFeatureFlags2,
337*8975f5c5SAndroid Build Coastguard Worker     SupportsFoveatedRendering,
338*8975f5c5SAndroid Build Coastguard Worker     SupportsFragmentShaderInterlockARB,
339*8975f5c5SAndroid Build Coastguard Worker     SupportsFragmentShaderInterlockNV,
340*8975f5c5SAndroid Build Coastguard Worker     SupportsFragmentShaderOrderingINTEL,
341*8975f5c5SAndroid Build Coastguard Worker     SupportsFragmentShaderPixelInterlock,
342*8975f5c5SAndroid Build Coastguard Worker     SupportsFragmentShadingRate,
343*8975f5c5SAndroid Build Coastguard Worker     SupportsFullScreenExclusive,
344*8975f5c5SAndroid Build Coastguard Worker     SupportsGeometryStreamsCapability,
345*8975f5c5SAndroid Build Coastguard Worker     SupportsGetMemoryRequirements2,
346*8975f5c5SAndroid Build Coastguard Worker     SupportsGGPFrameToken,
347*8975f5c5SAndroid Build Coastguard Worker     SupportsGraphicsPipelineLibrary,
348*8975f5c5SAndroid Build Coastguard Worker     SupportsHostImageCopy,
349*8975f5c5SAndroid Build Coastguard Worker     SupportsHostQueryReset,
350*8975f5c5SAndroid Build Coastguard Worker     SupportsImage2dViewOf3d,
351*8975f5c5SAndroid Build Coastguard Worker     SupportsImageCompressionControl,
352*8975f5c5SAndroid Build Coastguard Worker     SupportsImageCubeArray,
353*8975f5c5SAndroid Build Coastguard Worker     SupportsImageFormatList,
354*8975f5c5SAndroid Build Coastguard Worker     SupportsImagelessFramebuffer,
355*8975f5c5SAndroid Build Coastguard Worker     SupportsIncrementalPresent,
356*8975f5c5SAndroid Build Coastguard Worker     SupportsIndexTypeUint8,
357*8975f5c5SAndroid Build Coastguard Worker     SupportsLegacyDithering,
358*8975f5c5SAndroid Build Coastguard Worker     SupportsLockSurfaceExtension,
359*8975f5c5SAndroid Build Coastguard Worker     SupportsLogicOpDynamicState,
360*8975f5c5SAndroid Build Coastguard Worker     SupportsMaintenance5,
361*8975f5c5SAndroid Build Coastguard Worker     SupportsMemoryBudget,
362*8975f5c5SAndroid Build Coastguard Worker     SupportsMixedReadWriteDepthStencilLayouts,
363*8975f5c5SAndroid Build Coastguard Worker     SupportsMultiDrawIndirect,
364*8975f5c5SAndroid Build Coastguard Worker     SupportsMultisampledRenderToSingleSampled,
365*8975f5c5SAndroid Build Coastguard Worker     SupportsMultiview,
366*8975f5c5SAndroid Build Coastguard Worker     SupportsNonConstantLoopIndexing,
367*8975f5c5SAndroid Build Coastguard Worker     SupportsPipelineCreationFeedback,
368*8975f5c5SAndroid Build Coastguard Worker     SupportsPipelineProtectedAccess,
369*8975f5c5SAndroid Build Coastguard Worker     SupportsPipelineRobustness,
370*8975f5c5SAndroid Build Coastguard Worker     SupportsPipelineStatisticsQuery,
371*8975f5c5SAndroid Build Coastguard Worker     SupportsPortabilityEnumeration,
372*8975f5c5SAndroid Build Coastguard Worker     SupportsPresentation,
373*8975f5c5SAndroid Build Coastguard Worker     SupportsPrimitivesGeneratedQuery,
374*8975f5c5SAndroid Build Coastguard Worker     SupportsPrimitiveTopologyListRestart,
375*8975f5c5SAndroid Build Coastguard Worker     SupportsProtectedMemory,
376*8975f5c5SAndroid Build Coastguard Worker     SupportsRasterizationOrderAttachmentAccess,
377*8975f5c5SAndroid Build Coastguard Worker     SupportsRenderpass2,
378*8975f5c5SAndroid Build Coastguard Worker     SupportsRenderPassLoadStoreOpNone,
379*8975f5c5SAndroid Build Coastguard Worker     SupportsRenderPassStoreOpNone,
380*8975f5c5SAndroid Build Coastguard Worker     SupportsRoundingModeRteFp16,
381*8975f5c5SAndroid Build Coastguard Worker     SupportsRoundingModeRteFp32,
382*8975f5c5SAndroid Build Coastguard Worker     SupportsRoundingModeRteFp64,
383*8975f5c5SAndroid Build Coastguard Worker     SupportsRoundingModeRtzFp16,
384*8975f5c5SAndroid Build Coastguard Worker     SupportsRoundingModeRtzFp32,
385*8975f5c5SAndroid Build Coastguard Worker     SupportsRoundingModeRtzFp64,
386*8975f5c5SAndroid Build Coastguard Worker     SupportsSampler2dViewOf3d,
387*8975f5c5SAndroid Build Coastguard Worker     SupportsSamplerMirrorClampToEdge,
388*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFloat16,
389*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFloat64,
390*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFramebufferFetch,
391*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFramebufferFetchDepthStencil,
392*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFramebufferFetchEXT,
393*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFramebufferFetchNonCoherent,
394*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderFramebufferFetchNonCoherentEXT,
395*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderInt8,
396*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderNonSemanticInfo,
397*8975f5c5SAndroid Build Coastguard Worker     SupportsShaderStencilExport,
398*8975f5c5SAndroid Build Coastguard Worker     SupportsSharedPresentableImageExtension,
399*8975f5c5SAndroid Build Coastguard Worker     SupportsSignedZeroInfNanPreserveFp16,
400*8975f5c5SAndroid Build Coastguard Worker     SupportsSignedZeroInfNanPreserveFp32,
401*8975f5c5SAndroid Build Coastguard Worker     SupportsSignedZeroInfNanPreserveFp64,
402*8975f5c5SAndroid Build Coastguard Worker     SupportsSPIRV14,
403*8975f5c5SAndroid Build Coastguard Worker     SupportsSurfaceCapabilities2Extension,
404*8975f5c5SAndroid Build Coastguard Worker     SupportsSurfacelessQueryExtension,
405*8975f5c5SAndroid Build Coastguard Worker     SupportsSurfaceMaintenance1,
406*8975f5c5SAndroid Build Coastguard Worker     SupportsSurfaceProtectedCapabilitiesExtension,
407*8975f5c5SAndroid Build Coastguard Worker     SupportsSurfaceProtectedSwapchains,
408*8975f5c5SAndroid Build Coastguard Worker     SupportsSwapchainMaintenance1,
409*8975f5c5SAndroid Build Coastguard Worker     SupportsSynchronization2,
410*8975f5c5SAndroid Build Coastguard Worker     SupportsTextureCompressionAstcHdr,
411*8975f5c5SAndroid Build Coastguard Worker     SupportsTimelineSemaphore,
412*8975f5c5SAndroid Build Coastguard Worker     SupportsTimestampSurfaceAttribute,
413*8975f5c5SAndroid Build Coastguard Worker     SupportsTransformFeedbackExtension,
414*8975f5c5SAndroid Build Coastguard Worker     SupportsVertexInputDynamicState,
415*8975f5c5SAndroid Build Coastguard Worker     SupportsYUVSamplerConversion,
416*8975f5c5SAndroid Build Coastguard Worker     SupportsYuvTarget,
417*8975f5c5SAndroid Build Coastguard Worker     SwapbuffersOnFlushOrFinishWithSingleBuffer,
418*8975f5c5SAndroid Build Coastguard Worker     SyncAllVertexArraysToDefault,
419*8975f5c5SAndroid Build Coastguard Worker     SyncDefaultVertexArraysToDefault,
420*8975f5c5SAndroid Build Coastguard Worker     SyncMonolithicPipelinesToBlobCache,
421*8975f5c5SAndroid Build Coastguard Worker     UnbindFBOBeforeSwitchingContext,
422*8975f5c5SAndroid Build Coastguard Worker     UncurrentEglSurfaceUponSurfaceDestroy,
423*8975f5c5SAndroid Build Coastguard Worker     UnfoldShortCircuits,
424*8975f5c5SAndroid Build Coastguard Worker     UnpackLastRowSeparatelyForPaddingInclusion,
425*8975f5c5SAndroid Build Coastguard Worker     UnpackOverlappingRowsSeparatelyUnpackBuffer,
426*8975f5c5SAndroid Build Coastguard Worker     UnsizedSRGBReadPixelsDoesntTransform,
427*8975f5c5SAndroid Build Coastguard Worker     UploadDataToIosurfacesWithStagingBuffers,
428*8975f5c5SAndroid Build Coastguard Worker     UploadTextureDataInChunks,
429*8975f5c5SAndroid Build Coastguard Worker     UseCullModeDynamicState,
430*8975f5c5SAndroid Build Coastguard Worker     UseDepthBiasEnableDynamicState,
431*8975f5c5SAndroid Build Coastguard Worker     UseDepthCompareOpDynamicState,
432*8975f5c5SAndroid Build Coastguard Worker     UseDepthTestEnableDynamicState,
433*8975f5c5SAndroid Build Coastguard Worker     UseDepthWriteEnableDynamicState,
434*8975f5c5SAndroid Build Coastguard Worker     UseDualPipelineBlobCacheSlots,
435*8975f5c5SAndroid Build Coastguard Worker     UseEmptyBlobsToEraseOldPipelineCacheFromBlobCache,
436*8975f5c5SAndroid Build Coastguard Worker     UseFrontFaceDynamicState,
437*8975f5c5SAndroid Build Coastguard Worker     UseIntermediateTextureForGenerateMipmap,
438*8975f5c5SAndroid Build Coastguard Worker     UseMultipleDescriptorsForExternalFormats,
439*8975f5c5SAndroid Build Coastguard Worker     UseNonZeroStencilWriteMaskStaticState,
440*8975f5c5SAndroid Build Coastguard Worker     UsePrimitiveRestartEnableDynamicState,
441*8975f5c5SAndroid Build Coastguard Worker     UseRasterizerDiscardEnableDynamicState,
442*8975f5c5SAndroid Build Coastguard Worker     UseResetCommandBufferBitForSecondaryPools,
443*8975f5c5SAndroid Build Coastguard Worker     UseShadowBuffersWhenAppropriate,
444*8975f5c5SAndroid Build Coastguard Worker     UseStencilOpDynamicState,
445*8975f5c5SAndroid Build Coastguard Worker     UseStencilTestEnableDynamicState,
446*8975f5c5SAndroid Build Coastguard Worker     UseSystemMemoryForConstantBuffers,
447*8975f5c5SAndroid Build Coastguard Worker     UseUnusedBlocksWithStandardOrSharedLayout,
448*8975f5c5SAndroid Build Coastguard Worker     UseVertexInputBindingStrideDynamicState,
449*8975f5c5SAndroid Build Coastguard Worker     UseVkEventForImageBarrier,
450*8975f5c5SAndroid Build Coastguard Worker     UseVmaForImageSuballocation,
451*8975f5c5SAndroid Build Coastguard Worker     VaryingsRequireMatchingPrecisionInSpirv,
452*8975f5c5SAndroid Build Coastguard Worker     VerifyPipelineCacheInBlobCache,
453*8975f5c5SAndroid Build Coastguard Worker     VertexIDDoesNotIncludeBaseVertex,
454*8975f5c5SAndroid Build Coastguard Worker     WaitIdleBeforeSwapchainRecreation,
455*8975f5c5SAndroid Build Coastguard Worker     WarmUpPipelineCacheAtLink,
456*8975f5c5SAndroid Build Coastguard Worker     WrapSwitchInIfTrue,
457*8975f5c5SAndroid Build Coastguard Worker     WriteHelperSampleMask,
458*8975f5c5SAndroid Build Coastguard Worker     ZeroMaxLodWorkaround,
459*8975f5c5SAndroid Build Coastguard Worker 
460*8975f5c5SAndroid Build Coastguard Worker     InvalidEnum,
461*8975f5c5SAndroid Build Coastguard Worker     EnumCount = InvalidEnum,
462*8975f5c5SAndroid Build Coastguard Worker };
463*8975f5c5SAndroid Build Coastguard Worker 
464*8975f5c5SAndroid Build Coastguard Worker ANGLE_UTIL_EXPORT extern const char *GetFeatureName(Feature feature);
465*8975f5c5SAndroid Build Coastguard Worker 
466*8975f5c5SAndroid Build Coastguard Worker }  // namespace angle
467*8975f5c5SAndroid Build Coastguard Worker 
468*8975f5c5SAndroid Build Coastguard Worker #endif  // ANGLE_SRC_TESTS_TEST_UTIL_AUTOGEN_ANGLE_FEATURES_AUTOGEN_H_
469