Commit 8933de85 by Shahbaz Youssefi Committed by Commit Bot

Vulkan: Expose EXT_instanced_arrays

Implemented in https://chromium-review.googlesource.com/c/angle/angle/+/1452740 was missing exposure from the Vulkan backend. Bug: angleproject:3105 Change-Id: If82e6f3dfa5ff8fafbc401258a5e324ea311123d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1773906Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent 7b5744f4
...@@ -85,6 +85,7 @@ void RendererVk::ensureCapsInitialized() const ...@@ -85,6 +85,7 @@ void RendererVk::ensureCapsInitialized() const
// TODO: Enable this always and emulate instanced draws if any divisor exceeds the maximum // TODO: Enable this always and emulate instanced draws if any divisor exceeds the maximum
// supported. http://anglebug.com/2672 // supported. http://anglebug.com/2672
mNativeExtensions.instancedArraysANGLE = mMaxVertexAttribDivisor > 1; mNativeExtensions.instancedArraysANGLE = mMaxVertexAttribDivisor > 1;
mNativeExtensions.instancedArraysEXT = mMaxVertexAttribDivisor > 1;
// Only expose robust buffer access if the physical device supports it. // Only expose robust buffer access if the physical device supports it.
mNativeExtensions.robustBufferAccessBehavior = mPhysicalDeviceFeatures.robustBufferAccess; mNativeExtensions.robustBufferAccessBehavior = mPhysicalDeviceFeatures.robustBufferAccess;
......
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