Skip to content

Commit

Permalink
Donn't set rasterization state to NULL for pre-rasterization shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Nov 30, 2023
1 parent a43cb1f commit 01820aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/test/demos/vk/vk_graphics_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ void main()
info = pipeCreateInfo;
info->pTessellationState = NULL;
info->pViewportState = NULL;
info->pRasterizationState = NULL;
info->pMultisampleState = NULL;
libList[1] = createGraphicsPipeline(info);

Expand Down Expand Up @@ -258,6 +257,7 @@ void main()
info = pipeCreateInfo;
info->pVertexInputState = NULL;
info->pInputAssemblyState = NULL;
info->pRasterizationState = NULL;
info->pTessellationState = NULL;
info->pViewportState = NULL;
info->pDepthStencilState = NULL;
Expand Down

0 comments on commit 01820aa

Please sign in to comment.