Skip to content

Commit 3096bcf

Browse files
committed
Fix typo
1 parent d8114f0 commit 3096bcf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

renderdoc/driver/vulkan/wrappers/vk_cmd_funcs.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
RDOC_DEBUG_CONFIG(
3131
bool, Vulkan_Debug_VerboseCommandRecording, false,
3232
"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);
3434

3535
static rdcstr ToHumanStr(const VkAttachmentLoadOp &el)
3636
{
@@ -785,7 +785,7 @@ void WrappedVulkan::ApplyRPStoreDiscards(VkCommandBuffer commandBuffer, VkRect2D
785785

786786
VkImageLayout layout = rpinfo.attachments[i].finalLayout;
787787

788-
if(Vulkan_Hack_DisableRPRobustness())
788+
if(Vulkan_Hack_DisableRPNormalisation())
789789
layout = VK_IMAGE_LAYOUT_UNDEFINED;
790790

791791
if(IsStencilFormat(viewInfo.format))
@@ -2350,7 +2350,7 @@ bool WrappedVulkan::Serialise_vkCmdEndRenderPass(SerialiserType &ser, VkCommandB
23502350

23512351
ResourceId currentRP = GetCmdRenderState().GetRenderPass();
23522352

2353-
if(Vulkan_Hack_DisableRPRobustness() && !m_FeedbackRPs.contains(currentRP))
2353+
if(Vulkan_Hack_DisableRPNormalisation() && !m_FeedbackRPs.contains(currentRP))
23542354
{
23552355
ApplyRPStoreDiscards(commandBuffer, GetCmdRenderState().renderArea, currentRP,
23562356
GetCmdRenderState().GetFramebufferAttachments());
@@ -3014,7 +3014,7 @@ bool WrappedVulkan::Serialise_vkCmdEndRenderPass2(SerialiserType &ser, VkCommand
30143014
}
30153015

30163016
ResourceId currentRP = GetCmdRenderState().GetRenderPass();
3017-
if(Vulkan_Hack_DisableRPRobustness() && !m_FeedbackRPs.contains(currentRP))
3017+
if(Vulkan_Hack_DisableRPNormalisation() && !m_FeedbackRPs.contains(currentRP))
30183018
{
30193019
ApplyRPStoreDiscards(commandBuffer, GetCmdRenderState().renderArea, currentRP,
30203020
GetCmdRenderState().GetFramebufferAttachments());
@@ -7314,7 +7314,7 @@ bool WrappedVulkan::Serialise_vkCmdBeginRendering(SerialiserType &ser, VkCommand
73147314
// effects of that are never user-visible.
73157315
if(m_ReplayOptions.optimisation != ReplayOptimisationLevel::Fastest)
73167316
{
7317-
if(Vulkan_Hack_DisableRPRobustness())
7317+
if(Vulkan_Hack_DisableRPNormalisation())
73187318
{
73197319
static bool warned = false;
73207320

@@ -7671,7 +7671,7 @@ bool WrappedVulkan::Serialise_vkCmdEndRendering(SerialiserType &ser, VkCommandBu
76717671
m_BakedCmdBufferInfo[m_LastCmdBufferID].renderPassOpen = false;
76727672

76737673
// only do discards when not suspending!
7674-
if(Vulkan_Hack_DisableRPRobustness() && !suspending)
7674+
if(Vulkan_Hack_DisableRPNormalisation() && !suspending)
76757675
{
76767676
rdcarray<VkRenderingAttachmentInfo> dynAtts = renderstate.dynamicRendering.color;
76777677
dynAtts.push_back(renderstate.dynamicRendering.depth);

0 commit comments

Comments
 (0)