mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 12:21:11 +00:00
Render object as point list when dumping output data
This commit is contained in:
@@ -3800,6 +3800,10 @@ void VulkanDebugManager::InitPostVSBuffers(uint32_t frameID, uint32_t eventID)
|
||||
// repoint pipeline layout
|
||||
pipeCreateInfo.layout = pipeLayout;
|
||||
|
||||
// set primitive topology to point list
|
||||
VkPipelineInputAssemblyStateCreateInfo *ia = (VkPipelineInputAssemblyStateCreateInfo *)pipeCreateInfo.pInputAssemblyState;
|
||||
ia->topology = VK_PRIMITIVE_TOPOLOGY_POINT_LIST;
|
||||
|
||||
// enable rasterizer discard
|
||||
VkPipelineRasterStateCreateInfo *rs = (VkPipelineRasterStateCreateInfo *)pipeCreateInfo.pRasterState;
|
||||
rs->rasterizerDiscardEnable = true;
|
||||
|
||||
Reference in New Issue
Block a user