57 Commits

Author SHA1 Message Date
76848ab4e3 Move heap descriptor into its own file and prepare for the removing of the staging descriptor 2025-03-29 22:05:09 -04:00
94292851cc Remove Swapchain SRV (no use)
Removed useless parameters in the root signature
various small changes
Began removing staging descriptor to use unified descriptors
2025-03-29 21:47:21 -04:00
2d3a075eb6 Bindless resource first step 2025-03-24 22:19:52 -04:00
d8c36b7715 Check resource binding tier 2025-03-23 16:01:04 -04:00
c56bc43723 misc 2025-03-22 17:31:35 -04:00
f4c82f0fb3 Added support to DirectX Agility Sdk to enable shader model 6.6+ on windows 10. 2025-03-22 00:09:48 -04:00
4e0aaa129f Fixing some includes problems
Using interrupt 3 instead of system pause to break on script end while debugging but not when running
Added a .bat script to recompile all shaders.
2025-03-15 21:43:20 -04:00
f4ba25bec1 Reload of shaders working! 2025-03-15 21:17:44 -04:00
c9cd01bb31 Prepare shader reload.
- Expose wait until gpus is idle to api
- Alt+R to reload
2025-03-15 19:55:41 -04:00
f01c8c3ccb Added missing functions to allow wait for swap chain.
Proper resource tracking to allow for destruction of graphics pipeline
Textures are tracked but not released so nothing has been done yet
various changes
2025-03-13 23:07:01 -04:00
84e1194f21 Draw triangle 2025-03-11 23:36:37 -04:00
a2d9980dc8 Adding a comment on ID3D12InfoQueue1 that are apparently only available on Win11 2025-03-11 22:47:45 -04:00
df870b717e Remove useless code in dx12 debug layer initialization 2025-03-11 22:46:49 -04:00
0d93cd9e6d Graphics pipeline creation is working 2025-03-11 22:45:21 -04:00
a9fe4683fb Graphics pipeline iteration
Lot of code.
Not working yet
2025-03-09 22:52:08 -04:00
a366d75fdc Renamed DX12 files prefix to D3D12 2025-03-09 16:57:20 -04:00
aae780ec6d First pass graphics pipeline. Not functional 2025-03-09 16:54:26 -04:00
8c6c42e123 Shader: Added code to load compiled shader 2025-03-09 15:54:13 -04:00
da203c80f3 Finished first version of shader compiler. HLSL -> DXIL.
Submitting vertex and frag shader needed to display a triangle.
2025-03-08 22:36:15 -05:00
f9f292b6d6 Adding read file code 2025-03-07 23:04:30 -05:00
5fd3fc75eb IOStream can now be open on a file and write into it. 2025-03-05 22:49:57 -05:00
231fea81dd Support utf8 codepoint in win32 console 2025-03-05 16:55:08 -05:00
764824ff24 Making string struct a bit more simple and support only utf8.
Still just ascii for now but a bit easier to manager.
Use [..]A() functions from win api to not have to convert to wide char everywhere
2025-03-05 15:56:56 -05:00
09dc26ae79 Adding IOStream + String library (needed to have proper iostream) 2025-03-01 21:17:10 -05:00
fc399d52ec New shader compiler app (doing nothing) that i forgot to submit... 2025-03-01 11:02:10 -05:00
67528aaee1 - Various clang reformat
- Added shader compiler app (doing nothing)
- Various Project files changes
2025-03-01 11:01:42 -05:00
7c8f8a3bb1 Minor changes to hot reload code 2025-02-23 21:05:13 -05:00
051939f827 - Added basic filesystem method to get the base path of the app
- Added hot reload support of the game dll
- various changes and refactor
2025-02-23 20:37:44 -05:00
f83a238473 Fix window title (everything use unicode) 2025-02-19 22:12:02 -05:00
8326772558 Finishing fences
+ moved some functions to an internal namespace to tidy stuff a bit
2025-02-19 22:01:39 -05:00
cc9bbf0ef5 Fences first pass 2025-02-18 22:26:50 -05:00
857f8c4e69 Command list Submit done. 2025-02-18 21:52:49 -05:00
ed9482b8f8 End Render pass 2025-02-18 21:12:36 -05:00
f1b7f8eb29 Finished first pass BeginRenderPass. 2025-02-18 20:23:12 -05:00
ee194b2d69 Renderpass first iteration 2025-02-17 22:08:53 -05:00
7e8aaaa891 Command to acquire swap chain texture 2025-02-16 11:54:04 -05:00
3e7caa2c7c Swapchain creation and destruction 2025-02-15 21:49:10 -05:00
d90a0bdf83 Added first pass on swap chain. Still needs Render Target View and various stuff.
+ Reformat all files
2025-02-09 22:19:17 -05:00
d5e09e28bf First iteration of dx12 command lists.
Doing nothing for now.
2025-02-09 16:15:59 -05:00
004698b135 Use static cast instead of reinterpret cast to make sure we cast a correct type. 2025-02-02 15:19:33 -05:00
7d0b8be65c Fixed crash on stop. Was destroying the device and not the renderer. 2025-02-02 15:17:09 -05:00
97c2b3c1dc Adde dependency on game and juliet into juliet app 2025-02-02 15:16:38 -05:00
85b0b5d30e Added Game project that will contain the game + game framework 2025-02-01 21:05:13 -05:00
fc5e09fab0 POC for entities. 2025-02-01 21:03:22 -05:00
4c43cce133 dx12 dynamic lib loading + creation of device first pass. 2025-01-12 22:11:47 -05:00
6c80168e8c Can load dynamic library (dll) instead of linking against.
Allow to not link against d3d12 lib
2025-01-12 17:26:58 -05:00
312e139a97 Get Adapter info and log them 2025-01-12 12:07:04 -05:00
434f15a9d4 Progress on creating the d3d12 renderer 2025-01-11 23:33:09 -05:00
836d0fa185 Fixing issues with DirectX and includes.
Removed d3dx12 as its not usable with the CINTERFACE define.
2025-01-11 20:03:31 -05:00
2b82952f62 Make Juliet a dynamic library.
Added some dllexport (JULIET_API) to make the code compile.
A lot are missing but will be added when needed
2025-01-11 14:14:38 -05:00