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/+/38628
Tested-by: Chris Forbes <chrisforbes@google.com>
Presubmit-Ready: Chris Forbes <chrisforbes@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Vulkan/VkGetProcAddress.cpp b/src/Vulkan/VkGetProcAddress.cpp
index e17aa75..991f51f 100644
--- a/src/Vulkan/VkGetProcAddress.cpp
+++ b/src/Vulkan/VkGetProcAddress.cpp
@@ -323,6 +323,13 @@
 			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
 	{
diff --git a/src/Vulkan/libVulkan.cpp b/src/Vulkan/libVulkan.cpp
index c348133..edf408d 100644
--- a/src/Vulkan/libVulkan.cpp
+++ b/src/Vulkan/libVulkan.cpp
@@ -3072,6 +3072,14 @@
 	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)
 {