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
742a1c8658
dep: update glslang
2024-10-01 23:59:29 -04:00
chyyran
32c99d9f4a
rt: implement filter chain loading in terms of pack
2024-10-01 23:25:52 -04:00
chyyran
828464c351
rt(image): helper to load image from shaderpack TextureBuffer
2024-10-01 23:25:52 -04:00
chyyran
c19593e289
pack: implement shader pack library to preload resources from disk
2024-10-01 23:25:52 -04:00
chyyran
1bbbd784d8
preset: make ShaderPassConfig and TextureConfig type aliases to PathReference
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
84e78f4e48
cli(render): add ability to specify frame options
2024-09-27 01:12:02 -04:00
chyyran
91f8089277
cli(render): add ability to specify params and passes enabled
2024-09-27 01:12:02 -04:00
chyyran
f0a7970b44
rt: add viewport extent separate from output texture dimensions
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
f49e3b58d8
doc(capi): fix rotation integer docs
2024-09-17 19:06:57 -04:00
chyyran
0fe5bbd57b
rt: do reflection to see if the final pass is needed as feedback
2024-09-15 15:46:31 -04:00
chyyran
090e268c4a
doc: improve docs
2024-09-06 22:45:07 -04:00
chyyran
ec3add1616
rt(params): rename get_parameter -> parameter_value
2024-09-06 22:45:07 -04:00
chyyran
40a56bf165
reflect/preprocess/presets: use SmallString where it makes sense
...
Most use cases are internal so at least for the runtime consumers there's no API change, but preset parsing
and reflection items are public API so might as well put this as part of 0.4.0
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
b7fd3bc507
runtime: fix image swizzle for remainder
2024-08-21 20:12:10 -04:00
chyyran
5560c1ed09
runtime: use a more efficient swizzling implementation without array_chunks_mut
2024-08-20 23:13:39 -04:00
chyyran
fa48b936be
rt: cap texture scaling to [1, 16384]
...
Fixes #79 , #78
2024-06-14 18:17:36 -04:00
chyyran
b7071958bd
rt(d3d9): add a runtime for direct3d 9
2024-03-07 21:09:15 -05:00
chyyran
5feac91af2
runtime: add ARGB8 pixel format
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
c7d1d347a4
rt: unify drawquad type
2024-02-22 01:16:42 -05:00
chyyran
6fbc4b3075
fmt: cargo fmt
2024-02-14 20:50:17 -05:00
chyyran
b348e8591f
lib: use a faster hashmap implementation
2024-02-14 20:50:17 -05:00
chyyran
ba3154b92d
rt(mtl): implement texture and buffer abstractions
2024-02-14 03:08:09 -05:00
chyyran
1aedb1bea7
rt: auto-impl parameters
2024-02-14 03:08:09 -05:00
chyyran
daf30c83c0
rt: add Rotation
, TotalSubFrames
, CurrentSubFrame
uniform semantics
2024-02-12 01:58:05 -05:00
chyyran
3c3f024ef8
preset: add original
scaletype
...
As defined in https://github.com/libretro/RetroArch/pull/15937
2024-02-12 01:58:05 -05:00
chyyran
754e8da620
runtime: remove unused AsDerefable trait
2024-02-06 19:04:28 -05:00
chyyran
2450217c29
fmt: cargo fmt
2024-02-06 19:04:28 -05:00
chyyran
11ab4b7c9a
build: tag RPITIT cause ubuntu 23.10 uses an older compiler
2024-02-06 19:04:28 -05:00
chyyran
cc26be486b
rt(wgpu): fix compiler errors for filer pass
2024-02-06 19:04:28 -05:00
chyyran
a6c91a07df
build: use stable polyfills for extract_if and array_chunks_mut
2024-02-03 22:06:55 -05:00
chyyran
3c15a3a523
rt: fix history framebuffer requirements and unify framebuffer initialization logic
2023-02-11 00:20:35 -05:00
chyyran
beef0960f3
doc: doc rendertarget
2023-02-08 03:41:44 -05:00
chyyran
4947eff4d1
doc(rt): doc scaling
2023-02-08 00:04:46 -05:00
chyyran
59e0b5da86
rt: unify render target logic
2023-02-07 23:14:39 -05:00
chyyran
06161b5aad
rt: make scale framebuffers a lot nicer to use
2023-02-07 22:02:08 -05:00
chyyran
d9a97de131
rt: doc FilterPassMeta
2023-02-07 02:55:15 -05:00
chyyran
6d75dc5100
fmt: general format and clean up
2023-02-07 02:31:08 -05:00
chyyran
c8a1d4d196
rt: abstract framebuffer scaling into common code
2023-02-07 02:12:47 -05:00
chyyran
3eae38f815
fmt: cargo fmt
2023-02-06 21:56:30 -05:00
chyyran
fd48d88fdd
dx12: use persistently bound buffers
2023-02-05 22:24:58 -05:00
chyyran
b81b2b1d25
fmt: run clippy
2023-02-05 18:34:30 -05:00
chyyran
271788b9c6
d3d12: implement history
2023-02-05 18:03:38 -05:00
chyyran
2d2ed22e9a
fmt: run cargo fmt
2023-02-05 16:19:22 -05:00
chyyran
7d8c137083
rt: abstract reusable bindingmeta ops
2023-02-05 16:19:22 -05:00