Commit Graph

50 Commits

Author SHA1 Message Date
Patedam f4ba25bec1 Reload of shaders working! 2025-03-15 21:17:44 -04:00
Patedam c9cd01bb31 Prepare shader reload.
- Expose wait until gpus is idle to api
- Alt+R to reload
2025-03-15 19:55:41 -04:00
Patedam 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
Patedam 84e1194f21 Draw triangle 2025-03-11 23:36:37 -04:00
Patedam a2d9980dc8 Adding a comment on ID3D12InfoQueue1 that are apparently only available on Win11 2025-03-11 22:47:45 -04:00
Patedam df870b717e Remove useless code in dx12 debug layer initialization 2025-03-11 22:46:49 -04:00
Patedam 0d93cd9e6d Graphics pipeline creation is working 2025-03-11 22:45:21 -04:00
Patedam a9fe4683fb Graphics pipeline iteration
Lot of code.
Not working yet
2025-03-09 22:52:08 -04:00
Patedam a366d75fdc Renamed DX12 files prefix to D3D12 2025-03-09 16:57:20 -04:00
Patedam aae780ec6d First pass graphics pipeline. Not functional 2025-03-09 16:54:26 -04:00
Patedam 8c6c42e123 Shader: Added code to load compiled shader 2025-03-09 15:54:13 -04:00
Patedam 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
Patedam f9f292b6d6 Adding read file code 2025-03-07 23:04:30 -05:00
Patedam 5fd3fc75eb IOStream can now be open on a file and write into it. 2025-03-05 22:49:57 -05:00
Patedam 231fea81dd Support utf8 codepoint in win32 console 2025-03-05 16:55:08 -05:00
Patedam 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
Patedam 09dc26ae79 Adding IOStream + String library (needed to have proper iostream) 2025-03-01 21:17:10 -05:00
Patedam fc399d52ec New shader compiler app (doing nothing) that i forgot to submit... 2025-03-01 11:02:10 -05:00
Patedam 67528aaee1 - Various clang reformat
- Added shader compiler app (doing nothing)
- Various Project files changes
2025-03-01 11:01:42 -05:00
Patedam 7c8f8a3bb1 Minor changes to hot reload code 2025-02-23 21:05:13 -05:00
Patedam 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
Patedam f83a238473 Fix window title (everything use unicode) 2025-02-19 22:12:02 -05:00
Patedam 8326772558 Finishing fences
+ moved some functions to an internal namespace to tidy stuff a bit
2025-02-19 22:01:39 -05:00
Patedam cc9bbf0ef5 Fences first pass 2025-02-18 22:26:50 -05:00
Patedam 857f8c4e69 Command list Submit done. 2025-02-18 21:52:49 -05:00
Patedam ed9482b8f8 End Render pass 2025-02-18 21:12:36 -05:00
Patedam f1b7f8eb29 Finished first pass BeginRenderPass. 2025-02-18 20:23:12 -05:00
Patedam ee194b2d69 Renderpass first iteration 2025-02-17 22:08:53 -05:00
Patedam 7e8aaaa891 Command to acquire swap chain texture 2025-02-16 11:54:04 -05:00
Patedam 3e7caa2c7c Swapchain creation and destruction 2025-02-15 21:49:10 -05:00
Patedam 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
Patedam d5e09e28bf First iteration of dx12 command lists.
Doing nothing for now.
2025-02-09 16:15:59 -05:00
Patedam 004698b135 Use static cast instead of reinterpret cast to make sure we cast a correct type. 2025-02-02 15:19:33 -05:00
Patedam 7d0b8be65c Fixed crash on stop. Was destroying the device and not the renderer. 2025-02-02 15:17:09 -05:00
Patedam 97c2b3c1dc Adde dependency on game and juliet into juliet app 2025-02-02 15:16:38 -05:00
Patedam 85b0b5d30e Added Game project that will contain the game + game framework 2025-02-01 21:05:13 -05:00
Patedam fc5e09fab0 POC for entities. 2025-02-01 21:03:22 -05:00
Patedam 4c43cce133 dx12 dynamic lib loading + creation of device first pass. 2025-01-12 22:11:47 -05:00
Patedam 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
Patedam 312e139a97 Get Adapter info and log them 2025-01-12 12:07:04 -05:00
Patedam 434f15a9d4 Progress on creating the d3d12 renderer 2025-01-11 23:33:09 -05:00
Patedam 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
Patedam 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
Patedam 915858c0d3 Moved stuff around + start of graphics device support (dx12) 2025-01-09 22:35:33 -05:00
Patedam 5b4b6f2c52 Fix DestroyPlatformWindow crashing when called in Shutdown of the application 2025-01-08 20:22:42 -05:00
Patedam 14e49c163f Merge branch 'main' of https://gitea.itspm.cc/Patedam/Juliet 2025-01-08 20:11:40 -05:00
Patedam 6e6f08be7e Build fix :)
Flemme again
2025-01-08 20:11:24 -05:00
Patedam 608346d80b Actualiser README.md 2025-01-08 19:56:56 -05:00
Patedam abec0f6ef2 Initial commit
Flemme
2025-01-08 19:55:38 -05:00
Patedam e45890ef24 Initial commit 2025-01-08 19:51:27 -05:00