Commit graph

280 commits

Author SHA1 Message Date
chyyran
5978f95f76 reflect: make ShaderPassArtifact simpler as PassResource already includes the source data 2024-10-02 19:07:09 -04:00
chyyran
3ee5e66c0d presets: make naming more consistent
* `ShaderPassConfig` -> `PassConfig`
* `ShaderPassData` -> `PassResource`
* `TextureData` -> `TextureResource`
* `ShaderPresetResource` -> `LoadedResource`
* `ShaderPassMeta` -> `PassMeta`

* `ShaderPreset::shaders` -> `ShaderPreset::passes`
* `ShaderPreset::shader_count` -> `ShaderPreset::pass_count`

* `ShaderPresetPack::shaders` -> `ShaderPresetPack::passes`
* `ShaderPresetPack::shader_count` -> `ShaderPresetPack::pass_count`
2024-10-02 19:07:09 -04:00
chyyran
4a8a9ee444 chore: Release 2024-10-02 00:28:10 -04:00
chyyran
32c99d9f4a rt: implement filter chain loading in terms of pack 2024-10-01 23:25:52 -04:00
chyyran
4273a833e8 pack: add librashader-pack
also consolidate rayon dependency
2024-10-01 23:25:52 -04:00
chyyran
f14f45b3b1 rt: separate out meta information for textures 2024-10-01 23:25:52 -04:00
chyyran
859d16e64e rt: separate out meta information to its own struct 2024-10-01 23:25:52 -04:00
chyyran
799d409ddb test(gl): Add OpenGL render test 2024-09-25 22:00:10 -04:00
chyyran
e7fe96520e rt(gl): ensure framebuffers are bound 2024-09-25 01:44:36 -04:00
chyyran
97ad0d64bf rt(gl): make FilterChain::load_from argument order consistent with other runtimes 2024-09-24 00:49:10 -04:00
chyyran
feaebc5f44 fmt(gl): cargo fmt 2024-09-23 23:55:50 -04:00
chyyran
45b98a2bdd rt(gl): use array_init instead of manually doing it with MaybeUninit 2024-09-22 02:06:47 -04:00
chyyran
41353ac9c4 rt(gl): remove need for explicit external FBO object
Replaced with an internal FBO that is state tracked so as to not recreate it every frame, but will update if necessary
2024-09-22 02:06:47 -04:00
chyyran
1e33b4cc03 capi: make viewport optional, defaulting to a viewport that is the entire size of the render target 2024-09-22 02:06:47 -04:00
chyyran
0a87bcc657 rt: respect viewport extents when rendering 2024-09-22 02:06:47 -04:00
chyyran
f0a7970b44 rt: add viewport extent separate from output texture dimensions 2024-09-22 02:06:47 -04:00
chyyran
61fdaeea14 capi(gl): update to take opengl context in constructor 2024-09-22 02:06:47 -04:00
chyyran
763c05755d rt: mark error types as non_exhaustive 2024-09-22 02:06:47 -04:00
chyyran
1bdadaa449 rt(gl): port to OpenGL runtime to glow 2024-09-22 02:06:47 -04:00
chyyran
77b957bf5e reflect: stop adding null bytes to uniform names 2024-09-22 02:06:47 -04:00
chyyran
1e0727f89d chore: Release 2024-09-21 01:55:42 -04:00
chyyran
60d2c3f177 chore: Release 2024-09-21 01:53:56 -04:00
chyyran
d6f8950bdc rt: only draw last pass twice if the last pass is needed as feedback 2024-09-15 15:46:31 -04:00
chyyran
eace595ebb chore: Release 2024-09-15 11:00:38 -04:00
chyyran
2f988d5b1d rt: add stable feature to build ShaderPassArtifacts via Box<dyn CompileReflectShader> 2024-09-15 03:10:45 -04:00
chyyran
ab9ab6fe68 rt(gl): use Option::filter instead of let_chains 2024-09-14 02:11:18 -04:00
chyyran
2661effab4 chore: Release 2024-09-13 17:31:17 -04:00
chyyran
e68da7b984 rt(gl): draw final pass to output targets 2024-09-13 00:59:12 -04:00
chyyran
50580cfc3b chore: Release 2024-09-08 11:23:08 -04:00
chyyran
075a2981e1 rt(gl): fix glShaderSource going past the buffer 2024-09-08 11:20:38 -04:00
chyyran
fd8d6f6ab8 chore: Release 2024-09-06 23:01:07 -04:00
chyyran
c3033cfbbf reflect: port to spirv-cross2 2024-09-06 22:45:07 -04:00
chyyran
c9a6411394 deps: consolidate and update dependencies 2024-09-06 22:45:07 -04:00
chyyran
c447e40583 rt: redesign parameters to be thread-safe across FFI using arcswap and atomicusize
This should allow C FFI consumers to modify frame parameters from a different thread without it being UB.
2024-09-06 22:45:07 -04:00
chyyran
8fb5d48a1e chore: Release 2024-08-21 20:13:23 -04:00
chyyran
436d1fe3cd chore: Release 2024-08-21 00:38:32 -04:00
chyyran
899fb50da6 chore: Release 2024-08-03 00:13:40 -04:00
chyyran
f6cf642e50 chore: Release 2024-07-29 00:44:51 -04:00
chyyran
0a9fa16855 rt: update for new TAIT scope rules 2024-06-14 18:17:36 -04:00
chyyran
e8ffd8fdf3 chore: Release 2024-03-08 00:18:30 -05:00
chyyran
b7071958bd rt(d3d9): add a runtime for direct3d 9 2024-03-07 21:09:15 -05:00
chyyran
7593f9f9b5 rt: pass device context to uniform binder if needed 2024-03-07 21:09:15 -05:00
chyyran
9dc0cf26fd chore: Release 2024-03-05 19:04:14 -05:00
chyyran
89b620a7c1 rt(gl46): fix invalid framebuffer copies 2024-03-05 19:01:35 -05:00
chyyran
66a0ee21e3 Revert "rt(gl): account for flipped coordinate space when blitting to output"
This reverts commit 623c6776f7.
2024-03-05 19:01:35 -05:00
chyyran
31b7a6f33f chore: Release 2024-03-03 13:21:29 -05:00
chyyran
623c6776f7 rt(gl): account for flipped coordinate space when blitting to output 2024-03-03 13:17:28 -05:00
chyyran
e02e1ae26a rt(gl): load luts with topleft origin due to MVP changes 2024-03-03 13:17:28 -05:00
chyyran
d72519b9fd chore: Release 2024-03-01 01:41:50 -05:00
chyyran
4ef4b8762b chore: Release 2024-02-24 12:38:13 -05:00