The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/{client,main,util}: Improve comments

+3 -3
+1 -1
src/xrt/compositor/client/comp_vk_client.c
··· 917 917 return c; 918 918 } 919 919 920 - // Create a dummy VkCommandBuffer and submit it to the VkQueue, just for inserting a debug label into 920 + // Create a no-op VkCommandBuffer and submit it to the VkQueue, just for inserting a debug label into 921 921 // RenderDoc for triggering the capture. 922 922 ret = vk_cmd_pool_create_begin_insert_label_and_end_cmd_buffer_locked( 923 923 vk, &c->pool, "vr-marker,frame_end,type,application", &c->dcb);
+1 -1
src/xrt/compositor/main/comp_renderer.c
··· 862 862 // Resources for the distortion render target. 863 863 struct render_gfx_target_resources *rtr = &r->rtr_array[r->acquired_buffer]; 864 864 865 - // Sanity check. 865 + // Consistency check. 866 866 assert(!fast_path || c->base.slot.layer_count >= 1); 867 867 868 868 // Viewport information.
+1 -1
src/xrt/compositor/util/comp_render_gfx.c
··· 811 811 // Only used if fast_path is true. 812 812 const struct comp_layer *layer = &layers[0]; 813 813 814 - // Sanity check. 814 + // Consistency check. 815 815 assert(!fast_path || layer_count >= 1); 816 816 817 817 if (fast_path && layer->data.type == XRT_LAYER_PROJECTION) {