1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +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:
Philip Rebohle 2022-07-15 14:07:18 +02:00
parent b59571ab22
commit 686df3ec1b
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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;