Skip to content

Commit 37250be

Browse files
committed
Fix spelling
1 parent c8890b9 commit 37250be

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/core/src/base/intersector_base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class IntersectorBase
8989
const RRBuildOptions* build_options) = 0;
9090

9191
/**
92-
* @brief Get scene build memeory requirements.
92+
* @brief Get scene build memory requirements.
9393
*
9494
* @param instance_count Number of instances in the scene.
9595
* @param build_options Build options.
@@ -168,7 +168,7 @@ class IntersectorBase
168168
* @param indirect_ray_count Optional buffer containing number of rays in GPU memory.
169169
* @param query_output Type of output produced by the intersector.
170170
* @param hits Buffer to write hit data to.
171-
* @param scratch Auxilliary buffer for trace.
171+
* @param scratch Auxiliary buffer for trace.
172172
**/
173173
virtual void Intersect(CommandStreamBase* command_stream,
174174
DevicePtrBase* scene_buffer,

src/core/src/dx/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void Device::CreateDXGIAdapter(D3D_FEATURE_LEVEL feature_level)
111111

112112
void Device::CreateDeviceAndCommandQueue(D3D_FEATURE_LEVEL feature_level)
113113
{
114-
Logger::Get().Debug("Initalizing DirectX in standalone mode");
114+
Logger::Get().Debug("Initializing DirectX in standalone mode");
115115

116116
// Create the DX12 API device object.
117117
ThrowIfFailed(D3D12CreateDevice(dxgi_adapter_.Get(), feature_level, IID_PPV_ARGS(&device_)),

src/core/src/dx/kernels/math.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ float3 TransformPoint(in float3 p, in float4 transform[3])
2929
dot(p, transform[2].xyz) + transform[2].w);
3030
}
3131

32-
//< Caluclate inverse of 4x4 matrix.
32+
//< Calculate inverse of 4x4 matrix.
3333
float4x4 inverse(in float4x4 m)
3434
{
3535
float n11 = m[0][0], n12 = m[1][0], n13 = m[2][0], n14 = m[3][0];

test/test_vk/algos_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void AlgosTest::SetUp()
152152
std::vector<VkQueueFamilyProperties> queue_props(queue_family_count);
153153
vkGetPhysicalDeviceQueueFamilyProperties(gpus[0], &queue_family_count, queue_props.data());
154154

155-
// Look for a queue supporing both compute and transfer
155+
// Look for a queue supporting both compute and transfer
156156
bool found = false;
157157
for (unsigned int i = 0; i < queue_family_count; i++)
158158
{

test/test_vk/basic_test.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void BasicTest::SetUp()
151151
std::vector<VkQueueFamilyProperties> queue_props(queue_family_count);
152152
vkGetPhysicalDeviceQueueFamilyProperties(gpus[0], &queue_family_count, queue_props.data());
153153

154-
// Look for a queue supporing both compute and transfer
154+
// Look for a queue supporting both compute and transfer
155155
bool found = false;
156156
for (unsigned int i = 0; i < queue_family_count; i++)
157157
{
@@ -361,7 +361,7 @@ TEST_F(BasicTest, BuildSingleTriangle)
361361
CHECK_RR_CALL(rrCmdBuildGeometry(
362362
context, RR_BUILD_OPERATION_BUILD, &geometry_build_input, &options, scratch_ptr, geometry_ptr, command_stream));
363363

364-
/// release everuthing
364+
/// release everything
365365
RREvent wait_event = nullptr;
366366
CHECK_RR_CALL(rrSumbitCommandStream(context, command_stream, nullptr, &wait_event));
367367
CHECK_RR_CALL(rrWaitEvent(context, wait_event));

0 commit comments

Comments
 (0)