|
30 | 30 | RDOC_DEBUG_CONFIG(
|
31 | 31 | bool, Vulkan_Debug_VerboseCommandRecording, false,
|
32 | 32 | "Add verbose logging around recording and submission of command buffers in vulkan.");
|
33 |
| -RDOC_EXTERN_CONFIG(bool, Vulkan_Hack_DisableRPRobustness); |
| 33 | +RDOC_EXTERN_CONFIG(bool, Vulkan_Hack_DisableRPNormalisation); |
34 | 34 |
|
35 | 35 | static rdcstr ToHumanStr(const VkAttachmentLoadOp &el)
|
36 | 36 | {
|
@@ -785,7 +785,7 @@ void WrappedVulkan::ApplyRPStoreDiscards(VkCommandBuffer commandBuffer, VkRect2D
|
785 | 785 |
|
786 | 786 | VkImageLayout layout = rpinfo.attachments[i].finalLayout;
|
787 | 787 |
|
788 |
| - if(Vulkan_Hack_DisableRPRobustness()) |
| 788 | + if(Vulkan_Hack_DisableRPNormalisation()) |
789 | 789 | layout = VK_IMAGE_LAYOUT_UNDEFINED;
|
790 | 790 |
|
791 | 791 | if(IsStencilFormat(viewInfo.format))
|
@@ -2350,7 +2350,7 @@ bool WrappedVulkan::Serialise_vkCmdEndRenderPass(SerialiserType &ser, VkCommandB
|
2350 | 2350 |
|
2351 | 2351 | ResourceId currentRP = GetCmdRenderState().GetRenderPass();
|
2352 | 2352 |
|
2353 |
| - if(Vulkan_Hack_DisableRPRobustness() && !m_FeedbackRPs.contains(currentRP)) |
| 2353 | + if(Vulkan_Hack_DisableRPNormalisation() && !m_FeedbackRPs.contains(currentRP)) |
2354 | 2354 | {
|
2355 | 2355 | ApplyRPStoreDiscards(commandBuffer, GetCmdRenderState().renderArea, currentRP,
|
2356 | 2356 | GetCmdRenderState().GetFramebufferAttachments());
|
@@ -3014,7 +3014,7 @@ bool WrappedVulkan::Serialise_vkCmdEndRenderPass2(SerialiserType &ser, VkCommand
|
3014 | 3014 | }
|
3015 | 3015 |
|
3016 | 3016 | ResourceId currentRP = GetCmdRenderState().GetRenderPass();
|
3017 |
| - if(Vulkan_Hack_DisableRPRobustness() && !m_FeedbackRPs.contains(currentRP)) |
| 3017 | + if(Vulkan_Hack_DisableRPNormalisation() && !m_FeedbackRPs.contains(currentRP)) |
3018 | 3018 | {
|
3019 | 3019 | ApplyRPStoreDiscards(commandBuffer, GetCmdRenderState().renderArea, currentRP,
|
3020 | 3020 | GetCmdRenderState().GetFramebufferAttachments());
|
@@ -7314,7 +7314,7 @@ bool WrappedVulkan::Serialise_vkCmdBeginRendering(SerialiserType &ser, VkCommand
|
7314 | 7314 | // effects of that are never user-visible.
|
7315 | 7315 | if(m_ReplayOptions.optimisation != ReplayOptimisationLevel::Fastest)
|
7316 | 7316 | {
|
7317 |
| - if(Vulkan_Hack_DisableRPRobustness()) |
| 7317 | + if(Vulkan_Hack_DisableRPNormalisation()) |
7318 | 7318 | {
|
7319 | 7319 | static bool warned = false;
|
7320 | 7320 |
|
@@ -7671,7 +7671,7 @@ bool WrappedVulkan::Serialise_vkCmdEndRendering(SerialiserType &ser, VkCommandBu
|
7671 | 7671 | m_BakedCmdBufferInfo[m_LastCmdBufferID].renderPassOpen = false;
|
7672 | 7672 |
|
7673 | 7673 | // only do discards when not suspending!
|
7674 |
| - if(Vulkan_Hack_DisableRPRobustness() && !suspending) |
| 7674 | + if(Vulkan_Hack_DisableRPNormalisation() && !suspending) |
7675 | 7675 | {
|
7676 | 7676 | rdcarray<VkRenderingAttachmentInfo> dynAtts = renderstate.dynamicRendering.color;
|
7677 | 7677 | dynAtts.push_back(renderstate.dynamicRendering.depth);
|
|
0 commit comments