mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Use valid values for default states. Closes #2396
* If we're replaying state set before a pipeline is bound we don't know which values are dynamic so conservatively we set them all. This means the state can be anything by default as long as it's legal - if it doesn't come from a previous dynamic state set its value is irrelevant.
This commit is contained in:
@@ -196,8 +196,8 @@ struct VulkanRenderState
|
||||
|
||||
// extended dynamic state 2
|
||||
VkBool32 depthBiasEnable = VK_FALSE;
|
||||
VkLogicOp logicOp = VK_LOGIC_OP_MAX_ENUM;
|
||||
uint32_t patchControlPoints = 0;
|
||||
VkLogicOp logicOp = VK_LOGIC_OP_CLEAR;
|
||||
uint32_t patchControlPoints = 3;
|
||||
VkBool32 primRestartEnable = VK_FALSE;
|
||||
VkBool32 rastDiscardEnable = VK_FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user