Commit Graph

714 Commits

Author SHA1 Message Date
1dd5bf90d0 yield sleep testing 2025-07-09 22:04:11 -05:00
cc51fe29a7 add scheduler thread for waking yields with timeout 2025-07-09 20:42:48 -05:00
e878a2c96f formatting 2025-07-09 14:43:51 -05:00
4dab156b5f atomically load wait address value 2025-07-09 14:16:37 -05:00
166db8575b consolidate yielder & fiber_ctx into fiber struct 2025-07-09 13:39:02 -05:00
5dd56dea5c formatting 2025-07-09 11:38:22 -05:00
0a3e9adcbd reset mutex spin count after wait 2025-07-07 02:55:56 -05:00
e720e7e2af worker sleeping 2025-07-06 22:47:08 -05:00
2b08223472 add SYS_PRIORITY_INHERIT 2025-07-06 18:06:25 -05:00
a397458c72 mutex spinning 2025-07-06 17:46:10 -05:00
994ed1e1e1 use SI units for size macros 2025-07-06 16:25:39 -05:00
69a8a7aa9a move synchronization primitives out of sys layer 2025-07-06 16:20:07 -05:00
8c080477a6 snc funcs to temporarily replace old sys mutex & cv 2025-07-06 15:32:05 -05:00
32b82f4417 locks wip 2025-07-06 15:21:33 -05:00
a9bcab1b78 allow color & values for profiling 2025-07-06 14:37:17 -05:00
60613815d7 wrap tracy fiber funcs in NO_INLINE 2025-07-06 13:15:16 -05:00
40dcdb40dc fiber wait wip 2025-07-05 22:40:39 -05:00
d47b951b82 wait / wake wip 2025-07-05 21:01:30 -05:00
ba3a2454db blockable counter waiters 2025-07-05 18:31:10 -05:00
402f8a12c9 waiter testing 2025-07-05 18:04:13 -05:00
5e99224b28 allocate counters in sys layer 2025-07-05 16:18:07 -05:00
ca5c1d6ee3 rename 'runner' -> 'worker' 2025-07-05 15:43:18 -05:00
55187aed97 remove old job system 2025-07-05 14:44:00 -05:00
e2a0d38e70 fiber testing 2025-07-05 13:45:10 -05:00
53f38271e6 delete dx11 backend 2025-07-03 23:36:10 -05:00
aca087104a formatting 2025-07-03 20:14:58 -05:00
514c2a6496 fibers wip 2025-07-03 19:53:59 -05:00
ca94dbec3e launch profiler capture program at start 2025-07-03 14:32:21 -05:00
fdf35c698d use compiler static assert when possible 2025-07-03 13:02:16 -05:00
05ce4f32a1 remove scratch.h 2025-07-03 12:29:09 -05:00
6841ff9784 remove thread local storage 2025-07-03 12:20:17 -05:00
fe40690871 fibers test wip 2025-07-02 14:56:49 -05:00
b017a9a477 rename atomic eval -> fetch 2025-07-02 13:26:34 -05:00
f26339ffc3 fiber testing 2025-07-02 13:12:31 -05:00
d7f0cb2d5e move tracy src file compilation from build system to src file 2025-07-01 17:08:32 -05:00
d38046a007 formatting 2025-07-01 16:17:15 -05:00
1a19a9e693 atomic lock for jobs 2025-07-01 02:37:46 -05:00
15d8fb19d2 use global lock for jobs 2025-07-01 01:41:53 -05:00
892daa5ed2 call resource callbacks in job 2025-07-01 01:03:06 -05:00
fea0346982 pinned jobs 2025-06-30 20:00:11 -05:00
749cc0f625 replace job system w/ with one that makes data parallelism easier 2025-06-30 15:39:48 -05:00
2f8ca7c2f5 remove gp_handle, use raw pointer 2025-06-27 01:29:36 -05:00
83e10a3fd5 allow vsync 2025-06-27 01:01:15 -05:00
5a14818f88 profalloc correct arena size 2025-06-26 01:11:02 -05:00
af4391300c gpu evictor thread 2025-06-26 00:47:12 -05:00
130b90bf7a fix resize bug 2025-06-25 21:18:05 -05:00
9e0696d183 push & process commands separately 2025-06-25 20:25:08 -05:00
e503fc9bdf d3d12 profiling 2025-06-25 16:17:14 -05:00
a0f659959d shape drawing 2025-06-25 13:10:59 -05:00
5a9d9debba shape shader start 2025-06-25 00:11:05 -05:00
5bdaba67e7 add grid to material shader 2025-06-24 17:25:29 -05:00
520dd6c874 pipeline cache 2025-06-24 15:30:14 -05:00
214e794ec4 blit shader 2025-06-23 18:54:11 -05:00
01aff521da use root constants 2025-06-23 16:38:55 -05:00
ccf47c03f6 formatting 2025-06-23 15:23:45 -05:00
7a4554ba99 clear render target 2025-06-23 15:08:41 -05:00
878ff5cba5 blend state 2025-06-23 14:39:42 -05:00
acc1fd69f1 texture upload test 2025-06-23 14:26:41 -05:00
b96465191e dx12 present testing 2025-06-19 22:24:56 -05:00
92258b6f3e allow unbounded descriptor tables 2025-06-19 18:00:56 -05:00
9de72dceba dx12 cmd test 2025-06-19 16:18:40 -05:00
15b4ca9442 rename gp plan -> flow 2025-06-19 16:00:53 -05:00
8ff4ec4a12 command buffer mapping 2025-06-19 15:58:34 -05:00
4313b1c768 rename layer 'gpu' -> 'gp' 2025-06-19 14:51:06 -05:00
40e7abcc4e dx12 command buffers 2025-06-19 14:40:08 -05:00
99431ebdfa move shader structs into shared header 2025-06-18 20:48:09 -05:00
1e06520d99 create & track gpu descriptor heaps on command lists 2025-06-18 18:38:06 -05:00
b93973720f formatting 2025-06-18 16:22:28 -05:00
3895e252f9 retrieve tracy path from environment variable during build 2025-06-18 15:08:53 -05:00
1f893385ef move tracy headers out of source tree 2025-06-18 15:08:22 -05:00
d51c694795 sprite prefetch 2025-06-18 14:21:35 -05:00
657e48d7b1 formatting 2025-06-17 23:31:50 -05:00
b50ba7d4e2 move mutexes & cvs into opaque ptrs 2025-06-17 23:30:59 -05:00
04f4c3a180 convert sys thread & watch structs to opaque ptrs 2025-06-17 23:06:42 -05:00
0055626fe6 formatting 2025-06-17 22:54:40 -05:00
743738ac30 determine arena base implicitly 2025-06-17 22:41:50 -05:00
17a8284e6c store arena struct in first block 2025-06-17 22:34:47 -05:00
cfd8fb5f21 store arena in its own committed memory 2025-06-17 22:21:58 -05:00
1f7afffe32 dx12 progress 2025-06-17 21:10:33 -05:00
13f5348265 submit plan data implicitly 2025-06-17 18:52:43 -05:00
9aad25a699 remove dispatch_state 2025-06-17 18:46:43 -05:00
894044669c formatting 2025-06-17 17:47:47 -05:00
7b0c95d403 don't expose backbuffer texture to user (blit internally during present) 2025-06-17 17:39:40 -05:00
0c0cfdde08 set draw target xform per-dispatch 2025-06-17 16:47:21 -05:00
29ec298b48 dx12 progress 2025-06-17 15:21:26 -05:00
68c116095c rename gpu_cmd_list -> gpu_plan 2025-06-10 00:04:39 -05:00
1c18cba5f8 –depluralize res dirs 2025-06-08 20:26:01 -05:00
67335eaa85 rename res/fx -> res/sh 2025-06-08 20:22:24 -05:00
012d0aaf07 rename res/gpu -> res/fx 2025-06-08 20:18:03 -05:00
1655d699ce validate shader source file exists 2025-06-08 19:36:30 -05:00
54a8a45835 validate dx12 root signature presence. create debug log arena before registering callback 2025-06-08 18:47:25 -05:00
c9cd9d0b18 merge conflict 2025-06-08 16:24:29 -05:00
5a05229267 Merge branch 'master' of https://cabin.dumbtime.com/jcl1234/power_play 2025-06-08 16:22:58 -05:00
934dd0f13f use 32 bit indices for mesh buffer 2025-06-08 16:15:58 -05:00
0a49253d4a formatting 2025-06-08 16:08:12 -05:00
b87ef382d4 rename dx12 shader -> pipeline 2025-06-08 14:55:36 -05:00
7229daf49c draw collider fast path when radius=0 2025-06-08 14:10:27 -05:00
05668865a7 rename temp_arena -> arena_temp 2025-06-07 21:20:35 -05:00
df4eb24fe3 rename gpu_cmd_store -> gpu_cmd_list 2025-06-07 20:26:20 -05:00
74609cdb3c shader PSO creation 2025-06-07 20:20:21 -05:00