Commit Graph

736 Commits

Author SHA1 Message Date
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
f213593cdc track sprite cache bin num_out_of_date_entries 2025-05-15 00:05:23 -05:00
8310bba397 avoid mid-scope change to reloaded sprite 2025-05-14 14:05:21 -05:00
885652082d circular tim 2025-05-14 09:07:30 -05:00
bf96dbb46a sprite cache ref struct 2025-05-14 07:29:23 -05:00
dfe0034154 rename sprite cache_node -> cache_entry 2025-05-14 05:14:10 -05:00
5b13d4cd02 sprite cache memory budget threshold & target 2025-05-14 05:03:23 -05:00
c93b2829ce get rid of sprite tctx 2025-05-14 04:12:17 -05:00
d0be0d8908 simpler sprite evict sorting logic 2025-05-14 03:08:03 -05:00
c3d0869707 fix dangling resource watch monitor thread 2025-05-13 09:25:48 -05:00
bca9c68022 use CAS(0, 0) for atomic evals for now 2025-05-13 07:52:29 -05:00
d8f1d646da fix resource watch list merging & deduplication 2025-05-13 06:49:33 -05:00
726ad90784 fix sprite force evict sorting 2025-05-13 06:08:28 -05:00
79ce7a9d6e delay & deduplicate resource watch events 2025-05-13 05:33:59 -05:00
9fd87d9675 sprite: use new notify reloading & allow reloading while out-of-date node is referenced 2025-05-13 03:38:08 -05:00
86a696a70a resource reloading via file change notifications 2025-05-13 00:41:44 -05:00
abac85d324 shader hot reloading 2025-05-07 16:57:36 -05:00
58b31f9192 zerodef tile cache stuff for now 2025-04-24 17:18:55 -05:00
fc3c67b445 tiles in progress 2025-04-24 13:21:36 -05:00
f821ce6490 fix mouse4 & mouse5 sys btn 2025-03-01 13:36:30 -06:00
b909a392f1 fix some warnings 2025-03-01 11:46:29 -06:00
0b92a1e8a4 cmd_kind. fix aabb draw 2025-03-01 09:39:00 -06:00
d16fdcd260 rename 'client_ent' -> 'player' 2025-02-28 17:42:26 -06:00
d0bfbfeb2d master snapshot blending 2025-02-28 15:27:02 -06:00
7e7e6a8f87 debug follow 2025-02-27 18:07:49 -06:00
55a4b904e0 fix publish client ents losing sync props 2025-02-27 12:44:36 -06:00
942810c194 store separate counter & seed in rand state 2025-02-27 10:22:23 -06:00
b9530f6c7a use rand_state for rng 2025-02-27 09:17:21 -06:00
48999f5ab4 remove embedded noise data, mix bits for determinism instead 2025-02-27 08:18:14 -06:00
bd693ac1eb prediction progress 2025-02-26 16:45:11 -06:00
6955da8fd1 prediction progress 2025-02-26 13:24:48 -06:00
153290d57e bitbuff dbg markers, rough arg parsing 2025-02-26 11:36:34 -06:00
f9cbe61b7b separate host_update into host_update_begin & host_update_end 2025-02-26 08:28:50 -06:00
89a4b3b22f use full rtt instead of half rtt for determining simulation tick count 2025-02-26 07:58:05 -06:00
6442998795 host channel heartbeat for rtt 2025-02-25 19:39:47 -06:00
a364f311d1 prediction progress 2025-02-25 18:41:39 -06:00
79b32b187a predict collisions w/ server ents as having infinite mass 2025-02-25 17:19:44 -06:00
48dbcacd45 working prediction prototype 2025-02-25 16:08:26 -06:00
a16a60dd5d prediction progress 2025-02-25 14:56:14 -06:00
2769e98450 prediction progress 2025-02-25 14:02:59 -06:00
a6d103f391 rename all 'buckets' -> 'bins' 2025-02-25 12:03:13 -06:00
50da5f1bc6 prediction progress 2025-02-25 11:55:07 -06:00
7ab7af81a3 prediction progress 2025-02-25 08:05:58 -06:00
a8246541e9 encode sim id buckets for now 2025-02-24 14:21:23 -06:00
944be252c5 replace entity handles with uids 2025-02-24 11:41:36 -06:00
fca945736b uid fmt 2025-02-24 09:02:06 -06:00
2a93940bff remove u128 2025-02-24 08:50:37 -06:00
f0834c203f prediction progress 2025-02-23 04:18:14 -06:00
4d419da97b gstat 2025-02-23 03:23:17 -06:00
ca731215ee determine contacts from uid combination 2025-02-23 02:50:50 -06:00
9723530ad9 rename ent 'net' -> 'sync' 2025-02-23 02:19:03 -06:00
d35c951d43 netid -> uid 2025-02-23 02:14:06 -06:00
1dc1c42678 prediction progress 2025-02-22 23:20:42 -06:00
ba12d5677a prediction progress 2025-02-22 16:07:55 -06:00
34713e0c03 ent handle string formatting 2025-02-22 11:50:01 -06:00
835762fb5c entity debug info. keep old local handles when translating. 2025-02-22 10:34:06 -06:00
d05ecbabb9 prediction progress 2025-02-21 19:46:04 -06:00
4d8819d3ee prediction progress 2025-02-21 18:07:17 -06:00
27f49512d6 prediction progress 2025-02-20 18:24:22 -06:00
e0dee3e9e8 sim snasphot store -> client refactor 2025-02-20 17:16:36 -06:00
044fc1db9d prediction progress 2025-02-20 13:55:39 -06:00
b8119c9ef9 comment 2025-02-19 18:59:19 -06:00
6427f559ca prediction progress 2025-02-19 18:55:00 -06:00
4172808fe2 prediction progress 2025-02-19 17:32:24 -06:00
cb05b707f0 store publish dt in snapshot 2025-02-19 13:49:07 -06:00
a5bbdffbe3 better render time determination 2025-02-19 13:33:54 -06:00
80ed6a7852 sim ctx decoupling progress 2025-02-19 10:00:44 -06:00
b049a56a28 faster app shutdown 2025-02-19 08:51:20 -06:00
8e5b2bd773 sim ctx decoupling progress 2025-02-19 08:22:04 -06:00
3204e97dcf sim ctx decoupling progress 2025-02-18 13:49:40 -06:00
253104b2ce sim ctx decoupling progress 2025-02-18 11:14:41 -06:00
f6aa25760e sim ctx decoupling progress 2025-02-14 17:01:44 -06:00
bc2dccb872 circular player collider 2025-02-14 14:05:14 -06:00
9bccd4eae3 add sampled profiling build option 2025-02-14 12:23:49 -06:00
440a051dba fix out-of-scope stack memory use 2025-02-14 12:23:26 -06:00
be5d10e2b0 replace byteio with bitbuff 2025-02-13 17:15:23 -06:00
6d58619fbe comment 2025-02-12 12:30:45 -06:00
f1985c5815 level clear test 2025-02-12 11:18:56 -06:00
98c70b46ba fix bug in host final chunk data len 2025-02-12 08:34:15 -06:00
ff0fbf0878 crappy delta encoding test 2025-02-11 19:31:06 -06:00
fd550a7119 refactor ent store into snapshot 2025-02-11 12:52:56 -06:00
e1a1006b32 refactor client store into snapshot 2025-02-11 12:07:38 -06:00
46c7414f71 more timing debug info 2025-02-11 08:22:34 -06:00
dcbabbdfd1 fix precise sleep inaccurate because scheduler period not set 2025-02-10 16:37:32 -06:00
65211946e0 decrease rendering latency by incrementing smooth time by initial guess 2025-02-10 16:08:35 -06:00
f04a81fbb0 re-add lerping via snapshot interpolation 2025-02-10 15:22:19 -06:00
cd38ab4fbf another buddy fix 2025-02-09 16:25:59 -06:00
110e28119c fix dbg drag local point 2025-02-09 15:36:46 -06:00
f000bd7e65 progress & fix buddy bug 2025-02-09 15:22:43 -06:00
6fa3517d7a re-add networked debug drag 2025-02-09 11:13:36 -06:00
eee5945954 differentiate client entities 2025-02-08 17:11:04 -06:00