|
|
13e1860656
|
merge addr & time wake logic into function call
|
2025-07-10 23:16:51 -05:00 |
|
|
|
7e81231639
|
double buffer sys events and pass into present job
|
2025-07-10 21:59:53 -05:00 |
|
|
|
66bae61b1a
|
schedule user update from sys scheduler
|
2025-07-10 18:32:26 -05:00 |
|
|
|
b270737bec
|
move latency waitable to end of present
|
2025-07-10 15:06:31 -05:00 |
|
|
|
63a8dc7595
|
use ticket mutex for wait bins
|
2025-07-10 14:08:41 -05:00 |
|
|
|
e3e0a98456
|
wait on frame latency object
|
2025-07-10 13:55:10 -05:00 |
|
|
|
c548eacd35
|
sys wake count
|
2025-07-10 13:32:49 -05:00 |
|
|
|
905151abe9
|
replace null, true, false with integers in code
|
2025-07-10 13:11:36 -05:00 |
|
|
|
a1e062f362
|
formatting
|
2025-07-10 12:50:44 -05:00 |
|
|
|
6838c7ac02
|
add padded atomic types
|
2025-07-10 12:47:12 -05:00 |
|
|
|
915a9272e4
|
align & pad snc structs to cache line
|
2025-07-10 11:43:24 -05:00 |
|
|
|
f1f54fe519
|
more sleep yield testing
|
2025-07-10 11:16:15 -05:00 |
|
|
|
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 |
|
|
|
0551148ae8
|
dx12 shader compilation setup
|
2025-06-07 16:03:27 -05:00 |
|
|
|
5daf408aac
|
remove device = null test
|
2025-06-06 22:40:01 -05:00 |
|
|
|
87876f1a1f
|
remove device = null test
|
2025-06-06 22:36:09 -05:00 |
|
|
|
f1ac650471
|
create separate dx12 direct & compute queues
|
2025-06-06 21:26:06 -05:00 |
|
|
|
45afac951a
|
remove dx12 mesh shader feature requirement
|
2025-06-06 19:00:20 -05:00 |
|
|
|
4fb1e0231b
|
more dx12 initialization
|
2025-06-06 18:54:15 -05:00 |
|
|
|
50ca2387fa
|
release dx12 objects on exit
|
2025-06-06 17:31:36 -05:00 |
|
|
|
d0ec962123
|
dx12 testing
|
2025-06-04 00:29:25 -05:00 |
|
|
|
da2de90de1
|
unify gpu api types into 'gpu_handle'
|
2025-06-03 16:54:57 -05:00 |
|
|
|
4bc7d2a589
|
cleanup
|
2025-06-03 15:28:25 -05:00 |
|
|
|
f3ca533817
|
gpu pass -> dispatch
|
2025-06-03 15:10:25 -05:00 |
|
|
|
fae10387cd
|
light testing setup. backbuffer resize delay.
|
2025-06-02 22:54:50 -05:00 |
|
|
|
c6e70e201e
|
formatting
|
2025-06-02 20:36:31 -05:00 |
|
|
|
e7bdb1c24f
|
wait on swapchain to reduce vsync latency
|
2025-06-02 19:32:54 -05:00 |
|
|
|
c7b5a41523
|
gpu run -> gpu pass. use per-run pass params. set draw view via gpu cmd
|
2025-06-02 17:06:30 -05:00 |
|
|
|
ec77a62fda
|
gpu run state
|
2025-06-02 16:26:54 -05:00 |
|
|
|
88a1ad1450
|
dx11_unbind. test shader.
|
2025-06-02 15:21:16 -05:00 |
|
|
|
40a20439e5
|
fix contact direction skip not updating
|
2025-05-28 03:43:34 -05:00 |
|
|
|
6926bdfa5a
|
create contacts but skip solve based on wall direction
|
2025-05-28 03:33:29 -05:00 |
|
|
|
8aa9f1402b
|
use float2x3 for xforms in shaders
|
2025-05-28 03:24:26 -05:00 |
|
|
|
dc46fb270d
|
readd mesh shader
|
2025-05-27 04:25:59 -05:00 |
|
|
|
ee96df51e3
|
readd grid shader w/ instancing
|
2025-05-27 03:51:09 -05:00 |
|
|
|
e040c00222
|
use indexed instancing for quads
|
2025-05-27 03:31:52 -05:00 |
|
|
|
1072f3225c
|
xform_from_rect
|
2025-05-27 02:10:18 -05:00 |
|
|
|
91f89ac65b
|
gpu layer refactoring progress
|
2025-05-27 01:57:47 -05:00 |
|
|
|
721151f04a
|
shader global naming
|
2025-05-25 23:17:34 -05:00 |
|
|
|
3d48c0c3de
|
fix rotating shapes phasing through collisions
|
2025-05-25 21:43:13 -05:00 |
|
|
|
53d03f1684
|
debug & time logs in console
|
2025-05-24 16:28:28 -05:00 |
|
|
|
751472eb86
|
debug console different size when minimized
|
2025-05-24 13:59:57 -05:00 |
|
|
|
d48706d1f7
|
simple in-game debug console
|
2025-05-24 13:49:22 -05:00 |
|
|
|
716a26e42c
|
allow text color
|
2025-05-24 09:09:53 -05:00 |
|
|
|
f6b4e3ed35
|
draw_text params struct
|
2025-05-24 03:47:47 -05:00 |
|
|
|
99d95d882f
|
draw_text alignment
|
2025-05-24 03:27:47 -05:00 |
|
|
|
36c298fabc
|
position debug text on bottom of screen
|
2025-05-23 23:54:02 -05:00 |
|
|
|
e2d7e84754
|
rename res/graphics -> res/sprites
|
2025-05-23 23:37:26 -05:00 |
|
|
|
2dc481bfc0
|
don't prefix resource names with res directory. check for resource existence after opening.
|
2025-05-23 23:35:43 -05:00 |
|
|
|
ad05469411
|
shader_unset_dirty
|
2025-05-23 21:59:45 -05:00 |
|
|
|
332e8fdf2c
|
shader semantic macros
|
2025-05-23 21:12:44 -05:00 |
|
|
|
85bac53e78
|
rename 'renderer' -> 'gpu'
|
2025-05-23 20:43:51 -05:00 |
|
|
|
b228ffe7b6
|
hot reloading for included shaders
|
2025-05-23 20:04:59 -05:00 |
|
|
|
a1fcf2ce08
|
shader include handler
|
2025-05-23 16:21:47 -05:00 |
|
|
|
7c1eae3b8c
|
srgb aware rendering
|
2025-05-23 00:40:51 -05:00 |
|
|
|
b0ffb143f2
|
don't merge walls with different collision directions
|
2025-05-22 15:36:19 -05:00 |
|
|
|
6c884a2228
|
comment
|
2025-05-22 14:44:07 -05:00 |
|
|
|
15d3efe346
|
comment
|
2025-05-22 14:39:36 -05:00 |
|
|
|
e9c7cced16
|
one directional wall testing
|
2025-05-22 01:17:08 -05:00 |
|
|
|
92bb82cdb4
|
sort tile chunks by x & y separately to fix bug
|
2025-05-21 23:01:40 -05:00 |
|
|
|
d9f841dad6
|
vram profiling
|
2025-05-21 22:10:30 -05:00 |
|
|
|
a47009f16b
|
cross-chunk tile wall merging
|
2025-05-21 21:17:04 -05:00 |
|
|
|
4bc6ca6679
|
vertical wall generation
|
2025-05-21 18:23:01 -05:00 |
|
|
|
c15f52032f
|
horizontal wall generation testing
|
2025-05-21 17:52:25 -05:00 |
|
|
|
478f077030
|
tile chunk testing
|
2025-05-21 16:59:54 -05:00 |
|
|
|
fa4f750beb
|
rename 'fixed_dict' -> 'dict'
|
2025-05-21 14:14:05 -05:00 |
|
|
|
9e804186c2
|
pass hash directly into fixed dict funtions
|
2025-05-21 14:03:46 -05:00 |
|
|
|
6d561010cf
|
don't store key in fixed dict
|
2025-05-21 13:59:43 -05:00 |
|
|
|
3a8a66850d
|
tile testing
|
2025-05-21 13:10:58 -05:00 |
|
|
|
7c9a07ff94
|
gpu profiling. proper vsync disabling
|
2025-05-20 23:52:41 -05:00 |
|
|
|
cdb5eeea63
|
tracy lock C api internals simplification
|
2025-05-20 18:06:11 -05:00 |
|
|
|
079ae4c47c
|
fix mouse joint instability
|
2025-05-20 00:26:38 -05:00 |
|
|
|
60c17aac63
|
bouncier chucker joint. checkered grid shader
|
2025-05-19 23:44:13 -05:00 |
|
|
|
9e8e800e9d
|
weld joint angular
|
2025-05-19 19:53:14 -05:00 |
|
|
|
fd365313b3
|
weld joint linear part working
|
2025-05-19 19:11:19 -05:00 |
|
|
|
8062529c72
|
fix angular spring hz def
|
2025-05-19 14:00:48 -05:00 |
|
|
|
6c8017b97f
|
calculate constraint softness dynamically
|
2025-05-19 13:53:36 -05:00 |
|
|
|
3b19e1260e
|
call collision callbacks during contact creation loop
|
2025-05-17 07:59:54 -05:00 |
|
|
|
2c6dc93167
|
chucker testing. always insert collision callback data.
|
2025-05-16 21:39:10 -05:00 |
|
|
|
88dc2a22ab
|
chucker sensor
|
2025-05-16 21:21:22 -05:00 |
|
|
|
c432ca5b77
|
chucker start
|
2025-05-16 19:59:20 -05:00 |
|
|
|
1943b2d81b
|
continuous teleporting
|
2025-05-16 17:54:24 -05:00 |
|
|
|
e4a4e33232
|
add collision props that are separate from dynamic & kinematic props
|
2025-05-16 17:17:37 -05:00 |
|
|
|
e24591c13c
|
cubic explosion strength
|
2025-05-16 14:28:22 -05:00 |
|
|
|
98c238ff79
|
some temporary color pallete defines
|
2025-05-16 13:25:08 -05:00 |
|
|
|
c895c9e617
|
change epa validity_epsilon as a temporary fix for unstable rounded edge collisions
|
2025-05-16 13:24:25 -05:00 |
|
|
|
f4c8264c96
|
spawn1 & spawn2 commands
|
2025-05-16 12:05:37 -05:00 |
|
|
|
84b0caf379
|
sys_thread_try_release
|
2025-05-16 11:10:37 -05:00 |
|
|
|
0b3767df3a
|
update collider debug logic so it works again. add debug teleport
|
2025-05-16 10:32:07 -05:00 |
|
|
|
1fbe42b3b9
|
use default aspect ratio when no camera exists
|
2025-05-16 09:53:01 -05:00 |
|
|
|
6ac44c3de9
|
run collision callbacks twice. process explosion blast collision in collision callback
|
2025-05-16 09:30:39 -05:00 |
|
|
|
855fa051d0
|
start explosion work
|
2025-05-16 08:15:21 -05:00 |
|
|
|
2c0b2fcc36
|
convert some arena no_zero pushes to zeroed style
|
2025-05-15 09:09:00 -05:00 |
|
|
|
57174796b9
|
arena push zero by default
|
2025-05-15 08:42:12 -05:00 |
|
|
|
38f88e3cc7
|
fix accidental extra frame of input latency
|
2025-05-15 08:09:34 -05:00 |
|
|
|
12e5cbe7cc
|
some pausing fixes
|
2025-05-15 07:48:28 -05:00 |
|
|
|
5e81b78ac1
|
re-add sim pausing & stepping
|
2025-05-15 05:27:33 -05:00 |
|
|
|
50713144f6
|
rename SIM_ENT_PROP -> SEPROP
|
2025-05-15 04:07:35 -05:00 |
|
|
|
f7c994678d
|
fix entries always out of date
|
2025-05-15 04:01:45 -05:00 |
|
|
|
fafbfbfa6a
|
sprite hot-reload without prematurely unloading (remove reload flicker)
|
2025-05-15 02:46:33 -05:00 |
|
|
|
282f89f4fa
|
search sprite scope for entry first
|
2025-05-15 00:57:07 -05:00 |
|