Removed comment

main
noah metz 2024-10-24 20:51:08 -06:00
parent e4649bc5f1
commit 14a87c8269
1 changed files with 0 additions and 14 deletions

@ -1,13 +1,6 @@
#include "draw.h" #include "draw.h"
#include "gpu.h" #include "gpu.h"
/*
* Must be updated if any of the following changes
* - ui_context->max_containers <- uint32
* - ui_context->containers[*].layer_count <- uint32
* - ui_context->containers[*].layers[*].address <- device address
* Basically, needs to be re-run whenever the number of layers/containers changes
*/
void record_ui_compute(VkCommandBuffer command_buffer, UIContext* ui_context, double time) { void record_ui_compute(VkCommandBuffer command_buffer, UIContext* ui_context, double time) {
UIPushConstant push = { UIPushConstant push = {
.time = (float)time, .time = (float)time,
@ -64,13 +57,6 @@ void record_ui_compute(VkCommandBuffer command_buffer, UIContext* ui_context, do
} }
} }
/*
* Must be updated if any of the following changes
* - ui_context->max_containers <- uint32
* - ui_context->containers[*].layer_count <- uint32
* - ui_context->containers[*].layers[*].address <- device address
* Basically, needs to be re-run whenever the number of layers/containers changes
*/
void record_ui_draw(VkCommandBuffer command_buffer, UIContext* ui_context, double time) { void record_ui_draw(VkCommandBuffer command_buffer, UIContext* ui_context, double time) {
UIPushConstant push = { UIPushConstant push = {
.time = (float)time, .time = (float)time,