Commit graph

653 commits

Author SHA1 Message Date
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 9265113e9a gl46: initial dsa hello_triangle 2022-11-28 17:42:29 -05:00
chyyran 2081e00956 gl: don't keep entire shaderpreset for final filter chain object 2022-11-28 01:16:09 -05:00
chyyran 43ec5173c1 reflect: seal ast output mutability after compilation 2022-11-27 23:47:41 -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 964da02c39 reflect: rename non_uniforms to texture_semantics 2022-11-27 23:11:21 -05:00
chyyran 4e242bf25e d3d11: sketch out filterpass 2022-11-27 02:21:36 -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 2e5c9c835a reflect: align push constant buffer sizes to 16 bytes 2022-11-26 23:57:01 -05:00
chyyran ad0ad991df doc: update readme 2022-11-26 23:36:59 -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 46bc8a9e70 build: move dx11 -> d3d11 2022-11-26 15:58:26 -05:00
chyyran 4c4a918b9f d3d11: gen samplers 2022-11-26 15:55:14 -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 c1a31ec0ed doc: license under MPLv2 2022-11-21 20:49:18 -05:00
chyyran 152259b0af doc: update license 2022-11-21 18:49:51 -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 df03fdc5eb dx11: get dx11 to compile again 2022-11-21 02:39:39 -05:00
chyyran 26fa21f0c2 doc: update readme 2022-11-21 02:38:23 -05:00
chyyran b799c1c6ef gl: initialize history and feedback fbos before drawing 2022-11-21 02:36:37 -05:00
chyyran 4cbc831bf3 image: flip image vertically 2022-11-21 02:13:22 -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