Commit graph

215 commits

Author SHA1 Message Date
chyyran 5088e1c55b fmt: run cargo fmt and clippy 2022-11-30 01:38:05 -05:00
chyyran a091cff6ae gl: merge gl46 back into gl crate 2022-11-30 00:39:50 -05:00
chyyran 538672e355 gl: abstract away gl3 and dsa 2022-11-30 00:39:50 -05:00
chyyran f2d67f9160 gl: leave texture unbound if trying to sample from 0 2022-11-30 00:39:50 -05:00
chyyran 60fd644a2a d3d11: initialize output buffers 2022-11-29 01:57:04 -05:00
chyyran ae257d8574 runtime: move some runtime commonalities into runtime crate 2022-11-29 00:23:48 -05:00
chyyran 515fe12568 reflect: clean up UniformStorage 2022-11-28 22:59:11 -05:00
chyyran 83b7cd38a0 gl/reflect: abstract away common uniform storage buffers 2022-11-28 22:56:20 -05:00
chyyran 2c953d638f dx11: get single pass working 2022-11-28 21:00:54 -05:00
chyyran 5078015605 gl46: implement DSA version of gl runtime 2022-11-28 18:56:35 -05:00
chyyran 7b2721aa19 gl: move quad drawing into filterchain 2022-11-28 18:34:37 -05:00
chyyran 2081e00956 gl: don't keep entire shaderpreset for final filter chain object 2022-11-28 01:16:09 -05:00
chyyran 9cad2b9128 reflect: make reflect errors non-exhaustive 2022-11-27 23:37:45 -05:00
chyyran 9e2c914e57 gl: cleanup and refactor
- allow frame and filterchain init to take optional config object by caller
- allow binding MVP as a uniform
2022-11-27 23:27:21 -05:00
chyyran 0806114e12 gl: accomodate for viewport x and y 2022-11-27 02:10:11 -05:00
chyyran f0bc2d92af d3d11: load shaders and buffers 2022-11-26 23:57:22 -05:00
chyyran f327040729 d3d11: create buffers
[ci broken]
2022-11-26 19:35:33 -05:00
chyyran 085f3a6444 gl: fix sampler binding 2022-11-26 17:11:26 -05:00
chyyran 1f068bc0d5 gl: try using samplerset 2022-11-26 16:59:34 -05:00
chyyran bfed01435b gl: fix redundant fbo rebind 2022-11-26 16:58:23 -05:00
chyyran 5cd30ade02 dx11: lut upload 2022-11-26 02:38:15 -05:00
chyyran e64b2f3300 gl: get version at runtime 2022-11-24 20:00:55 -05:00
chyyran cb8af115c7 gl: don't rename inputs/outputs 2022-11-24 02:24:05 -05:00
chyyran 6d11323520 gl: use real texture names when fixing bindings 2022-11-24 02:08:58 -05:00
chyyran daea19b5a2 gl: fix image size change 2022-11-24 02:08:34 -05:00
chyyran f6a862339c gl: fix hello triangle 2022-11-24 02:08:00 -05:00
chyyran dadfb6ba33 dx11: begin to work on dx11 implementation 2022-11-24 01:37:16 -05:00
chyyran 5d476d5229 dx11: hello_triangle 2022-11-22 01:56:39 -05:00
chyyran 254875de29 reflect: desugar rpitit into tait to avoid incomplete feature warning 2022-11-21 18:19:43 -05:00
chyyran 1978350d97 fmt: cleanup unused items 2022-11-21 17:47:38 -05:00
chyyran b017127b9d gl: use explicit error type 2022-11-21 17:44:38 -05:00
chyyran 86ad32ff0a lib: sort out base library structure 2022-11-21 16:53:36 -05:00
chyyran 38ce621664 reflect: make compilation an associated function 2022-11-21 16:28:28 -05:00
chyyran 1579516d25 fmt: clean up unused items 2022-11-21 16:21:50 -05:00
chyyran 80fa30e54e preprocess: move ShaderSource to preprocess and rename common def libs 2022-11-21 16:13:37 -05:00
chyyran e0b66c2c60 gl: move Size to librashader core 2022-11-21 03:01:26 -05:00
chyyran 4124ae3955 gl: clean up visibility in some APIs 2022-11-21 02:56:03 -05:00
chyyran b799c1c6ef gl: initialize history and feedback fbos before drawing 2022-11-21 02:36:37 -05:00
chyyran 10eb2c3106 gl: implement passfeedback and original history 2022-11-21 02:13:10 -05:00
chyyran 0b336ca8c5 gl: fix vec4 buffer length 2022-11-20 02:23:10 -05:00
chyyran 1e9d180bf0 gl: implement PassOutput binding 2022-11-20 02:09:05 -05:00
chyyran 23b13ef047 gl: clean up filter_chain a little bit 2022-11-20 01:09:05 -05:00
chyyran eb582e396e gl: make framecount usize 2022-11-20 00:05:50 -05:00
chyyran 5ed6cc6e52 fmt: run rustfmt and clippy 2022-11-19 23:16:57 -05:00
chyyran e911d40429 gl: abstract output to render target 2022-11-19 23:16:19 -05:00
chyyran 19cd09d32b gl: move chains to to filter_chain module 2022-11-19 22:09:01 -05:00
chyyran 090df176c8 gl: fix sampler binding 2022-11-19 22:03:58 -05:00
chyyran d49fa5307a gl: clean up uniform binding storage 2022-11-19 18:48:54 -05:00
chyyran 2c8f2685f2 gl: fix viewport stuff before i forget 2022-11-19 02:35:02 -05:00
chyyran 83dc63ffe0 gl: fix ubo binding 2022-11-19 02:28:22 -05:00
chyyran 3aee36a361 gl: use texture storage 2022-11-19 01:55:49 -05:00
chyyran afc750c37c gl: correct scaling options 2022-11-17 01:21:29 -05:00
chyyran c06751eca9 gl: load luts 2022-11-17 00:08:11 -05:00
chyyran 888d7be50f gl: buffer building 2022-11-15 01:03:36 -05:00
chyyran d37fc0ccb5 gl: clean up the huge lib.rs file 2022-11-14 01:49:51 -05:00
chyyran 848d87021c gl: start work on frame history 2022-11-14 00:14:05 -05:00
chyyran b1beb0e46f reflect: get rid of meaningful indices for variable semantics 2022-11-13 02:07:21 -05:00
chyyran b987953181 gl: split parameter semantics to per-pass 2022-11-13 01:57:47 -05:00
chyyran 66d1c872ee gl: get some more reflection work done 2022-11-12 01:23:49 -05:00
chyyran 6fcee1691f gl: implement hello triangle test for further debug 2022-11-11 21:52:22 -05:00
chyyran bbefc3ced3 gl: expose compiler in gl result 2022-11-11 02:26:57 -05:00
chyyran f3d0b2acae fmt: run clippy 2022-11-11 01:53:02 -05:00
chyyran 41f721aa6d reflect: clean up public reflect API a little 2022-11-11 01:44:41 -05:00
chyyran 993359115e reflect: hide spirv details from consumer 2022-11-09 01:51:10 -05:00
chyyran 301b8bf209 gl: add name mapping to gl compiler 2022-11-09 01:11:25 -05:00