Skip to content

Commit

Permalink
docs: Fix typos in debug_printf.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Sep 9, 2024
1 parent 0f58274 commit dfbcf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/gpu/debug_printf/debug_printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void Validator::AnalyzeAndGenerateMessage(VkCommandBuffer command_buffer, VkQueu
InternalWarning(queue, loc, message.str().c_str());
}

// Only memset what is needed, in case we are only using only a small portion of a large buffer_size.
// Only memset what is needed, in case we are only using a small portion of a large buffer_size.
// At the same time we want to make sure we don't memset past the actual VkBuffer allocation
uint32_t clear_size =
sizeof(uint32_t) * (debug_output_buffer[gpuav::kDebugPrintfOutputBufferSize] + gpuav::kDebugPrintfOutputBufferData);
Expand Down

0 comments on commit dfbcf5a

Please sign in to comment.