Commit a727d808 by Alexis Hetu Committed by Alexis Hétu

Enable the fullDrawIndexUint32 feature

According to the Vulkan spec: "fullDrawIndexUint32 specifies the full 32-bit range of indices is supported for indexed draw calls when using a VkIndexType of VK_INDEX_TYPE_UINT32. maxDrawIndexedIndexValue is the maximum index value that may be used (aside from the primitive restart index, which is always 2^32-1 when the VkIndexType is VK_INDEX_TYPE_UINT32). If this feature is supported, maxDrawIndexedIndexValue must be 2^32-1; otherwise it must be no smaller than 2^24-1." maxDrawIndexedIndexValue is already set to 2^32-1, so there's nothing left to do but enable the feature. Bug: b/145670585 Change-Id: I5f2e554ccd2eb94cd0b0e3c30391b83389200afa Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/38948 Presubmit-Ready: Alexis Hétu <sugoi@google.com> Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 80d21bba
......@@ -48,7 +48,7 @@ const VkPhysicalDeviceFeatures& PhysicalDevice::getFeatures() const
static const VkPhysicalDeviceFeatures features
{
VK_TRUE, // robustBufferAccess
VK_FALSE, // fullDrawIndexUint32
VK_TRUE, // fullDrawIndexUint32
VK_FALSE, // imageCubeArray
VK_TRUE, // independentBlend
VK_FALSE, // geometryShader
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment