Commit graph

37 commits

Author SHA1 Message Date
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 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 ac66b1b6f6 style: fix warnings 2024-08-09 00:56:44 -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 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 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 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 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 48a1b28665 presets: greatly improve path resolution logic and parsing of invalid constructs 2023-02-08 03:06:25 -05:00
chyyran 4e51704e35 reflect: abstract away preset compilation 2023-01-18 20:56:08 -05:00
chyyran 873814b03b d3d11: cleanup error and api 2022-11-30 19:05:12 -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 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 731c27a4be repo: move slang-shaders to root/test 2022-10-21 00:09:38 -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
chyyran 6b8449b4da preset: parse to config structs 2022-10-20 22:52:34 -04:00
chyyran 806e1ae2ee preset: parse feedbackpass value 2022-10-20 02:37:56 -04:00
chyyran 2cb41d16b2 preset: handle parsing scale 2022-10-20 02:26:21 -04:00
chyyran 1c2a83df09 preset: implement texture and parameter parsing 2022-10-20 01:59:15 -04:00
chyyran c5b0ce211c presets: implement path resolution logic 2022-10-19 22:47:43 -04:00