From b363160103b53d7de1ee26f3d4a34fd83ba66a46 Mon Sep 17 00:00:00 2001 From: jacob Date: Wed, 14 Jan 2026 12:29:15 -0600 Subject: [PATCH] tweaking --- src/proto/proto.c | 10 +++++----- src/proto/proto.lay | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/proto/proto.c b/src/proto/proto.c index a5c77f64..51d55fd5 100644 --- a/src/proto/proto.c +++ b/src/proto/proto.c @@ -21,7 +21,7 @@ void PT_RunForever(WaveLaneCtx *lane) // Push resources Vec2I32 final_target_size = window_frame.draw_size; G_ResourceHandle final_target = G_PushTexture2D( - gpu_frame_arena, + gpu_frame_arena, cl, G_Format_R16G16B16A16_Float, final_target_size, G_Layout_DirectQueue_ShaderReadWrite, @@ -36,7 +36,7 @@ void PT_RunForever(WaveLaneCtx *lane) { G_SetConstant(cl, PT_ShaderConst_TestTarget, final_target_rwhandle); G_SetConstant(cl, PT_ShaderConst_TestConst, 3.123); - G_SetConstant(cl, PT_ShaderConst_BlitSampler, G_BasicPointSampler); + G_SetConstant(cl, PT_ShaderConst_BlitSampler, G_BasicPointClampSampler()); G_SetConstant(cl, PT_ShaderConst_BlitSrc, final_target_rhandle); G_SetConstant(cl, PT_ShaderConst_NoiseTex, G_BasicNoiseTexture()); } @@ -58,8 +58,8 @@ void PT_RunForever(WaveLaneCtx *lane) G_Rasterize( cl, PT_BlitVS, PT_BlitPS, - 1, G_GetSharedQuadIndices(), - 1, &window_frame.backbuffer, + 1, G_QuadIndices(), + 1, &G_Rt(window_frame.backbuffer, G_BlendMode_CompositeStraightAlpha), G_ViewportFromTexture(window_frame.backbuffer), G_ScissorFromTexture(window_frame.backbuffer), G_RasterMode_TriangleList ); @@ -78,7 +78,7 @@ void PT_RunForever(WaveLaneCtx *lane) G_CommitCommandList(cl); } } - WND_EndFrame(window_frame, VSYNC); + WND_EndFrame(window_frame, 1); } } diff --git a/src/proto/proto.lay b/src/proto/proto.lay index e0b47ff3..c9c49d6e 100644 --- a/src/proto/proto.lay +++ b/src/proto/proto.lay @@ -5,7 +5,6 @@ @Dep gpu @Dep window -@Dep ui ////////////////////////////// //- Resources