mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-22 13:52:23 -08:00
checkpoint on moving all of radbin to wavefront-style, first step to going wide on rdi baking as well
This commit is contained in:
1 parent
d8bb8c76c6
commit
69d0da9586
8 files changed
+148
-124
No files matched your search
@@ -75,11 +75,13 @@ tctx_get_scratch(Arena **conflicts, U64 count)
|
||||
|
||||
//- rjf: lane metadata
|
||||
|
||||
internal void
|
||||
internal LaneCtx
|
||||
tctx_set_lane_ctx(LaneCtx lane_ctx)
|
||||
{
|
||||
TCTX *tctx = tctx_selected();
|
||||
LaneCtx restore = tctx->lane_ctx;
|
||||
tctx->lane_ctx = lane_ctx;
|
||||
return restore;
|
||||
}
|
||||
|
||||
internal void
|
||||
|
||||
@@ -51,7 +51,7 @@ internal Arena *tctx_get_scratch(Arena **conflicts, U64 count);
|
||||
#define scratch_end(scratch) temp_end(scratch)
|
||||
|
||||
//- rjf: lane metadata
|
||||
internal void tctx_set_lane_ctx(LaneCtx lane_ctx);
|
||||
internal LaneCtx tctx_set_lane_ctx(LaneCtx lane_ctx);
|
||||
internal void tctx_lane_barrier_wait(void);
|
||||
internal Rng1U64 tctx_lane_idx_range_from_count(U64 count);
|
||||
#define lane_idx() (tctx_selected()->lane_ctx.lane_idx)
|
||||
|
||||
Reference in new issue
Block a user