From fbbfb0b16754a8c430311b3262418ed2d062a980 Mon Sep 17 00:00:00 2001 From: mklefrancois <38076163+mklefrancois@users.noreply.github.com> Date: Wed, 27 May 2020 16:53:59 +0200 Subject: [PATCH] Fixing a typo in a variable name --- ray_tracing__advance/raytrace.cpp | 6 +++--- ray_tracing__simple/hello_vulkan.cpp | 6 +++--- ray_tracing_animation/hello_vulkan.cpp | 6 +++--- ray_tracing_anyhit/hello_vulkan.cpp | 6 +++--- ray_tracing_callable/hello_vulkan.cpp | 6 +++--- ray_tracing_instances/hello_vulkan.cpp | 6 +++--- ray_tracing_intersection/hello_vulkan.cpp | 6 +++--- ray_tracing_jitter_cam/hello_vulkan.cpp | 6 +++--- ray_tracing_reflections/hello_vulkan.cpp | 6 +++--- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/ray_tracing__advance/raytrace.cpp b/ray_tracing__advance/raytrace.cpp index d4694a1..c8dd470 100644 --- a/ray_tracing__advance/raytrace.cpp +++ b/ray_tracing__advance/raytrace.cpp @@ -421,10 +421,10 @@ void Raytracer::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -441,7 +441,7 @@ void Raytracer::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc->unmap(m_rtSBTBuffer); diff --git a/ray_tracing__simple/hello_vulkan.cpp b/ray_tracing__simple/hello_vulkan.cpp index d5a526e..5235d56 100644 --- a/ray_tracing__simple/hello_vulkan.cpp +++ b/ray_tracing__simple/hello_vulkan.cpp @@ -855,10 +855,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -875,7 +875,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_animation/hello_vulkan.cpp b/ray_tracing_animation/hello_vulkan.cpp index 83a2730..5511dc6 100644 --- a/ray_tracing_animation/hello_vulkan.cpp +++ b/ray_tracing_animation/hello_vulkan.cpp @@ -851,10 +851,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -871,7 +871,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_anyhit/hello_vulkan.cpp b/ray_tracing_anyhit/hello_vulkan.cpp index 86112ad..159c660 100644 --- a/ray_tracing_anyhit/hello_vulkan.cpp +++ b/ray_tracing_anyhit/hello_vulkan.cpp @@ -853,10 +853,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -873,7 +873,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_callable/hello_vulkan.cpp b/ray_tracing_callable/hello_vulkan.cpp index c173b04..8e66a8f 100644 --- a/ray_tracing_callable/hello_vulkan.cpp +++ b/ray_tracing_callable/hello_vulkan.cpp @@ -871,10 +871,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -891,7 +891,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_instances/hello_vulkan.cpp b/ray_tracing_instances/hello_vulkan.cpp index 77f99f2..5df3b7a 100644 --- a/ray_tracing_instances/hello_vulkan.cpp +++ b/ray_tracing_instances/hello_vulkan.cpp @@ -864,10 +864,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -884,7 +884,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_intersection/hello_vulkan.cpp b/ray_tracing_intersection/hello_vulkan.cpp index 402b4c2..cc4ab8e 100644 --- a/ray_tracing_intersection/hello_vulkan.cpp +++ b/ray_tracing_intersection/hello_vulkan.cpp @@ -1001,10 +1001,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -1021,7 +1021,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_jitter_cam/hello_vulkan.cpp b/ray_tracing_jitter_cam/hello_vulkan.cpp index 9307c6e..1c4e7bf 100644 --- a/ray_tracing_jitter_cam/hello_vulkan.cpp +++ b/ray_tracing_jitter_cam/hello_vulkan.cpp @@ -842,10 +842,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -862,7 +862,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer); diff --git a/ray_tracing_reflections/hello_vulkan.cpp b/ray_tracing_reflections/hello_vulkan.cpp index 1df486a..48a8782 100644 --- a/ray_tracing_reflections/hello_vulkan.cpp +++ b/ray_tracing_reflections/hello_vulkan.cpp @@ -842,10 +842,10 @@ void HelloVulkan::createRtShaderBindingTable() auto groupCount = static_cast(m_rtShaderGroups.size()); // 3 shaders: raygen, miss, chit uint32_t groupHandleSize = m_rtProperties.shaderGroupHandleSize; // Size of a program identifier - uint32_t baseAligment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment + uint32_t baseAlignment = m_rtProperties.shaderGroupBaseAlignment; // Size of shader alignment // Fetch all the shader handles used in the pipeline, so that they can be written in the SBT - uint32_t sbtSize = groupCount * baseAligment; + uint32_t sbtSize = groupCount * baseAlignment; std::vector shaderHandleStorage(sbtSize); m_device.getRayTracingShaderGroupHandlesKHR(m_rtPipeline, 0, groupCount, sbtSize, @@ -862,7 +862,7 @@ void HelloVulkan::createRtShaderBindingTable() for(uint32_t g = 0; g < groupCount; g++) { memcpy(pData, shaderHandleStorage.data() + g * groupHandleSize, groupHandleSize); // raygen - pData += baseAligment; + pData += baseAlignment; } m_alloc.unmap(m_rtSBTBuffer);