mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 21:31:36 +00:00
Render object as point list when dumping output data
This commit is contained in:
1 parent
a1b034a58e
commit
f5cc277322
1 file changed
+4
@@ -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