Commit graph

675 commits

Author SHA1 Message Date
chyyran 3db89e5351 vk/11/12: bind VBO only once per frame to save on draw calls. 2023-02-06 00:23:37 -05:00
chyyran d4525ee23e dx12: render identity MVP in intermediate passes 2023-02-05 23:26:14 -05:00
chyyran 99954f011f dx12: fix mipmapping 2023-02-05 23:20:01 -05:00
chyyran 1fe4b47981 dx12: use versionedrootsignature 2023-02-05 22:31:34 -05:00
chyyran fd48d88fdd dx12: use persistently bound buffers 2023-02-05 22:24:58 -05:00
chyyran f077f86bad dx12: cleanup and micro-opts 2023-02-05 21:49:55 -05:00
chyyran 621d1da3c2 dx12: reduce initializations of dxc 2023-02-05 21:17:16 -05:00
chyyran 227cae6405 fmt: clean up d3d12 2023-02-05 20:05:22 -05:00
chyyran 34b334fd7f d3d12: enable parallel shader compilation
Turns out the weird errors were because of mipmapping
2023-02-05 20:03:59 -05:00
chyyran a3589cc794 d3d12: make panic free 2023-02-05 19:58:51 -05:00
chyyran f5fe3e37ef rt(d3d11/vk): allow for parallel shader compilation
OpenGL is for obvious reasons incompatible, and for DX12 the graphics pipeline creation has to be on the main thread so there isn't that much gain to be had.
2023-02-05 19:53:45 -05:00
chyyran b81b2b1d25 fmt: run clippy 2023-02-05 18:34:30 -05:00
chyyran 0506733dad d3d12: implement mipmaps 2023-02-05 18:25:59 -05:00
chyyran 271788b9c6 d3d12: implement history 2023-02-05 18:03:38 -05:00
chyyran 6a1138f0dc d3d12: allow force hlsl 2023-02-05 17:30:55 -05:00
chyyran 2d2ed22e9a fmt: run cargo fmt 2023-02-05 16:19:22 -05:00
chyyran 7d8c137083 rt: abstract reusable bindingmeta ops 2023-02-05 16:19:22 -05:00
Ronny Chan 4e9cc26093
build: install mako 2023-02-05 16:19:18 -05:00
chyyran 66a4b1a648 doc: document d3d12 differences 2023-02-05 02:22:28 -05:00
Ronny Chan 35f5b143c2
build: fix build for spirv-to-dxil 2023-02-05 02:14:15 -05:00
chyyran 72c9548c7a d3d12: use hlsl as a fallback pipeline 2023-02-05 01:54:56 -05:00
chyyran d6ac2c665d reflect: fix expected runtime config options 2023-02-05 01:14:01 -05:00
chyyran f677666900 d3d12: initial implementation of spirv-to-dxil 2023-02-05 01:05:42 -05:00
chyyran aa87e13201 reflect: add API to compile to DXIL 2023-02-04 18:24:56 -05:00
chyyran 5d260e77d5 reflect: expose HLSL SM version 2023-02-01 18:58:21 -05:00
chyyran e66c2a628f d3d12: run final pass 2023-02-01 18:09:34 -05:00
chyyran dada615a0a d3d12: use default mvp for intermediates for now 2023-02-01 02:08:50 -05:00
chyyran c29cc51ed5 d3d12: render to intermediate buffers 2023-02-01 02:08:50 -05:00
chyyran cbe087fa6c d3d12: fix texture resource loads 2023-02-01 02:08:50 -05:00
chyyran 03b4a7574e d3d12: filter chain pass 2023-02-01 02:08:50 -05:00
chyyran e1154ac52a d3d12: make hello_triangle copy fb 2023-02-01 02:08:50 -05:00
chyyran 10cd240868 d3d12: bind logic 2023-02-01 02:08:50 -05:00
chyyran 3506e1a3da d3d12: allocate work heaps for each pass 2023-02-01 02:08:50 -05:00
chyyran 624a749098 d3d12: allocate framebuffers 2023-02-01 02:08:50 -05:00
chyyran c28e5195c2 d3d12: texture infrastructure 2023-02-01 02:08:50 -05:00
chyyran 17203692f0 d3d12: make framebuffer 2023-02-01 02:08:50 -05:00
chyyran 22599285d3 d3d12: load vertex buffers 2023-02-01 02:08:50 -05:00
chyyran c2bef7f985 d3d12: upload shaders 2023-02-01 02:08:50 -05:00
chyyran 53e3732a93 d3d12: complete mipmapper 2023-02-01 02:08:50 -05:00
chyyran 48e5a8a149 d3d12: build mipmapper shader 2023-02-01 02:08:50 -05:00
chyyran d7da5c175f dx12: mipmap stuff 2023-02-01 02:08:50 -05:00
chyyran 8bb02d31e9 d3d12: sketch out mipmap gen 2023-02-01 02:08:50 -05:00
chyyran 56538dbfbf d3d12: load lut texture data 2023-02-01 02:08:50 -05:00
chyyran 9a3ce029d7 d3d12: partially implement lut texture 2023-02-01 02:08:50 -05:00
chyyran 2f82c5f430 d3d12: implement sampler palette 2023-02-01 02:08:50 -05:00
chyyran 4dc34fceb2 d3d12: try to do desc heaps 2023-02-01 02:08:50 -05:00
chyyran 92c9836985 d3d12: try to do desc heaps 2023-02-01 02:08:50 -05:00
chyyran 0ceb70d799 d3d12: take hello triangle from windows-rs 2023-02-01 02:08:50 -05:00
chyyran 599c21e06a vk: fix bad imports 2023-01-31 01:27:37 -05:00
chyyran 82ad516db0 d3d11/vk: render intermediate passes with identity matrix 2023-01-31 00:53:55 -05:00