Commit 99f494e4 by Ian Elliott Committed by Commit Bot

Vulkan: Enable GL_NV_pixel_buffer_object extension

Now that PBOs are implemented, expose the NVIDIA PBO extension. Bug: angleproject:3233 Change-Id: Ie69e49fb0cefad7b55abcc57b2cb3284c196b158 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1737277Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarMohan Maiya <m.maiya@samsung.com> Reviewed-by: 's avatarIan Elliott <ianelliott@google.com> Commit-Queue: Ian Elliott <ianelliott@google.com>
parent 74ec0afe
...@@ -402,6 +402,9 @@ void RendererVk::ensureCapsInitialized() const ...@@ -402,6 +402,9 @@ void RendererVk::ensureCapsInitialized() const
// Enable Program Binary extension. // Enable Program Binary extension.
mNativeExtensions.getProgramBinary = true; mNativeExtensions.getProgramBinary = true;
mNativeCaps.programBinaryFormats.push_back(GL_PROGRAM_BINARY_ANGLE); mNativeCaps.programBinaryFormats.push_back(GL_PROGRAM_BINARY_ANGLE);
// Enable GL_NV_pixel_buffer_object extension.
mNativeExtensions.pixelBufferObject = true;
} }
namespace egl_vk namespace egl_vk
......
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