Hash :
3fdf576a
Author :
Date :
2024-01-26T14:37:42
Vulkan: Workaround Nvidia driver bug with OpSelect Bug: angleproject:8503 Change-Id: I4bd2580056df3d970a1316d0dbeaaad7590aa947 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5237873 Reviewed-by: Yuxin Hu <yuxinhu@google.com> Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Yuxin Hu <yuxinhu@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 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 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_features.py using data from vk_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.
//
// FeaturesVk_autogen.h: Optional features for the Vulkan renderer.
#ifndef ANGLE_PLATFORM_AUTOGEN_FEATURESVK_H_
#define ANGLE_PLATFORM_AUTOGEN_FEATURESVK_H_
#include "platform/Feature.h"
namespace angle
{
struct FeaturesVk : FeatureSetBase
{
FeaturesVk();
~FeaturesVk();
FeatureInfo appendAliasedMemoryDecorations = {
"appendAliasedMemoryDecorations",
FeatureCategory::VulkanWorkarounds,
"Append aliased memory decoration to ssbo and image in SpirV if they are not declared with restrict memory qualifier in GLSL",
&members, "b/266235549"
};
FeatureInfo bresenhamLineRasterization = {
"bresenhamLineRasterization",
FeatureCategory::VulkanFeatures,
"Enable Bresenham line rasterization via VK_EXT_line_rasterization extension",
&members,
};
FeatureInfo provokingVertex = {
"provokingVertex",
FeatureCategory::VulkanFeatures,
"Enable provoking vertex mode via VK_EXT_provoking_vertex extension",
&members,
};
FeatureInfo forceFallbackFormat = {
"forceFallbackFormat",
FeatureCategory::VulkanWorkarounds,
"Force a fallback format for angle_end2end_tests",
&members,
};
FeatureInfo clampPointSize = {
"clampPointSize",
FeatureCategory::VulkanWorkarounds,
"The point size range reported from the API is inconsistent with the actual behavior",
&members, "http://anglebug.com/2970"
};
FeatureInfo supportsDepthClipEnable = {
"supportsDepthClipEnable",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_depth_clip_enable extension.",
&members, "http://anglebug.com/3970"
};
FeatureInfo supportsDepthClampZeroOne = {
"supportsDepthClampZeroOne",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_depth_clamp_zero_one extension",
&members, "http://anglebug.com/3970"
};
FeatureInfo clampFragDepth = {
"clampFragDepth",
FeatureCategory::VulkanWorkarounds,
"gl_FragDepth is not clamped when rendering to a floating point depth buffer without VK_EXT_depth_clamp_zero_one",
&members, "http://anglebug.com/3970"
};
FeatureInfo mutableMipmapTextureUpload = {
"mutableMipmapTextureUpload",
FeatureCategory::VulkanFeatures,
"Enable uploading the previously defined mutable mipmap texture.",
&members, "https://anglebug.com/7308"
};
FeatureInfo useVmaForImageSuballocation = {
"useVmaForImageSuballocation",
FeatureCategory::VulkanFeatures,
"Utilize VMA for image memory suballocation.",
&members,
};
FeatureInfo supportsMemoryBudget = {
"supportsMemoryBudget",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_memory_budget extension.",
&members,
};
FeatureInfo supportsRenderpass2 = {
"supportsRenderpass2",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_create_renderpass2 extension",
&members,
};
FeatureInfo supportsIncrementalPresent = {
"supportsIncrementalPresent",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_incremental_present extension",
&members,
};
FeatureInfo supportsAndroidHardwareBuffer = {
"supportsAndroidHardwareBuffer",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_ANDROID_external_memory_android_hardware_buffer extension",
&members,
};
FeatureInfo supportsGGPFrameToken = {
"supportsGGPFrameToken",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_GGP_frame_token extension",
&members,
};
FeatureInfo supportsExternalMemoryFd = {
"supportsExternalMemoryFd",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_external_memory_fd extension",
&members,
};
FeatureInfo supportsExternalMemoryFuchsia = {
"supportsExternalMemoryFuchsia",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_FUCHSIA_external_memory extension",
&members,
};
FeatureInfo supportsExternalFenceCapabilities = {
"supportsExternalFenceCapabilities",
FeatureCategory::VulkanFeatures,
"VkInstance supports the VK_KHR_external_fence_capabilities extension",
&members,
};
FeatureInfo supportsExternalSemaphoreCapabilities = {
"supportsExternalSemaphoreCapabilities",
FeatureCategory::VulkanFeatures,
"VkInstance supports the VK_KHR_external_semaphore_capabilities extension",
&members,
};
FeatureInfo supportsExternalSemaphoreFd = {
"supportsExternalSemaphoreFd",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_external_semaphore_fd extension",
&members,
};
FeatureInfo supportsExternalSemaphoreFuchsia = {
"supportsExternalSemaphoreFuchsia",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_FUCHSIA_external_semaphore extension",
&members,
};
FeatureInfo supportsExternalFenceFd = {
"supportsExternalFenceFd",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_external_fence_fd extension",
&members, "http://anglebug.com/2517"
};
FeatureInfo supportsAndroidNativeFenceSync = {
"supportsAndroidNativeFenceSync",
FeatureCategory::VulkanFeatures,
"VkDevice supports the EGL_ANDROID_native_fence_sync extension",
&members, "http://anglebug.com/2517"
};
FeatureInfo supportsImageCubeArray = {
"supportsImageCubeArray",
FeatureCategory::VulkanFeatures,
"VkDevice supports the imageCubeArray feature properly",
&members, "http://anglebug.com/3584"
};
FeatureInfo supportsPipelineStatisticsQuery = {
"supportsPipelineStatisticsQuery",
FeatureCategory::VulkanFeatures,
"VkDevice supports the pipelineStatisticsQuery feature",
&members, "http://anglebug.com/5430"
};
FeatureInfo supportsShaderStencilExport = {
"supportsShaderStencilExport",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_shader_stencil_export extension",
&members,
};
FeatureInfo supportsYUVSamplerConversion = {
"supportsYUVSamplerConversion",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_sampler_ycbcr_conversion extension",
&members,
};
FeatureInfo emulateTransformFeedback = {
"emulateTransformFeedback",
FeatureCategory::VulkanFeatures,
"Emulate transform feedback as the VK_EXT_transform_feedback is not present.",
&members, "http://anglebug.com/3205"
};
FeatureInfo supportsTransformFeedbackExtension = {
"supportsTransformFeedbackExtension",
FeatureCategory::VulkanFeatures,
"Transform feedback uses the VK_EXT_transform_feedback extension.",
&members, "http://anglebug.com/3206"
};
FeatureInfo supportsGeometryStreamsCapability = {
"supportsGeometryStreamsCapability",
FeatureCategory::VulkanFeatures,
"Implementation supports the GeometryStreams SPIR-V capability.",
&members, "http://anglebug.com/3206"
};
FeatureInfo supportsIndexTypeUint8 = {
"supportsIndexTypeUint8",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_index_type_uint8 extension",
&members, "http://anglebug.com/4405"
};
FeatureInfo supportsCustomBorderColor = {
"supportsCustomBorderColor",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_custom_border_color extension",
&members, "http://anglebug.com/3577"
};
FeatureInfo supportsMultiDrawIndirect = {
"supportsMultiDrawIndirect",
FeatureCategory::VulkanFeatures,
"VkDevice supports the multiDrawIndirect extension",
&members, "http://anglebug.com/6439"
};
FeatureInfo supportsDepthStencilResolve = {
"supportsDepthStencilResolve",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_depth_stencil_resolve "
"extension with the independentResolveNone feature",
&members, "http://anglebug.com/4836"
};
FeatureInfo supportsMultisampledRenderToSingleSampledGOOGLEX = {
"supportsMultisampledRenderToSingleSampledGOOGLEX",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_GOOGLEX_multisampled_render_to_single_sampled extension",
&members, "http://anglebug.com/4836"
};
FeatureInfo supportsMultisampledRenderToSingleSampled = {
"supportsMultisampledRenderToSingleSampled",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_multisampled_render_to_single_sampled extension",
&members, "http://anglebug.com/4836"
};
FeatureInfo supportsMultiview = {
"supportsMultiview",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_multiview extension",
&members, "http://anglebug.com/6048"
};
FeatureInfo forceD16TexFilter = {
"forceD16TexFilter",
FeatureCategory::VulkanWorkarounds,
"VK_FORMAT_D16_UNORM does not support VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT, "
"which prevents OES_depth_texture from being supported.",
&members, "http://anglebug.com/3452"
};
FeatureInfo disableFlippingBlitWithCommand = {
"disableFlippingBlitWithCommand",
FeatureCategory::VulkanWorkarounds,
"vkCmdBlitImage with flipped coordinates blits incorrectly.",
&members, "http://anglebug.com/3498"
};
FeatureInfo perFrameWindowSizeQuery = {
"perFrameWindowSizeQuery",
FeatureCategory::VulkanWorkarounds,
"Vulkan swapchain is not returning VK_ERROR_OUT_OF_DATE when window resizing",
&members, "http://anglebug.com/3623, http://anglebug.com/3624, http://anglebug.com/3625"
};
FeatureInfo padBuffersToMaxVertexAttribStride = {
"padBuffersToMaxVertexAttribStride",
FeatureCategory::VulkanWorkarounds,
"Vulkan considers vertex attribute accesses to count up to the last multiple of the "
"stride. This additional access supports AMD's robust buffer access implementation. "
"AMDVLK in particular will return incorrect values when the vertex access extends into "
"the range that would be the stride padding and the buffer is too small. "
"This workaround limits GL_MAX_VERTEX_ATTRIB_STRIDE to a maximum value and "
"pads up every buffer allocation size to be a multiple of the maximum stride.",
&members, "http://anglebug.com/4428"
};
FeatureInfo supportsExternalMemoryDmaBufAndModifiers = {
"supportsExternalMemoryDmaBufAndModifiers",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_external_memory_dma_buf and VK_EXT_image_drm_format_modifier "
"extensions",
&members, "http://anglebug.com/6248"
};
FeatureInfo supportsExternalMemoryHost = {
"supportsExternalMemoryHost",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_external_memory_host extension",
&members,
};
FeatureInfo allocateNonZeroMemory = {
"allocateNonZeroMemory",
FeatureCategory::VulkanFeatures,
"Fill new allocations with non-zero values to flush out errors.",
&members, "http://anglebug.com/4384"
};
FeatureInfo logMemoryReportCallbacks = {
"logMemoryReportCallbacks",
FeatureCategory::VulkanFeatures,
"Log each callback from VK_EXT_device_memory_report",
&members,
};
FeatureInfo logMemoryReportStats = {
"logMemoryReportStats",
FeatureCategory::VulkanFeatures,
"Log stats from VK_EXT_device_memory_report each swap",
&members,
};
FeatureInfo preferCPUForBufferSubData = {
"preferCPUForBufferSubData",
FeatureCategory::VulkanFeatures,
"Prefer use CPU to do bufferSubData instead of staged update.",
&members, "http://issuetracker.google.com/200067929"
};
FeatureInfo persistentlyMappedBuffers = {
"persistentlyMappedBuffers",
FeatureCategory::VulkanFeatures,
"Persistently map buffer memory to reduce map/unmap IOCTL overhead.",
&members, "http://anglebug.com/2162"
};
FeatureInfo enablePreRotateSurfaces = {
"enablePreRotateSurfaces",
FeatureCategory::VulkanFeatures,
"Enable Android pre-rotation for landscape applications",
&members, "http://anglebug.com/3502"
};
FeatureInfo enablePrecisionQualifiers = {
"enablePrecisionQualifiers",
FeatureCategory::VulkanFeatures,
"Enable precision qualifiers in shaders",
&members, "http://anglebug.com/3078"
};
FeatureInfo varyingsRequireMatchingPrecisionInSpirv = {
"varyingsRequireMatchingPrecisionInSpirv",
FeatureCategory::VulkanWorkarounds,
"Add additional SPIRV instructions to make sure precision "
"between shader stages match with each other",
&members, "http://anglebug.com/7488"
};
FeatureInfo preferAggregateBarrierCalls = {
"preferAggregateBarrierCalls",
FeatureCategory::VulkanWorkarounds,
"Single barrier call is preferred over multiple calls with "
"fine grained pipeline stage dependency information",
&members, "http://anglebug.com/4633"
};
FeatureInfo preferSkippingInvalidateForEmulatedFormats = {
"preferSkippingInvalidateForEmulatedFormats",
FeatureCategory::VulkanWorkarounds,
"Skipping invalidate is preferred for emulated formats that have extra channels over "
"re-clearing the image",
&members, "http://anglebug.com/6860"
};
FeatureInfo asyncCommandQueue = {
"asyncCommandQueue",
FeatureCategory::VulkanFeatures,
"Use CommandQueue worker thread to dispatch work to GPU.",
&members, "http://anglebug.com/4324"
};
FeatureInfo slowAsyncCommandQueueForTesting = {
"slowAsyncCommandQueueForTesting",
FeatureCategory::VulkanWorkarounds,
"Artificially slow down async command queue for threading testing",
&members, "https://anglebug.com/6574"
};
FeatureInfo supportsShaderFloat16 = {
"supportsShaderFloat16",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_shader_float16_int8 extension "
"and has the shaderFloat16 feature",
&members, "http://anglebug.com/4551"
};
FeatureInfo allowGenerateMipmapWithCompute = {
"allowGenerateMipmapWithCompute",
FeatureCategory::VulkanFeatures,
"Use the compute path to generate mipmaps on devices that meet the minimum requirements, "
"and the performance is better.",
&members, "http://anglebug.com/4551"
};
FeatureInfo supportsRenderPassStoreOpNone = {
"supportsRenderPassStoreOpNone",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_QCOM_render_pass_store_ops extension.",
&members, "http://anglebug.com/5055"
};
FeatureInfo supportsRenderPassLoadStoreOpNone = {
"supportsRenderPassLoadStoreOpNone",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_load_store_op_none extension.",
&members, "http://anglebug.com/5371"
};
FeatureInfo disallowMixedDepthStencilLoadOpNoneAndLoad = {
"disallowMixedDepthStencilLoadOpNoneAndLoad",
FeatureCategory::VulkanWorkarounds,
"Disallow use of LOAD_OP_NONE for only one of the depth or stencil aspects of a "
"depth/stencil attachment",
&members, "http://anglebug.com/7370"
};
FeatureInfo supportsDepthClipControl = {
"supportsDepthClipControl",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_depth_clip_control extension.",
&members, "http://anglebug.com/5421"
};
FeatureInfo supportsPrimitiveTopologyListRestart = {
"supportsPrimitiveTopologyListRestart",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_primitive_topology_list_restart extension.",
&members, "http://anglebug.com/3832"
};
FeatureInfo supportsBlendOperationAdvanced = {
"supportsBlendOperationAdvanced",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_blend_operation_advanced extension.",
&members, "http://anglebug.com/3586"
};
FeatureInfo forceMaxUniformBufferSize16KB = {
"forceMaxUniformBufferSize16KB",
FeatureCategory::VulkanWorkarounds,
"Force max uniform buffer size to 16K on some device due to bug",
&members, "https://issuetracker.google.com/161903006"
};
FeatureInfo supportsImageFormatList = {
"supportsImageFormatList",
FeatureCategory::VulkanFeatures,
"Enable VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT by default for ICDs "
"that support VK_KHR_image_format_list",
&members, "http://anglebug.com/5281"
};
FeatureInfo allowMultisampledRenderToTextureEmulation = {
"allowMultisampledRenderToTextureEmulation",
FeatureCategory::VulkanWorkarounds,
"Allow emulation of EXT_multisampled_render_to_texture",
&members, "http://anglebug.com/8291"
};
FeatureInfo enableMultisampledRenderToTexture = {
"enableMultisampledRenderToTexture",
FeatureCategory::VulkanWorkarounds,
"Expose EXT_multisampled_render_to_texture",
&members, "http://anglebug.com/4937"
};
FeatureInfo deferFlushUntilEndRenderPass = {
"deferFlushUntilEndRenderPass",
FeatureCategory::VulkanWorkarounds,
"Allow glFlush to be deferred until renderpass ends",
&members, "https://issuetracker.google.com/issues/166475273"
};
FeatureInfo waitIdleBeforeSwapchainRecreation = {
"waitIdleBeforeSwapchainRecreation",
FeatureCategory::VulkanWorkarounds,
"Before passing an oldSwapchain to VkSwapchainCreateInfoKHR, wait for queue to be idle. "
"Works around a bug on platforms which destroy oldSwapchain in vkCreateSwapchainKHR.",
&members, "http://anglebug.com/5061"
};
FeatureInfo forceTextureLodOffset1 = {
"forceTextureLodOffset1",
FeatureCategory::VulkanWorkarounds,
"Increase the minimum texture level-of-detail by 1 when sampling.",
&members,
};
FeatureInfo forceTextureLodOffset2 = {
"forceTextureLodOffset2",
FeatureCategory::VulkanWorkarounds,
"Increase the minimum texture level-of-detail by 2 when sampling.",
&members,
};
FeatureInfo forceTextureLodOffset3 = {
"forceTextureLodOffset3",
FeatureCategory::VulkanWorkarounds,
"Increase the minimum texture level-of-detail by 3 when sampling.",
&members,
};
FeatureInfo forceTextureLodOffset4 = {
"forceTextureLodOffset4",
FeatureCategory::VulkanWorkarounds,
"Increase the minimum texture level-of-detail by 4 when sampling.",
&members,
};
FeatureInfo forceNearestFiltering = {
"forceNearestFiltering",
FeatureCategory::VulkanWorkarounds,
"Force nearest filtering when sampling.",
&members,
};
FeatureInfo forceNearestMipFiltering = {
"forceNearestMipFiltering",
FeatureCategory::VulkanWorkarounds,
"Force nearest mip filtering when sampling.",
&members,
};
FeatureInfo compressVertexData = {
"compressVertexData",
FeatureCategory::VulkanWorkarounds,
"Compress vertex data to smaller data types when "
"possible. Using this feature makes ANGLE non-conformant.",
&members,
};
FeatureInfo preferDrawClearOverVkCmdClearAttachments = {
"preferDrawClearOverVkCmdClearAttachments",
FeatureCategory::VulkanWorkarounds,
"On some hardware, clear using a draw call instead of vkCmdClearAttachments in the middle "
"of render pass due to bugs",
&members, "https://issuetracker.google.com/166809097"
};
FeatureInfo emulatedPrerotation90 = {
"emulatedPrerotation90",
FeatureCategory::VulkanFeatures,
"Emulate 90-degree prerotation.",
&members, "http://anglebug.com/4901"
};
FeatureInfo emulatedPrerotation180 = {
"emulatedPrerotation180",
FeatureCategory::VulkanFeatures,
"Emulate 180-degree prerotation.",
&members, "http://anglebug.com/4901"
};
FeatureInfo emulatedPrerotation270 = {
"emulatedPrerotation270",
FeatureCategory::VulkanFeatures,
"Emulate 270-degree prerotation.",
&members, "http://anglebug.com/4901"
};
FeatureInfo preferDriverUniformOverSpecConst = {
"preferDriverUniformOverSpecConst",
FeatureCategory::VulkanFeatures,
"Prefer using driver uniforms instead of specialization constants.",
&members, "http://anglebug.com/7406"
};
FeatureInfo exposeNonConformantExtensionsAndVersions = {
"exposeNonConformantExtensionsAndVersions",
FeatureCategory::VulkanWorkarounds,
"Expose GLES versions and extensions that are not conformant.",
&members, "http://anglebug.com/5375"
};
FeatureInfo emulateR32fImageAtomicExchange = {
"emulateR32fImageAtomicExchange",
FeatureCategory::VulkanWorkarounds,
"Emulate r32f images with r32ui to support imageAtomicExchange.",
&members, "http://anglebug.com/5535"
};
FeatureInfo forceFragmentShaderPrecisionHighpToMediump = {
"forceFragmentShaderPrecisionHighpToMediump",
FeatureCategory::VulkanWorkarounds,
"Forces highp precision in fragment shader to mediump.",
&members, "https://issuetracker.google.com/184850002"
};
FeatureInfo preferSubmitAtFBOBoundary = {
"preferSubmitAtFBOBoundary",
FeatureCategory::VulkanWorkarounds,
"Submit commands to driver at each FBO boundary for performance improvements.",
&members, "https://issuetracker.google.com/187425444"
};
FeatureInfo useMultipleDescriptorsForExternalFormats = {
"useMultipleDescriptorsForExternalFormats",
FeatureCategory::VulkanWorkarounds,
"Return a default descriptor count for external formats.",
&members, "http://anglebug.com/6141"
};
FeatureInfo supportsProtectedMemory = {
"supportsProtectedMemory",
FeatureCategory::VulkanFeatures,
"VkDevice supports protected memory",
&members, "http://anglebug.com/3965"
};
FeatureInfo supportsHostQueryReset = {
"supportsHostQueryReset",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_host_query_reset extension",
&members, "http://anglebug.com/6692"
};
FeatureInfo supportsPipelineCreationCacheControl = {
"supportsPipelineCreationCacheControl",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_pipeline_creation_cache_control extension",
&members, "http://anglebug.com/5881"
};
FeatureInfo supportsPipelineCreationFeedback = {
"supportsPipelineCreationFeedback",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_pipeline_creation_feedback extension",
&members, "http://anglebug.com/5881"
};
FeatureInfo supportsPrimitivesGeneratedQuery = {
"supportsPrimitivesGeneratedQuery",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_primitives_generated_query extension",
&members, "http://anglebug.com/5430"
};
FeatureInfo supportsSurfaceCapabilities2Extension = {
"supportsSurfaceCapabilities2Extension",
FeatureCategory::VulkanFeatures,
"VkInstance supports the VK_KHR_get_surface_capabilities2 extension",
&members,
};
FeatureInfo supportsSurfaceProtectedCapabilitiesExtension = {
"supportsSurfaceProtectedCapabilitiesExtension",
FeatureCategory::VulkanFeatures,
"VkInstance supports the VK_KHR_surface_protected_capabilities extension",
&members,
};
FeatureInfo supportsSurfacelessQueryExtension = {
"supportsSurfacelessQueryExtension",
FeatureCategory::VulkanFeatures,
"VkInstance supports the VK_GOOGLE_surfaceless_query extension",
&members,
};
FeatureInfo supportsSurfaceProtectedSwapchains = {
"supportsSurfaceProtectedSwapchains",
FeatureCategory::VulkanFeatures,
"VkSurface supportsProtected for protected swapchains",
&members,
};
FeatureInfo overrideSurfaceFormatRGB8ToRGBA8 = {
"overrideSurfaceFormatRGB8ToRGBA8",
FeatureCategory::VulkanWorkarounds,
"Override surface format GL_RGB8 to GL_RGBA8",
&members, "http://anglebug.com/6651"
};
FeatureInfo supportsSharedPresentableImageExtension = {
"supportsSharedPresentableImageExtension",
FeatureCategory::VulkanFeatures,
"VkSurface supports the VK_KHR_shared_presentable_images extension",
&members,
};
FeatureInfo supportsShaderFramebufferFetch = {
"supportsShaderFramebufferFetch",
FeatureCategory::VulkanFeatures,
"Whether the Vulkan backend supports coherent framebuffer fetch",
&members,
};
FeatureInfo supportsShaderFramebufferFetchNonCoherent = {
"supportsShaderFramebufferFetchNonCoherent",
FeatureCategory::VulkanFeatures,
"Whether the Vulkan backend supports non-coherent framebuffer fetch",
&members,
};
FeatureInfo permanentlySwitchToFramebufferFetchMode = {
"permanentlySwitchToFramebufferFetchMode",
FeatureCategory::VulkanFeatures,
"Whether the context should permanently switch to framebuffer fetch mode on first "
"encounter",
&members,
};
FeatureInfo supportsLockSurfaceExtension = {
"supportsLockSurfaceExtension",
FeatureCategory::VulkanFeatures,
"Surface supports the EGL_KHR_lock_surface3 extension",
&members,
};
FeatureInfo swapbuffersOnFlushOrFinishWithSingleBuffer = {
"swapbuffersOnFlushOrFinishWithSingleBuffer",
FeatureCategory::VulkanFeatures,
"Bypass deferredFlush with calling swapbuffers on flush or finish when in Shared "
"Present mode",
&members, "http://anglebug.com/6878"
};
FeatureInfo emulateDithering = {
"emulateDithering",
FeatureCategory::VulkanFeatures,
"Emulate OpenGL dithering",
&members, "http://anglebug.com/6755"
};
FeatureInfo roundOutputAfterDithering = {
"roundOutputAfterDithering",
FeatureCategory::VulkanWorkarounds,
"Round output after dithering to workaround a driver bug that rounds the output up",
&members, "http://anglebug.com/6953"
};
FeatureInfo adjustClearColorPrecision = {
"adjustClearColorPrecision",
FeatureCategory::VulkanWorkarounds,
"Adjust normalized clear color precision based on framebuffer color channel bits count",
&members, "https://issuetracker.google.com/292282210"
};
FeatureInfo emulateAdvancedBlendEquations = {
"emulateAdvancedBlendEquations",
FeatureCategory::VulkanFeatures,
"Emulate GL_KHR_blend_equation_advanced",
&members, "http://anglebug.com/3586"
};
FeatureInfo doubleDepthBiasConstantFactor = {
"doubleDepthBiasConstantFactor",
FeatureCategory::VulkanWorkarounds,
"Due to a Vulkan spec ambiguity, some drivers interpret depthBiasConstantFactor as half "
"the expected value",
&members,
};
FeatureInfo bottomLeftOriginPresentRegionRectangles = {
"bottomLeftOriginPresentRegionRectangles",
FeatureCategory::VulkanWorkarounds,
"On some platforms present region rectangles are expected to have a bottom-left origin, "
"instead of top-left origin as from spec",
&members,
};
FeatureInfo forceSubmitImmutableTextureUpdates = {
"forceSubmitImmutableTextureUpdates",
FeatureCategory::VulkanAppWorkarounds,
"Force submit updates to immutable textures",
&members, "http://anglebug.com/6929"
};
FeatureInfo retainSPIRVDebugInfo = {
"retainSPIRVDebugInfo",
FeatureCategory::VulkanFeatures,
"Retain debug info in SPIR-V blob.",
&members, "http://anglebug.com/5901"
};
FeatureInfo warmUpPipelineCacheAtLink = {
"warmUpPipelineCacheAtLink",
FeatureCategory::VulkanFeatures,
"Warm up the Vulkan pipeline cache at link time",
&members, "http://anglebug.com/5881"
};
FeatureInfo preferDeviceLocalMemoryHostVisible = {
"preferDeviceLocalMemoryHostVisible",
FeatureCategory::VulkanFeatures,
"Prefer adding HOST_VISIBLE flag for DEVICE_LOCAL memory when picking memory types",
&members, "http://anglebug.com/7047"
};
FeatureInfo supportsExtendedDynamicState = {
"supportsExtendedDynamicState",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_extended_dynamic_state extension",
&members, "http://anglebug.com/5906"
};
FeatureInfo useVertexInputBindingStrideDynamicState = {
"useVertexInputBindingStrideDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Vertex Input Bininding Stride dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useCullModeDynamicState = {
"useCullModeDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Cull Mode dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useFrontFaceDynamicState = {
"useFrontFaceDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Front Face dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useDepthTestEnableDynamicState = {
"useDepthTestEnableDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Depth Test Enable dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useDepthWriteEnableDynamicState = {
"useDepthWriteEnableDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Depth Write Enable dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useDepthCompareOpDynamicState = {
"useDepthCompareOpDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Depth Compare Op dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useStencilTestEnableDynamicState = {
"useStencilTestEnableDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Stencil Test Enable dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo useStencilOpDynamicState = {
"useStencilOpDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Stencil Op dynamic state from VK_EXT_extended_dynamic_state",
&members, "http://anglebug.com/5906"
};
FeatureInfo supportsExtendedDynamicState2 = {
"supportsExtendedDynamicState2",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_extended_dynamic_state2 extension",
&members, "http://anglebug.com/5906"
};
FeatureInfo usePrimitiveRestartEnableDynamicState = {
"usePrimitiveRestartEnableDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Primitive Restart Enable dynamic state from VK_EXT_extended_dynamic_state2",
&members, "http://anglebug.com/5906"
};
FeatureInfo useRasterizerDiscardEnableDynamicState = {
"useRasterizerDiscardEnableDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Rasterizer Discard Enable dynamic state from VK_EXT_extended_dynamic_state2",
&members, "http://anglebug.com/5906"
};
FeatureInfo useDepthBiasEnableDynamicState = {
"useDepthBiasEnableDynamicState",
FeatureCategory::VulkanWorkarounds,
"Use the Depth Bias Enable dynamic state from VK_EXT_extended_dynamic_state2",
&members, "http://anglebug.com/5906"
};
FeatureInfo supportsLogicOpDynamicState = {
"supportsLogicOpDynamicState",
FeatureCategory::VulkanFeatures,
"VkDevice supports the logicOp feature of VK_EXT_extended_dynamic_state2 extension",
&members, "http://anglebug.com/3862"
};
FeatureInfo supportsFragmentShadingRate = {
"supportsFragmentShadingRate",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_KHR_fragment_shading_rate extension",
&members, "http://anglebug.com/7172"
};
FeatureInfo supportsFragmentShaderPixelInterlock = {
"supportsFragmentShaderPixelInterlock",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_fragment_shader_interlock extension "
"and has the fragmentShaderPixelInterlock feature",
&members,
};
FeatureInfo explicitlyEnablePerSampleShading = {
"explicitlyEnablePerSampleShading",
FeatureCategory::VulkanWorkarounds,
"Explicitly enable per-sample shading if the fragment shader contains the "
"sample qualifier",
&members, "http://anglebug.com/6876"
};
FeatureInfo explicitlyCastMediumpFloatTo16Bit = {
"explicitlyCastMediumpFloatTo16Bit",
FeatureCategory::VulkanWorkarounds,
"Explicitly cast mediump floating point values to 16 bit",
&members, "https://issuetracker.google.com/274859104"
};
FeatureInfo forceContinuousRefreshOnSharedPresent = {
"forceContinuousRefreshOnSharedPresent",
FeatureCategory::VulkanFeatures,
"Force to create vulkan swapchain with continuous refresh on shared present",
&members, "https://issuetracker.google.com/229267970"
};
FeatureInfo supportsImage2dViewOf3d = {
"supportsImage2dViewOf3d",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_image_2d_view_of_3d",
&members, "https://anglebug.com/7320"
};
FeatureInfo supportsSampler2dViewOf3d = {
"supportsSampler2dViewOf3d",
FeatureCategory::VulkanFeatures,
"VkDevice supports the sampler2DViewOf3D feature of VK_EXT_image_2d_view_of_3d",
&members, "https://anglebug.com/7320"
};
FeatureInfo supportsImagelessFramebuffer = {
"supportsImagelessFramebuffer",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_KHR_imageless_framebuffer extension",
&members, "http://anglebug.com/7553"
};
FeatureInfo preferLinearFilterForYUV = {
"preferLinearFilterForYUV",
FeatureCategory::VulkanFeatures,
"Prefer to use VK_FILTER_LINEAR for VkSamplerYcbcrConversion",
&members, "https://anglebug.com/7382"
};
FeatureInfo supportsYuvTarget = {
"supportsYuvTarget",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_ANDROID_render_to_external_format and VK_EXT_ycbcr_attachment",
&members,
};
FeatureInfo useNonZeroStencilWriteMaskStaticState = {
"useNonZeroStencilWriteMaskStaticState",
FeatureCategory::VulkanWorkarounds,
"Work around a driver bug where 0 in stencil write mask static state would make the "
"corresponding dynamic state malfunction in the presence of discard or alpha to coverage",
&members, "http://anglebug.com/7556"
};
FeatureInfo mapUnspecifiedColorSpaceToPassThrough = {
"mapUnspecifiedColorSpaceToPassThrough",
FeatureCategory::VulkanFeatures,
"Use VK_COLOR_SPACE_PASS_THROUGH_EXT for EGL_NONE or unspecifed color "
"spaces",
&members,
};
FeatureInfo supportsTimestampSurfaceAttribute = {
"supportsTimestampSurfaceAttribute",
FeatureCategory::VulkanFeatures,
"Platform supports setting frame timestamp surface attribute",
&members, "https://anglebug.com/7489"
};
FeatureInfo supportsRasterizationOrderAttachmentAccess = {
"supportsRasterizationOrderAttachmentAccess",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_rasterization_order_attachment_access extension",
&members, "https://anglebug.com/7604"
};
FeatureInfo eglColorspaceAttributePassthrough = {
"eglColorspaceAttributePassthrough",
FeatureCategory::VulkanFeatures,
"Support passthrough of EGL colorspace attribute values",
&members, "https://anglebug.com/7319"
};
FeatureInfo supportsPipelineRobustness = {
"supportsPipelineRobustness",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_pipeline_robustness extension",
&members, "https://anglebug.com/5845"
};
FeatureInfo supportsVertexInputDynamicState = {
"supportsVertexInputDynamicState",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_vertex_input_dynamic_state extension",
&members, "https://anglebug.com/7162"
};
FeatureInfo supportsColorWriteEnable = {
"supportsColorWriteEnable",
FeatureCategory::VulkanFeatures,
"VkDevice supports VK_EXT_color_write_enable extension",
&members, "https://anglebug.com/7161"
};
FeatureInfo supportsPresentation = {
"supportsPresentation",
FeatureCategory::VulkanFeatures,
"VkDisplay supports presentation through a present family queue",
&members,
};
FeatureInfo supportsComputeTranscodeEtcToBc = {
"supportsComputeTranscodeEtcToBc",
FeatureCategory::VulkanFeatures,
"supports compute shader transcode etc format to bc format",
&members,
};
FeatureInfo supportsGraphicsPipelineLibrary = {
"supportsGraphicsPipelineLibrary",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_graphics_pipeline_library extension",
&members, "https://anglebug.com/7369"
};
FeatureInfo preferMonolithicPipelinesOverLibraries = {
"preferMonolithicPipelinesOverLibraries",
FeatureCategory::VulkanWorkarounds,
"Whether monolithic pipelines perform significantly better than libraries",
&members, "https://anglebug.com/7369"
};
FeatureInfo slowDownMonolithicPipelineCreationForTesting = {
"slowDownMonolithicPipelineCreationForTesting",
FeatureCategory::VulkanWorkarounds,
"Artificially slow down async monolithic pipeline creation for threading testing",
&members, "https://anglebug.com/7369"
};
FeatureInfo disablePipelineCacheLoadForTesting = {
"disablePipelineCacheLoadForTesting",
FeatureCategory::VulkanWorkarounds,
"Disable loading the pipeline cache from the blob cache for testing",
&members, "https://anglebug.com/8417"
};
FeatureInfo syncMonolithicPipelinesToBlobCache = {
"syncMonolithicPipelinesToBlobCache",
FeatureCategory::VulkanWorkarounds,
"Whether it's beneficial to store monolithic pipelines in the blob cache when "
"VK_EXT_graphics_pipeline_library is in use. Otherwise the libraries are stored "
"only, and monolithic pipelines are recreated on every run",
&members, "https://anglebug.com/7369"
};
FeatureInfo mergeProgramPipelineCachesToGlobalCache = {
"mergeProgramPipelineCachesToGlobalCache",
FeatureCategory::VulkanWorkarounds,
"Whether it's beneficial to merge the pipeline cache for the shaders subset of the "
"pipeline into the monolithic pipeline cache. Only useful on platforms where "
"monolithic pipelines can reuse blobs from partial pipelines",
&members, "https://anglebug.com/7369"
};
FeatureInfo hasEffectivePipelineCacheSerialization = {
"hasEffectivePipelineCacheSerialization",
FeatureCategory::VulkanFeatures,
"Whether the implementation serializes the Vulkan pipeline cache effectively. "
"On some implementations, pipeline cache serialization returns no data, so there "
"is no benefit to serializing it",
&members, "https://anglebug.com/7369"
};
FeatureInfo enableAsyncPipelineCacheCompression = {
"enableAsyncPipelineCacheCompression",
FeatureCategory::VulkanWorkarounds,
"Enable compressing pipeline cache in a thread.",
&members, "http://anglebug.com/4722"
};
FeatureInfo supportsPipelineProtectedAccess = {
"supportsPipelineProtectedAccess",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_pipeline_protected_access extension",
&members, "https://anglebug.com/7714"
};
FeatureInfo supportsMixedReadWriteDepthStencilLayouts = {
"supportsMixedReadWriteDepthStencilLayouts",
FeatureCategory::VulkanFeatures,
"VkDevice supports the mixed read and write depth/stencil layouts introduced by VK_KHR_maintenance2",
&members, "https://anglebug.com/7899"
};
FeatureInfo supportsSwapchainMaintenance1 = {
"supportsSwapchainMaintenance1",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_surface_maintenance1 and VK_EXT_swapchain_maintenance1 extensions",
&members, "https://anglebug.com/7847"
};
FeatureInfo supportsGetMemoryRequirements2 = {
"supportsGetMemoryRequirements2",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_get_memory_requirements2 extension",
&members, "https://anglebug.com/4830"
};
FeatureInfo supportsBindMemory2 = {
"supportsBindMemory2",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_bind_memory2 extension",
&members, "https://anglebug.com/4966"
};
FeatureInfo supportsSamplerMirrorClampToEdge = {
"supportsSamplerMirrorClampToEdge",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_sampler_mirror_clamp_to_edge extension",
&members,
};
FeatureInfo preferSubmitOnAnySamplesPassedQueryEnd = {
"preferSubmitOnAnySamplesPassedQueryEnd",
FeatureCategory::VulkanWorkarounds,
"Submit commands to driver when last GL_ANY_SAMPLES_PASSED query is made for performance improvements.",
&members, "https://issuetracker.google.com/250706693"
};
FeatureInfo forceWaitForSubmissionToCompleteForQueryResult = {
"forceWaitForSubmissionToCompleteForQueryResult",
FeatureCategory::VulkanWorkarounds,
"Force wait for submission to complete before calling getQueryResult(wait).",
&members, "https://issuetracker.google.com/253522366"
};
FeatureInfo asyncCommandBufferReset = {
"asyncCommandBufferReset",
FeatureCategory::VulkanFeatures,
"Reset command buffer in async thread.",
&members, "https://issuetracker.google.com/255411748"
};
FeatureInfo useResetCommandBufferBitForSecondaryPools = {
"useResetCommandBufferBitForSecondaryPools",
FeatureCategory::VulkanWorkarounds,
"Use VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT for initializing "
"SecondaryCommandPools when using VulkanSecondaryCommandBuffer. ",
&members,
};
FeatureInfo enablePipelineCacheDataCompression = {
"enablePipelineCacheDataCompression",
FeatureCategory::VulkanFeatures,
"enable pipeline cache data compression.",
&members, "https://issuetracker.google.com/258207403"
};
FeatureInfo supportsLegacyDithering = {
"supportsLegacyDithering",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_legacy_dithering extension",
&members, "https://issuetracker.google.com/284462263"
};
FeatureInfo limitSampleCountTo2 = {
"limitSampleCountTo2",
FeatureCategory::VulkanWorkarounds,
"Limit sample count to 2 to save memory on low end devices.",
&members, "http://anglebug.com/8162"
};
FeatureInfo supportsFullScreenExclusive = {
"supportsFullScreenExclusive",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_full_screen_exclusive extension",
&members, "http://anglebug.com/8215"
};
FeatureInfo forceDisableFullScreenExclusive = {
"forceDisableFullScreenExclusive",
FeatureCategory::VulkanWorkarounds,
"Device needs VK_EXT_full_screen_exclusive explicitly disabled",
&members, "http://anglebug.com/8215"
};
FeatureInfo supportsPortabilityEnumeration = {
"supportsPortabilityEnumeration",
FeatureCategory::VulkanFeatures,
"Vulkan supports VK_KHR_portability_enumeration extension",
&members, "http://anglebug.com/8229"
};
FeatureInfo enablePortabilityEnumeration = {
"enablePortabilityEnumeration",
FeatureCategory::VulkanWorkarounds,
"Enable use of VK_KHR_portability_enumeration extension",
&members, "http://anglebug.com/8229"
};
FeatureInfo supportsTimelineSemaphore = {
"supportsTimelineSemaphore",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_timeline_semaphore extension",
&members,
};
FeatureInfo supportsFormatFeatureFlags2 = {
"supportsFormatFeatureFlags2",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_KHR_format_feature_flags2 extension",
&members,
};
FeatureInfo supportsHostImageCopy = {
"supportsHostImageCopy",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_EXT_host_image_copy extension",
&members,
};
FeatureInfo allowHostImageCopyDespiteNonIdenticalLayout = {
"allowHostImageCopyDespiteNonIdenticalLayout",
FeatureCategory::VulkanFeatures,
"When using VK_EXT_host_image_copy, allow VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT even if"
"perf query indicates only optimalDeviceAccess, but not identicalMemoryLayout",
&members,
};
FeatureInfo enableParallelCompileAndLink = {
"enableParallelCompileAndLink",
FeatureCategory::VulkanFeatures,
"Expose the GL_KHR_parallel_shader_compile extension",
&members, "http://anglebug.com/8297"
};
FeatureInfo preferHostCachedForNonStaticBufferUsage = {
"preferHostCachedForNonStaticBufferUsage",
FeatureCategory::VulkanFeatures,
"prefer host cached memory for non static buffer usage",
&members, "https://issuetracker.google.com/288119108"
};
FeatureInfo requireCachedBitForStagingBuffer = {
"requireCachedBitForStagingBuffer",
FeatureCategory::VulkanWorkarounds,
"use cached bit as required bit instead of preferred bit for staging buffers",
&members, "https://issuetracker.google.com/315836169"
};
FeatureInfo supportsExternalFormatResolve = {
"supportsExternalFormatResolve",
FeatureCategory::VulkanFeatures,
"VkDevice supports the VK_ANDROID_external_format_resolve extension",
&members,
};
FeatureInfo disableSeparateShaderObjects = {
"disableSeparateShaderObjects",
FeatureCategory::VulkanAppWorkarounds,
"Disable GL_EXT_separate_shader_objects and cap core ES version to 3.0",
&members, "https://issuetracker.google.com/309028728"
};
FeatureInfo forceSampleUsageForImageWithExternalFormat = {
"forceSampleUsageForImageWithExternalFormat",
FeatureCategory::VulkanAppWorkarounds,
"Force enable VK_IMAGE_USAGE_SAMPLED_BIT usage for images with external format",
&members, "https://issuetracker.google.com/155487768"
};
FeatureInfo avoidOpSelectWithMismatchingRelaxedPrecision = {
"avoidOpSelectWithMismatchingRelaxedPrecision",
FeatureCategory::VulkanWorkarounds,
"On some drivers, the OpSelect SPIR-V instruction with arguments with mismatching "
"RelaxedPrecision decoration causes a crash",
&members, "http://anglebug.com/8503"
};
};
inline FeaturesVk::FeaturesVk() = default;
inline FeaturesVk::~FeaturesVk() = default;
} // namespace angle
#endif // ANGLE_PLATFORM_AUTOGEN_FEATURESVK_H_