|  |  |  | @ -1,13 +1,6 @@ | 
		
	
		
			
				|  |  |  |  | #include "draw.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) { | 
		
	
		
			
				|  |  |  |  |   UIPushConstant push = { | 
		
	
		
			
				|  |  |  |  |     .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) { | 
		
	
		
			
				|  |  |  |  |   UIPushConstant push = { | 
		
	
		
			
				|  |  |  |  |     .time = (float)time, | 
		
	
	
		
			
				
					|  |  |  | 
 |