summaryrefslogtreecommitdiff
path: root/src/gpu/gpu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gpu.cc')
-rw-r--r--src/gpu/gpu.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gpu/gpu.cc b/src/gpu/gpu.cc
index a463a10..0be5afe 100644
--- a/src/gpu/gpu.cc
+++ b/src/gpu/gpu.cc
@@ -252,7 +252,7 @@ RenderPass gpu_create_render_pass(WGPUDevice device, WGPUTextureFormat format,
pipeline_desc.multisample.mask = 0xFFFFFFFF;
pipeline_desc.fragment = &fragment_state;
- // No depth stencil for v2 effects (v1 removed)
+ // No depth stencil for post-process effects
pipeline_desc.depthStencil = nullptr;
pass.pipeline = wgpuDeviceCreateRenderPipeline(device, &pipeline_desc);
@@ -437,12 +437,11 @@ void gpu_init(PlatformState* platform_state) {
InitShaderComposer();
- // V2: Sequences initialized by InitializeV2Sequences() called from main
}
void gpu_draw(float audio_peak, float aspect_ratio, float time, float beat_time,
float beat_phase) {
- // V2: Rendering handled by RenderV2Timeline() called from main
+ // Rendering is driven externally via the sequence pipeline
(void)audio_peak;
(void)aspect_ratio;
(void)time;
@@ -456,7 +455,7 @@ void gpu_resize(int width, int height) {
g_config.width = width;
g_config.height = height;
wgpuSurfaceConfigure(g_surface, &g_config);
- // V2: Resize handled by RenderV2Timeline() framebuffer recreation
+ // Framebuffer recreation is handled externally by the sequence pipeline
}
const GpuContext* gpu_get_context() {
@@ -468,5 +467,5 @@ WGPUSurface gpu_get_surface() {
}
void gpu_shutdown() {
- // V2: Shutdown handled by sequence cleanup
+ // Cleanup is handled by sequence and platform shutdown
}