Commit graph

57 commits

Author SHA1 Message Date
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
chyyran 80fa30e54e preprocess: move ShaderSource to preprocess and rename common def libs 2022-11-21 16:13:37 -05:00
chyyran 10eb2c3106 gl: implement passfeedback and original history 2022-11-21 02:13:10 -05:00
chyyran 23b13ef047 gl: clean up filter_chain a little bit 2022-11-20 01:09:05 -05:00
chyyran eb582e396e gl: make framecount usize 2022-11-20 00:05:50 -05:00
chyyran afc750c37c gl: correct scaling options 2022-11-17 01:21:29 -05:00
chyyran 848d87021c gl: start work on frame history 2022-11-14 00:14:05 -05:00
chyyran dcbdb382e1 presets: allow comments on the same line as a declaration 2022-11-13 01:57:22 -05:00
chyyran f0ad7ea3c8 chore: run fmt 2022-10-23 00:59:18 -04:00
chyyran de161373a9 api: do some renaming of structs 2022-10-21 21:04:00 -04:00
chyyran 731c27a4be repo: move slang-shaders to root/test 2022-10-21 00:09:38 -04:00
chyyran cc295133c0 preset: fix wrong scale type when x/y scale specified 2022-10-20 23:23:20 -04:00
chyyran 1c18faa83e preset: consider scale when parsing xy scale 2022-10-20 23:11:23 -04:00
chyyran 8606c55a92 chore: run clippy and fmt 2022-10-20 23:05:56 -04:00
chyyran a43cd9f3d5 preset: implement missing scale_type_x/y 2022-10-20 23:04:29 -04:00