Commit graph

198 commits

Author SHA1 Message Date
chyyran e2ac7a1bfa common: unify viewport types 2023-01-13 02:54:16 -05:00
chyyran abaebe56cc api: remove FilterChain trait 2023-01-13 02:32:21 -05:00
chyyran 455b56ce8e lib: remove print statements 2023-01-13 00:07:18 -05:00
chyyran 5545f89f28 fmt: run cargo fmt 2023-01-12 21:29:42 -05:00
chyyran 8474dcd6dc gl46: fix framebuffer attachments for history 2023-01-12 19:25:52 -05:00
chyyran 5acf70e362 vk: try to fix feedback (but its not working..) 2023-01-12 01:20:13 -05:00
chyyran a34bdccc06 vk: implement framebuffer operations (gen_mips/copy/clear) 2023-01-11 19:44:13 -05:00
chyyran 23458917f3 gl: kind of fix mipmap handling needs to check next frame 2023-01-11 19:09:15 -05:00
chyyran 8047bf80c8 gl/d3d11: add option to force mipmap generation off 2023-01-11 18:25:31 -05:00
chyyran 02b3b8baff vk: fix image format conversions 2023-01-11 17:28:09 -05:00
chyyran f08098680a misc: tweaks 2023-01-03 01:06:42 -05:00
chyyran abd38b9076 vk: create sampler set 2022-12-21 22:03:38 -05:00
chyyran 8fca2954b0 fmt: run cargo fmt 2022-12-21 21:39:31 -05:00
chyyran fe573618f8 vk: implement load luts 2022-12-21 21:13:35 -05:00
chyyran e7351207cf rt: take ringbuffer out for reuse 2022-12-06 01:01:21 -05:00
chyyran a8840829aa vk: begin infra for vk runtime 2022-12-05 21:01:15 -05:00
chyyran 212d5fd7eb chore: Release 2022-12-05 02:12:18 -05:00
chyyran 30067df4d6 chore: Release 2022-12-05 00:24:16 -05:00
chyyran 6ab03ecc99 capi: more docs 2022-12-04 22:48:57 -05:00
chyyran 8935ab28e9 rt: allow specifying frame_direction 2022-12-04 22:36:14 -05:00
chyyran 8a782da0e8 chore: Release 2022-12-03 21:26:02 -05:00
chyyran 4946bfc0dd gl: catch panic if gl not intialized 2022-12-03 19:07:15 -05:00
chyyran b928a8068d capi: finish basic gl capi 2022-12-03 18:56:57 -05:00
chyyran b569de1522 capi: basic capi for presets and gl 2022-12-03 18:33:01 -05:00
chyyran f92dc5cae6 fmt: run clippy 2022-12-01 19:16:13 -05:00
chyyran 1665770615 rt: move image into runtime 2022-12-01 17:11:42 -05:00
chyyran ba41055a58 rel(0.1.0-alpha.1): update workspace for alpha 2022-12-01 02:07:21 -05:00
chyyran e804ffd310 reflect: document and rename some structs 2022-12-01 01:50:16 -05:00
chyyran 8fa38c564c d3d11: fix flickering when using feedback 2022-12-01 00:11:41 -05:00
chyyran acab02e401 doc: general add docs and clean up 2022-11-30 22:50:57 -05:00
chyyran cbfe76928e gl: overall cleanup 2022-11-30 19:05:24 -05:00
chyyran 6519a78df2 d3d11: make error unboxed 2022-11-30 17:59:55 -05:00
chyyran 759cd4bc28 gl: very not nicely make dsa a runtime prop 2022-11-30 17:21:32 -05:00
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