Commit Graph
20 Commits
Author SHA1 Message Date
Martins MozeikoandRyan Fleury 0c999d70dc better error message if CreateProcess fails 2025-04-07 10:42:54 -07:00
Martins MozeikoandRyan Fleury 9c016004c2 Setup symbol path in win32 exception handler to the .exe folder
Otherwise it was trying lookup .pdb files only in the current folder,
as that is how .exe's are built (/pdbaltpath). This change now makes
exception handler to load .pdb from the same folder as where .exe is.
2024-10-16 14:13:26 -07:00
Martins MozeikoandRyan Fleury 3d34a26205 avx512 register support in codeview -> rdi conversion 2024-10-14 20:54:26 -07:00
Martins MozeikoandRyan Fleury ce7c8d5244 avx512 registers & fixes for getting & setting x64 context 2024-07-23 08:43:35 -07:00
Martins MozeikoandRyan Fleury fd982d38fc Fixes bad resource usage in rendering
D3D11 is quite strict about how resources are supposed to be used - read/write & CPU access.
This changes Tex2DKind and BufferKind into one uniform ResourceKind (because it's the same thing really).

And it is more strict about usage:
1) Static is not allowed to update, resource is immutable, data provided at creation
2) Dynamic allows CPU to update GPU resource occasionally via UpdateSubresource
3) Stream allows CPU to update GPU resource often via Map/Unmap (currently unused)
2024-05-24 14:04:42 -07:00
Martins MozeikoandRyan Fleury 9c02f947c7 show git commit id in window title & fatal exception dialog 2024-02-06 07:30:58 -08:00
Martins MozeikoandRyan Fleury d6608adf60 make msvc release build much faster
cl.exe for some reason spends unreasonable amount of time optimizing
df_window_update_and_render function,  we can use pragma to skip
optimization for this function
2024-02-01 09:53:14 -08:00
Martins MozeikoandRyan Fleury 644a94d5ef fixing clang build 2024-01-25 11:19:30 -08:00
Martins MozeikoandRyan Fleury fc9449a2d5 make sure github action fails on error 2024-01-25 11:19:30 -08:00
Martins MozeikoandRyan Fleury 1da1239c7c doing blur shader without alpha blending 2024-01-23 15:31:40 -08:00
Martins MozeikoandRyan Fleury 44fa806334 bugfix when calculating kernel weights for smaller than 1px blur size 2024-01-23 15:31:40 -08:00
Martins MozeikoandRyan Fleury d5e0054a13 blut shader improvements, use bilinear sampling for 2x fewer samples 2024-01-23 15:31:40 -08:00
Martins MozeikoandRyan Fleury 3b86b6f7a0 rect shader improvements, moved calculations from pixel to vertex shader 2024-01-23 15:31:40 -08:00
Martins MozeikoandRyan Fleury bae91cd40c doing blur shader without alpha blending 2024-01-23 15:05:33 -08:00
Martins MozeikoandRyan Fleury 82f86d654f bugfix when calculating kernel weights for smaller than 1px blur size 2024-01-23 15:05:33 -08:00
Martins MozeikoandRyan Fleury 1705fdd421 blut shader improvements, use bilinear sampling for 2x fewer samples 2024-01-23 08:38:53 -08:00
Martins MozeikoandRyan Fleury a77d457f51 rect shader improvements, moved calculations from pixel to vertex shader 2024-01-23 08:38:53 -08:00
Martins MozeikoandRyan Fleury f7897aecea fix build warnings for clang 2024-01-19 10:27:33 -08:00
Martins MozeikoandRyan Fleury b1e2ca0ff8 show dialog with call stack in crash handler 2024-01-19 10:27:33 -08:00
Martins MozeikoandRyan Fleury 99b2d9d6d0 minor d3d11 code improvements
1) automatically tries WARP driver if HW creation fails
2) HRESULT checks for swap chain creation or Present call (can fail if GPU driver crashes)
3) checks HRESULT of D3DCompile functions instead of using shader pointer as error condition
4) releases shader blob memory when not needed anymore
2024-01-16 17:09:07 -08:00