Commit deac536f by Chris Forbes

Add missing vkCmdSetLineStippleEXT function

This is part of VK_EXT_line_rasterization, which we claim to support. The stippled line feature itself is not supported, so apps must not call this function. Bug: b/144183516 Test: dEQP-VK.api.version_check.entry_points Change-Id: I935be72717184b2e8b1a51cb8e411d66a9fcfa52 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/38628Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 7b29abfc
......@@ -323,6 +323,13 @@ static const std::vector<std::pair<const char*, std::unordered_map<std::string,
MAKE_VULKAN_DEVICE_ENTRY(vkGetDescriptorSetLayoutSupportKHR),
}
},
// VK_EXT_line_rasterization
{
VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME,
{
MAKE_VULKAN_DEVICE_ENTRY(vkCmdSetLineStippleEXT),
}
},
#ifndef __ANDROID__
// VK_KHR_swapchain
{
......
......@@ -3072,6 +3072,14 @@ VKAPI_ATTR void VKAPI_CALL vkGetDescriptorSetLayoutSupport(VkDevice device, cons
vk::Cast(device)->getDescriptorSetLayoutSupport(pCreateInfo, pSupport);
}
VKAPI_ATTR void VKAPI_CALL vkCmdSetLineStippleEXT(VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern)
{
TRACE("(VkCommandBuffer commandBuffer = %p, uint32_t lineStippleFactor = %u, uint16_t lineStipplePattern = %u",
commandBuffer, lineStippleFactor, lineStipplePattern);
UNIMPLEMENTED("Line stipple not supported");
}
#ifdef VK_USE_PLATFORM_XCB_KHR
VKAPI_ATTR VkResult VKAPI_CALL vkCreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
{
......
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