Hash :
eeb39653
Author :
Date :
2022-04-08T16:09:48
Autogenerate features Features are now specified in a json file and autogenerated. This is in preparation for more autogeneration to support feature override in tests. This change doesn't yet fix the issues in anglebug.com/6435 and should be a no-op. Bug: angleproject:6435 Change-Id: Icdb63a94dc37b5fef0a356e0fc0b49937e083c8a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3579941 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Jamie Madill <jmadill@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 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
{
"description": [
"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.",
"",
"d3d_features.json: Features and workarounds for D3D driver bugs and other issues."
],
"features": [
{
"name": "mrtPerfWorkaround",
"display_name": "mrt_perf_workaround",
"category": "Workarounds",
"description": [
"Some drivers have a bug where they ignore null render targets"
]
},
{
"name": "setDataFasterThanImageUpload",
"display_name": "set_data_faster_than_image_upload",
"category": "Workarounds",
"description": [
"Set data faster than image upload"
]
},
{
"name": "zeroMaxLodWorkaround",
"display_name": "zero_max_lod",
"category": "Workarounds",
"description": [
"Missing an option to disable mipmaps on a mipmapped texture"
]
},
{
"name": "useInstancedPointSpriteEmulation",
"display_name": "use_instanced_point_sprite_emulation",
"category": "Workarounds",
"description": [
"Some D3D11 renderers do not support geometry shaders for pointsprite emulation"
]
},
{
"name": "depthStencilBlitExtraCopy",
"display_name": "depth_stencil_blit_extra_copy",
"category": "Workarounds",
"description": [
"Bug in some drivers triggers a TDR when using CopySubresourceRegion from a staging ",
"texture to a depth/stencil"
],
"issue": "http://anglebug.com/1452"
},
{
"name": "expandIntegerPowExpressions",
"display_name": "expand_integer_pow_expressions",
"category": "Workarounds",
"description": [
"The HLSL optimizer has a bug with optimizing 'pow' in certain integer-valued expressions"
]
},
{
"name": "flushAfterEndingTransformFeedback",
"display_name": "flush_after_ending_transform_feedback",
"category": "Workarounds",
"description": [
"Some drivers sometimes write out-of-order results to StreamOut buffers when transform ",
"feedback is used to repeatedly write to the same buffer positions"
]
},
{
"name": "getDimensionsIgnoresBaseLevel",
"display_name": "get_dimensions_ignores_base_level",
"category": "Workarounds",
"description": [
"Some drivers do not take into account the base level of the ",
"texture in the results of the HLSL GetDimensions builtin"
]
},
{
"name": "preAddTexelFetchOffsets",
"display_name": "pre_add_texel_fetch_offsets",
"category": "Workarounds",
"description": [
"HLSL's function texture.Load returns 0 when the parameter Location is negative, even if ",
"the sum of Offset and Location is in range"
]
},
{
"name": "emulateTinyStencilTextures",
"display_name": "emulate_tiny_stencil_textures",
"category": "Workarounds",
"description": [
"1x1 and 2x2 mips of depth/stencil textures aren't sampled correctly"
]
},
{
"name": "disableB5G6R5Support",
"display_name": "disable_b5g6r5_support",
"category": "Workarounds",
"description": [
"Textures with the format ",
"DXGI_FORMAT_B5G6R5_UNORM have incorrect data"
]
},
{
"name": "rewriteUnaryMinusOperator",
"display_name": "rewrite_unary_minus_operator",
"category": "Workarounds",
"description": [
"Evaluating unary minus operator on integer may get wrong answer in vertex shaders"
]
},
{
"name": "emulateIsnanFloat",
"display_name": "emulate_isnan_float",
"category": "Workarounds",
"description": [
"Using isnan() on highp float will get wrong answer"
],
"issue": "https://crbug.com/650547"
},
{
"name": "callClearTwice",
"display_name": "call_clear_twice",
"category": "Workarounds",
"description": [
"Using clear() may not take effect"
],
"issue": "https://crbug.com/655534"
},
{
"name": "useSystemMemoryForConstantBuffers",
"display_name": "use_system_memory_for_constant_buffers",
"category": "Workarounds",
"description": [
"Copying from staging storage to constant buffer ",
"storage does not work"
],
"issue": "https://crbug.com/593024"
},
{
"name": "selectViewInGeometryShader",
"display_name": "select_view_in_geometry_shader",
"category": "Workarounds",
"description": [
"The viewport or render target slice will be selected in the geometry shader stage for ",
"the ANGLE_multiview extension"
]
},
{
"name": "addMockTextureNoRenderTarget",
"display_name": "add_mock_texture_no_render_target",
"category": "Workarounds",
"description": [
"On some drivers when rendering with no render target, two bugs lead to incorrect behavior"
],
"issue": "http://anglebug.com/2152"
},
{
"name": "skipVSConstantRegisterZero",
"display_name": "skip_vs_constant_register_zero",
"category": "Workarounds",
"description": [
"In specific cases the driver doesn't handle constant register zero correctly"
]
},
{
"name": "forceAtomicValueResolution",
"display_name": "force_atomic_value_resolution",
"category": "Workarounds",
"description": [
"On some drivers the return value from RWByteAddressBuffer.InterlockedAdd does not resolve ",
"when used in the .yzw components of a RWByteAddressBuffer.Store operation"
],
"issue": "http://anglebug.com/3246"
},
{
"name": "allowClearForRobustResourceInit",
"display_name": "allow_clear_for_robust_resource_init",
"category": "Workarounds",
"description": [
"Some drivers corrupt texture data when clearing for robust resource initialization."
],
"issue": "http://crbug.com/941620"
},
{
"name": "allowTranslateUniformBlockToStructuredBuffer",
"display_name": "allow_translate_uniform_block_to_structured_buffer",
"category": "Workarounds",
"description": [
"There is a slow fxc compile performance issue with dynamic uniform indexing if ",
"translating a uniform block with a large array member to cbuffer."
],
"issue": "http://anglebug.com/3682"
},
{
"name": "allowES3OnFL10_0",
"display_name": "allowES3OnFL10_0",
"category": "Workarounds",
"description": [
"Allow ES3 on 10.0 devices"
]
}
]
}