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
fc47fb4c5a
doc: typo
2024-10-02 01:09:23 -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
1676150858
presets: allow presets to be serializable with serde
2024-09-27 01:12:02 -04:00
chyyran
ef35e2a620
presets: rename to_hashmap -> into_hashmap
2024-09-23 23:55:27 -04:00
chyyran
6cdd9247de
presets: trim aliases and shader parameter names
2024-09-16 19:21:18 -04:00
chyyran
090e268c4a
doc: improve docs
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
db3d5d05a6
presets: use crate for extract_if with fully qualified syntax to avoid name collision with unstable std
2024-08-20 23:13:39 -04:00
chyyran
28f5674a80
presets: remove rustc 1.74 compatibility
...
MSRV is 1.76
2024-08-19 18:33:30 -04:00
chyyran
bffad12ea2
doc(presets): add docstring for ContextItem::key
2024-08-19 18:33:30 -04:00
chyyran
ac66b1b6f6
style: fix warnings
2024-08-09 00:56:44 -04:00
Hubert Hirtz
1b0574c140
presets: show file name and details on io error
2024-07-29 00:40:30 -04: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
3c3f024ef8
preset: add original
scaletype
...
As defined in https://github.com/libretro/RetroArch/pull/15937
2024-02-12 01:58:05 -05:00
chyyran
252f685967
reflect: abstract away output compiler into its own trait
2024-02-11 15:48:01 -05:00
chyyran
fa8ee5d143
build: fix cbindgen not finding ctypes
...
* removes capi internal interface from librashader crate
* adds missing noop impls in header
* fix build on rustc < 1.74
2024-02-09 18:02:30 -05:00
chyyran
8f89b3e720
doc(preset): document preset contexts
2024-02-09 03:07:23 -05:00
chyyran
2fbc7f92da
capi: add preset_ctx C API
2024-02-09 02:49:31 -05:00
chyyran
4da6c98655
rt: add driver context + path context for FilterChain::load_with_path
2024-02-09 02:02:13 -05:00
chyyran
a14b36e05b
presets: initial preset contexts API
2024-02-09 02:02:13 -05:00
chyyran
f1524f6049
preset: initial work on context
2024-02-09 02:02:13 -05:00
chyyran
2450217c29
fmt: cargo fmt
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
d700234c3c
presets: polyfill extract_if
2024-02-03 22:06:55 -05:00
chyyran
3735659604
preset: drain_filter -> extract_if
2023-07-20 02:40:13 -04:00
chyyran
020fac87ba
deps: upgrade to windows 0.48.0
2023-04-23 01:44:28 -04:00
chyyran
70aa4091e0
build: fix nightly flag
2023-04-23 00:13:39 -04:00
chyyran
3e144bbdff
presets: allow unbalanced quotes
2023-02-24 02:11:52 -05:00
chyyran
604edfb78f
cache: implement transparent shader object cache
...
supported objects:
- SPIR-V artifacts
- Validated DXIL artifacts
- DXBC artifacts
- OpenGL Program Binaries
- Vulkan Pipeline caches
- D3D12 CACHED_PIPELINE_STATE
2023-02-15 18:08:47 -05:00
chyyran
e2e6357cfb
presets: parse depth first to allow for proper override behaviour
2023-02-14 02:48:42 -05:00
chyyran
b1a6952020
presets: allow presets to end with a comment
2023-02-14 00:59:43 -05:00
chyyran
48a1b28665
presets: greatly improve path resolution logic and parsing of invalid constructs
2023-02-08 03:06:25 -05:00
chyyran
6d75dc5100
fmt: general format and clean up
2023-02-07 02:31:08 -05:00
chyyran
b81b2b1d25
fmt: run clippy
2023-02-05 18:34:30 -05:00
chyyran
4e51704e35
reflect: abstract away preset compilation
2023-01-18 20:56:08 -05:00
chyyran
422253b42b
doc: clean up docs
2023-01-18 19:39:36 -05:00
chyyran
e887b7cf35
docs: add crate docs to helper crates
2023-01-16 23:09:07 -05:00
chyyran
19e8da7d85
chore: general cleanup
2023-01-15 11:08:13 -05:00
chyyran
5545f89f28
fmt: run cargo fmt
2023-01-12 21:29:42 -05:00
chyyran
02b3b8baff
vk: fix image format conversions
2023-01-11 17:28:09 -05:00
chyyran
1665770615
rt: move image into runtime
2022-12-01 17:11:42 -05:00
chyyran
5d668a2233
doc: doc preset
2022-12-01 00:24:24 -05:00
chyyran
acab02e401
doc: general add docs and clean up
2022-11-30 22:50:57 -05:00
chyyran
873814b03b
d3d11: cleanup error and api
2022-11-30 19:05:12 -05:00
chyyran
2081e00956
gl: don't keep entire shaderpreset for final filter chain object
2022-11-28 01:16:09 -05:00
chyyran
1579516d25
fmt: clean up unused items
2022-11-21 16:21:50 -05:00