1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
From: Jordan Justen <jljusten@debian.org>
Date: Wed, 25 Aug 2021 16:59:29 -0700
Subject: renderdoc: Fix misspelling: persistant => persistent
This was just some strings and a comment, but the misspelling appears
in a number of places in code to. For example, the qrenderdoc
PersistantConfig class.
Signed-off-by: Jordan Justen <jljusten@debian.org>
---
qrenderdoc/Code/Interface/PersistantConfig.h | 2 +-
qrenderdoc/Code/Interface/QRDInterface.h | 4 ++--
renderdoc/driver/d3d11/d3d11_device.cpp | 2 +-
renderdoc/driver/d3d12/d3d12_device.cpp | 2 +-
renderdoc/driver/d3d12/d3d12_resources.cpp | 2 +-
renderdoc/driver/gl/gl_driver.cpp | 2 +-
renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp | 2 +-
renderdoc/driver/vulkan/vk_core.cpp | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/qrenderdoc/Code/Interface/PersistantConfig.h b/qrenderdoc/Code/Interface/PersistantConfig.h
index 3905b0f..76c809b 100644
--- a/qrenderdoc/Code/Interface/PersistantConfig.h
+++ b/qrenderdoc/Code/Interface/PersistantConfig.h
@@ -612,7 +612,7 @@ struct CustomPersistentStorage
};
#endif
-DOCUMENT(R"(A persistant config file that is automatically loaded and saved, which contains any
+DOCUMENT(R"(A persistent config file that is automatically loaded and saved, which contains any
settings and information that needs to be preserved from one run to the next.
For more information about some of these settings that are user-facing see
diff --git a/qrenderdoc/Code/Interface/QRDInterface.h b/qrenderdoc/Code/Interface/QRDInterface.h
index 60ad8b1..77f7004 100644
--- a/qrenderdoc/Code/Interface/QRDInterface.h
+++ b/qrenderdoc/Code/Interface/QRDInterface.h
@@ -2705,9 +2705,9 @@ capture's API.
)");
virtual const PipeState &CurPipelineState() = 0;
- DOCUMENT(R"(Retrieve the current persistant config.
+ DOCUMENT(R"(Retrieve the current persistent config.
-:return: The current persistant config manager.
+:return: The current persistent config manager.
:rtype: PersistantConfig
)");
virtual PersistantConfig &Config() = 0;
diff --git a/renderdoc/driver/d3d11/d3d11_device.cpp b/renderdoc/driver/d3d11/d3d11_device.cpp
index bf66f6a..b11dc45 100644
--- a/renderdoc/driver/d3d11/d3d11_device.cpp
+++ b/renderdoc/driver/d3d11/d3d11_device.cpp
@@ -1518,7 +1518,7 @@ RDResult WrappedID3D11Device::ReadLogInitialisation(RDCFile *rdc, bool storeStru
GetReplay()->WriteFrameRecord().frameInfo.initDataSize =
chunkInfos[(D3D11Chunk)SystemChunk::InitialContents].totalsize;
- RDCDEBUG("Allocating %llu persistant bytes of memory for the log.",
+ RDCDEBUG("Allocating %llu persistent bytes of memory for the log.",
GetReplay()->WriteFrameRecord().frameInfo.persistentSize);
if(HasFatalError())
diff --git a/renderdoc/driver/d3d12/d3d12_device.cpp b/renderdoc/driver/d3d12/d3d12_device.cpp
index 8b6c0dd..3e32c23 100644
--- a/renderdoc/driver/d3d12/d3d12_device.cpp
+++ b/renderdoc/driver/d3d12/d3d12_device.cpp
@@ -4367,7 +4367,7 @@ RDResult WrappedID3D12Device::ReadLogInitialisation(RDCFile *rdc, bool storeStru
GetReplay()->WriteFrameRecord().frameInfo.initDataSize =
chunkInfos[(D3D12Chunk)SystemChunk::InitialContents].totalsize;
- RDCDEBUG("Allocating %llu persistant bytes of memory for the log.",
+ RDCDEBUG("Allocating %llu persistent bytes of memory for the log.",
GetReplay()->WriteFrameRecord().frameInfo.persistentSize);
if(m_FatalError != ResultCode::Succeeded)
diff --git a/renderdoc/driver/d3d12/d3d12_resources.cpp b/renderdoc/driver/d3d12/d3d12_resources.cpp
index b2a8def..12b77d7 100644
--- a/renderdoc/driver/d3d12/d3d12_resources.cpp
+++ b/renderdoc/driver/d3d12/d3d12_resources.cpp
@@ -262,7 +262,7 @@ HRESULT STDMETHODCALLTYPE WrappedID3D12Resource::Map(UINT Subresource,
map[Subresource].realPtr = (byte *)mapPtr;
map[Subresource].refcount++;
- // on the first map, register this so we can flush any updates in case it's left persistant
+ // on the first map, register this so we can flush any updates in case it's left persistent
if(map[Subresource].refcount == 1)
m_pDevice->Map(this, Subresource);
}
diff --git a/renderdoc/driver/gl/gl_driver.cpp b/renderdoc/driver/gl/gl_driver.cpp
index 1cd972f..54b55ca 100644
--- a/renderdoc/driver/gl/gl_driver.cpp
+++ b/renderdoc/driver/gl/gl_driver.cpp
@@ -3526,7 +3526,7 @@ RDResult WrappedOpenGL::ReadLogInitialisation(RDCFile *rdc, bool storeStructured
GetReplay()->WriteFrameRecord().frameInfo.initDataSize =
chunkInfos[(GLChunk)SystemChunk::InitialContents].totalsize;
- RDCDEBUG("Allocating %llu persistant bytes of memory for the log.",
+ RDCDEBUG("Allocating %llu persistent bytes of memory for the log.",
GetReplay()->WriteFrameRecord().frameInfo.persistentSize);
return ResultCode::Succeeded;
diff --git a/renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp b/renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp
index 05991b7..a8d0813 100644
--- a/renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp
+++ b/renderdoc/driver/gl/wrappers/gl_buffer_funcs.cpp
@@ -2258,7 +2258,7 @@ void WrappedOpenGL::glInvalidateBufferSubData(GLuint buffer, GLintptr offset, GL
*
*
*
- * Persistant maps:
+ * Persistent maps:
*
* The above process handles "normal" maps that happen between other GL commands that use the buffer
* contents. Maps that are persistent need to be handled carefully since there are other knock-ons
diff --git a/renderdoc/driver/vulkan/vk_core.cpp b/renderdoc/driver/vulkan/vk_core.cpp
index 570bfa5..db07801 100644
--- a/renderdoc/driver/vulkan/vk_core.cpp
+++ b/renderdoc/driver/vulkan/vk_core.cpp
@@ -2777,7 +2777,7 @@ RDResult WrappedVulkan::ReadLogInitialisation(RDCFile *rdc, bool storeStructured
GetReplay()->WriteFrameRecord().frameInfo.initDataSize =
chunkInfos[(VulkanChunk)SystemChunk::InitialContents].totalsize;
- RDCDEBUG("Allocating %llu persistant bytes of memory for the log.",
+ RDCDEBUG("Allocating %llu persistent bytes of memory for the log.",
GetReplay()->WriteFrameRecord().frameInfo.persistentSize);
// ensure the capture at least created a device and fetched a queue.
|