@@ -87,7 +87,7 @@ using Submit = pp::message<
8787 /* The VkQueue the frame belongs to */
8888 pp::uint64_field<" queue" , 3 >>;
8989
90- /* Enumerates the possible attachment types a renderpass can have */
90+ /* Enumerates the possible attachment types a render pass can have */
9191enum class RenderpassAttachmentType
9292{
9393 undefined = 0 ,
@@ -96,7 +96,7 @@ enum class RenderpassAttachmentType
9696 stencil = 3 ,
9797};
9898
99- /* Describe an attachment to a renderpass */
99+ /* Describe an attachment to a render pass */
100100using RenderpassAttachment = pp::message<
101101 /* The attachment type */
102102 pp::enum_field<" type" , 1 , RenderpassAttachmentType>,
@@ -112,29 +112,29 @@ using RenderpassAttachment = pp::message<
112112 things are not resolved, so this saves a field in the data) */
113113 pp::bool_field<" resolved" , 5 >>;
114114
115- /* Start a new renderpass */
115+ /* Start a new render pass */
116116using BeginRenderpass = pp::message<
117- /* The unique identifier for this new renderpass */
117+ /* The unique identifier for this new render pass */
118118 pp::uint64_field<" tag_id" , 1 >,
119- /* The dimensions of the renderpass ' attachments */
119+ /* The dimensions of the render pass ' attachments */
120120 pp::uint32_field<" width" , 2 >,
121121 pp::uint32_field<" height" , 3 >,
122- /* The number of drawcalls in the renderpass */
122+ /* The number of drawcalls in the render pass */
123123 pp::uint32_field<" draw_call_count" , 4 >,
124124 /* The subpass count */
125125 pp::uint32_field<" subpass_count" , 5 >,
126- /* Any user defined debug labels associated with the renderpass */
126+ /* Any user defined debug labels associated with the render pass */
127127 pp::string_field<" debug_label" , 6 , pp::repeated>,
128- /* Any attachments associated with the renderpass */
128+ /* Any attachments associated with the render pass */
129129 pp::message_field<" attachments" , 7 , RenderpassAttachment, pp::repeated>>;
130130
131- /* Continue a split renderpass */
131+ /* Continue a split render pass */
132132using ContinueRenderpass = pp::message<
133- /* The unique identifier for the renderpass that is being continued */
133+ /* The unique identifier for the render pass that is being continued */
134134 pp::uint64_field<" tag_id" , 1 >,
135- /* The number of drawcalls to add to the total in the renderpass */
135+ /* The number of drawcalls to add to the total in the render pass */
136136 pp::uint32_field<" draw_call_count" , 2 >,
137- /* Any user defined debug labels to add to the renderpass */
137+ /* Any user defined debug labels to add to the render pass */
138138 pp::string_field<" debug_label" , 3 , pp::repeated>>;
139139
140140/* A dispatch object submission */
@@ -295,7 +295,7 @@ Comms::MessageData packBuffer(pp::constant<F> c, T&& f)
295295 * @return A pair, where the first value is the corresponding attachment type, and the second value is
296296 * the corresponding attachment index (or nullopt in the case the index is not relevant).
297297 */
298- constexpr std::pair<RenderpassAttachmentType, std::optional<uint32_t >> mapRenderpassAttachmentName (
298+ constexpr std::pair<RenderpassAttachmentType, std::optional<uint32_t >> mapRenderPassAttachmentName (
299299 Tracker::RenderPassAttachName name)
300300{
301301 switch (name)
@@ -443,29 +443,29 @@ constexpr AccelerationStructureTransferType mapASTransferType(Tracker::LCSAccele
443443/* *
444444 * @brief Serialize the metadata for this render pass workload.
445445 *
446- * @param renderpass The render pass to serialize
446+ * @param renderPass The render pass to serialize
447447 * @param debugLabel The debug label stack of the VkQueue at submit time.
448448 */
449- Comms::MessageData serialize (const Tracker::LCSRenderPass& renderpass , const std::vector<std::string>& debugLabel)
449+ Comms::MessageData serialize (const Tracker::LCSRenderPass& renderPass , const std::vector<std::string>& debugLabel)
450450{
451451 using namespace pp ;
452452
453453 // Draw count for a multi-submit command buffer cannot be reliably
454454 // associated with a single tagID if restartable across command buffer
455455 // boundaries because different command buffer submit combinations can
456456 // result in different draw counts for the same starting tagID.
457- const auto drawCount = (!renderpass .isOneTimeSubmit () && renderpass .isSuspending ()
457+ const auto drawCount = (!renderPass .isOneTimeSubmit () && renderPass .isSuspending ()
458458 ? -1
459- : static_cast <int64_t >(renderpass .getDrawCallCount ()));
459+ : static_cast <int64_t >(renderPass .getDrawCallCount ()));
460460
461461 // Make the attachments array
462- const auto & attachments = renderpass .getAttachments ();
462+ const auto & attachments = renderPass .getAttachments ();
463463 std::vector<RenderpassAttachment> attachmentsMsg {};
464464 attachmentsMsg.reserve (attachments.size ());
465465
466466 for (const auto & attachment : attachments)
467467 {
468- const auto [type, index] = mapRenderpassAttachmentName (attachment.getAttachmentName ());
468+ const auto [type, index] = mapRenderPassAttachmentName (attachment.getAttachmentName ());
469469
470470 attachmentsMsg.emplace_back (type,
471471 index,
@@ -479,11 +479,11 @@ Comms::MessageData serialize(const Tracker::LCSRenderPass& renderpass, const std
479479
480480 return packBuffer (" renderpass" _f,
481481 BeginRenderpass {
482- renderpass .getTagID (),
483- renderpass .getWidth (),
484- renderpass .getHeight (),
482+ renderPass .getTagID (),
483+ renderPass .getWidth (),
484+ renderPass .getHeight (),
485485 drawCount,
486- renderpass .getSubpassCount (),
486+ renderPass .getSubpassCount (),
487487 debugLabel,
488488 std::move (attachmentsMsg),
489489 });
@@ -492,7 +492,7 @@ Comms::MessageData serialize(const Tracker::LCSRenderPass& renderpass, const std
492492/* *
493493 * @brief Serialize the metadata for this render pass continuation workload.
494494 *
495- * @param continuation The renderpass continuation to serialize
495+ * @param continuation The render pass continuation to serialize
496496 * @param tagIDContinuation The ID of the workload if this is a continuation of it.
497497 */
498498Comms::MessageData serialize (const Tracker::LCSRenderPassContinuation& continuation, uint64_t tagIDContinuation)
@@ -681,19 +681,19 @@ void TimelineProtobufEncoder::emitSubmit(VkQueue queue, uint64_t timestamp)
681681 }));
682682}
683683
684- void TimelineProtobufEncoder::operator ()(const Tracker::LCSRenderPass& renderpass ,
684+ void TimelineProtobufEncoder::operator ()(const Tracker::LCSRenderPass& renderPass ,
685685 const std::vector<std::string>& debugStack)
686686{
687- device.txMessage (serialize (renderpass , debugStack));
687+ device.txMessage (serialize (renderPass , debugStack));
688688}
689689
690690void TimelineProtobufEncoder::operator ()(const Tracker::LCSRenderPassContinuation& continuation,
691691 const std::vector<std::string>& debugStack,
692- uint64_t renderpassTagID )
692+ uint64_t renderPassTagID )
693693{
694694 UNUSED (debugStack);
695695
696- device.txMessage (serialize (continuation, renderpassTagID ));
696+ device.txMessage (serialize (continuation, renderPassTagID ));
697697}
698698
699699void TimelineProtobufEncoder::operator ()(const Tracker::LCSDispatch& dispatch,
0 commit comments