Commit Graph
15 Commits
Author SHA1 Message Date
Martins Mozeiko 9c02f947c7 show git commit id in window title & fatal exception dialog 2024-02-06 07:30:58 -08:00
Martins Mozeiko 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 Mozeiko 644a94d5ef fixing clang build 2024-01-25 11:19:30 -08:00
Martins Mozeiko fc9449a2d5 make sure github action fails on error 2024-01-25 11:19:30 -08:00
Martins Mozeiko 1da1239c7c doing blur shader without alpha blending 2024-01-23 15:31:40 -08:00
Martins Mozeiko 44fa806334 bugfix when calculating kernel weights for smaller than 1px blur size 2024-01-23 15:31:40 -08:00
Martins Mozeiko d5e0054a13 blut shader improvements, use bilinear sampling for 2x fewer samples 2024-01-23 15:31:40 -08:00
Martins Mozeiko 3b86b6f7a0 rect shader improvements, moved calculations from pixel to vertex shader 2024-01-23 15:31:40 -08:00
Martins Mozeiko bae91cd40c doing blur shader without alpha blending 2024-01-23 15:05:33 -08:00
Martins Mozeiko 82f86d654f bugfix when calculating kernel weights for smaller than 1px blur size 2024-01-23 15:05:33 -08:00
Martins Mozeiko 1705fdd421 blut shader improvements, use bilinear sampling for 2x fewer samples 2024-01-23 08:38:53 -08:00
Martins Mozeiko a77d457f51 rect shader improvements, moved calculations from pixel to vertex shader 2024-01-23 08:38:53 -08:00
Martins Mozeiko f7897aecea fix build warnings for clang 2024-01-19 10:27:33 -08:00
Martins Mozeiko b1e2ca0ff8 show dialog with call stack in crash handler 2024-01-19 10:27:33 -08:00
Martins Mozeiko 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