From 945f84d0a1201b60dc470331d38ff6c1853a1149 Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 7 May 2024 10:51:37 +1000 Subject: framebuffers, and create commandbuffer --- src/renderer/ral.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/renderer/ral.h') diff --git a/src/renderer/ral.h b/src/renderer/ral.h index 15c66ef..b09e1ae 100644 --- a/src/renderer/ral.h +++ b/src/renderer/ral.h @@ -80,8 +80,9 @@ void gpu_pipeline_destroy(gpu_pipeline* pipeline); bool gpu_swapchain_create(gpu_swapchain* out_swapchain); void gpu_swapchain_destroy(gpu_swapchain* swapchain); -void gpu_cmd_encoder_begin(); -void gpu_cmd_encoder_begin_render(); +gpu_cmd_encoder gpu_cmd_encoder_create(); +void gpu_cmd_encoder_begin(gpu_cmd_encoder encoder); +void gpu_cmd_encoder_begin_render(gpu_renderpass* renderpass); void gpu_cmd_encoder_begin_compute(); /* Actual commands that we can encode */ -- cgit v1.2.3-70-g09d2