mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Don't set scissor and viewport count for meta pipelines
Oversight from when we changed these to be unconditionally dynamic. Fixes a bunch of validation errors.
This commit is contained in:
parent
b59571ab22
commit
686df3ec1b
2 changed files with 0 additions and 4 deletions
|
@ -322,8 +322,6 @@ namespace dxvk {
|
|||
iaState.primitiveRestartEnable = VK_FALSE;
|
||||
|
||||
VkPipelineViewportStateCreateInfo vpState = { VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO };
|
||||
vpState.viewportCount = 1;
|
||||
vpState.scissorCount = 1;
|
||||
|
||||
VkPipelineRasterizationStateCreateInfo rsState = { VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO };
|
||||
rsState.polygonMode = VK_POLYGON_MODE_FILL;
|
||||
|
|
|
@ -358,8 +358,6 @@ namespace dxvk {
|
|||
iaState.topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
|
||||
|
||||
VkPipelineViewportStateCreateInfo vpState = { VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO };
|
||||
vpState.viewportCount = 1;
|
||||
vpState.scissorCount = 1;
|
||||
|
||||
VkPipelineRasterizationStateCreateInfo rsState = { VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO };
|
||||
rsState.depthClampEnable = VK_TRUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue