Commit graph

114 commits

Author SHA1 Message Date
chyyran f044d0e91b d3d11: don't copy texture data, just copy the resource 2022-11-30 01:52:08 -05:00
chyyran 5088e1c55b fmt: run cargo fmt and clippy 2022-11-30 01:38:05 -05:00
chyyran f5c56895fb d3d11: mark as 'ready'
missing error fix but that's not hard
2022-11-30 01:35:52 -05:00
chyyran 7acf208f39 d3d11: implement history 2022-11-30 01:35:20 -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 c4f1abd411 d3d11: passoutput 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 812580e0b9 d3d11: unbind resources when done 2022-11-29 02:13:50 -05:00
chyyran 60fd644a2a d3d11: initialize output buffers 2022-11-29 01:57:04 -05:00
chyyran 816402758a d3d11: use uniformstorage 2022-11-29 00:39:15 -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 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