chyyran
b348e8591f
lib: use a faster hashmap implementation
2024-02-14 20:50:17 -05:00
chyyran
a2987555a2
chore: Release
2024-02-14 03:08:40 -05:00
chyyran
fb62a1e3f4
build: downgrade ahash to 0.8.7
2024-02-14 03:08:09 -05:00
chyyran
ad4e72f359
rt: use bytemuck::offset_of instead of std::mem::offset_of
2024-02-14 03:08:09 -05:00
chyyran
ab31abb3d7
capi(mtl): prep metal capi
2024-02-14 03:08:09 -05:00
chyyran
3b0531dc62
rt(mtl): rename librashader-runtime-metal to librashader-runtime-mtl to match existing convention and export from root crate
2024-02-14 03:08:09 -05:00
chyyran
5554703af7
rt(mtl): fix stride asssignment
2024-02-14 03:08:09 -05:00
chyyran
a7b1682a37
rt(mtl): implement filter pass and filter chain logic
2024-02-14 03:08:09 -05:00
chyyran
8dc0e0d100
rt(mtl): set up pipeline objects and renderpass
2024-02-14 03:08:09 -05:00
chyyran
d5ef5904f3
cache: get rid of rusqlite to avoid a C dependency
2024-02-14 00:55:52 -05:00
chyyran
aca5b5420c
rt(gl): use struct for draw_quad
2024-02-13 02:01:20 -05:00
chyyran
c121087348
rt(vk, wgpu): use structs for quad data
2024-02-13 02:01:20 -05:00
chyyran
d0a5224c10
dep: upgrade librashader-spirv-cross
2024-02-11 15:48:01 -05:00
chyyran
252f685967
reflect: abstract away output compiler into its own trait
2024-02-11 15:48:01 -05:00
chyyran
4733831500
rt(vk): update winit in tests
2024-02-11 15:48:01 -05:00
chyyran
12af3c3f3a
chore: Release
2024-02-09 18:30:07 -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
c34fa4195b
chore: Release
2024-02-09 02:55:02 -05:00
chyyran
9732812b91
build: fix build script clap to 4.1.0
2024-02-09 02:02:13 -05:00
chyyran
a14b36e05b
presets: initial preset contexts API
2024-02-09 02:02:13 -05:00
chyyran
f9fdb93c0c
dep: update glslang and bitflags
2024-02-08 18:16:10 -05:00
chyyran
b7f62dc378
chore: Release
2024-02-07 23:56:09 -05:00
chyyran
91794dd353
build: remove cmake and python dependency
2024-02-07 23:55:33 -05:00
chyyran
2b208f1848
dep: remove shaderc dependency
2024-02-07 23:55:33 -05:00
chyyran
47f6e0f10e
chore: Release
2024-02-07 00:00:18 -05:00
chyyran
665570342c
doc(lib): add wgpu-types to librashader deps
2024-02-06 23:59:55 -05:00
chyyran
fb2bcc5d52
chore: Release
2024-02-06 21:41:00 -05:00
chyyran
5c8428eac8
lib: add wgpu dependency in runtime-wgpu
2024-02-06 21:38:17 -05:00
chyyran
f6268a621c
chore: Release
2024-02-06 19:20:37 -05:00
chyyran
37397ff216
lib: add wgpu to librashader library
2024-02-06 19:04:28 -05:00
chyyran
54e86e7b06
fmt: clean up unused imports
2024-02-06 19:04:28 -05:00
chyyran
e39834547c
rt(wgpu): take an arc of the source texture
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
555ff6f9fc
rt(wgpu): update to wgpu 0.19
2024-02-06 19:04:28 -05:00
chyyran
7586ed4633
build: don't specify python patch
...
# Conflicts:
# .idea/workspace.xml
2024-02-06 19:04:28 -05:00
chyyran
2b995539f2
rt(wgpu): add structure to wgpu backend
2024-02-06 19:04:28 -05:00
chyyran
4e052159e7
rt(wgpu): create pipeline bind group layouts
2024-02-06 19:04:28 -05:00
chyyran
ae2a427b5e
pkg(rpm): add RPM spec file
2024-02-04 13:16:48 -05:00
chyyran
552be8c34e
rt(gl): remove unnecessary unstable features
...
polyfill strict_provenance with sptr
2024-02-03 22:06:55 -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
d5bf7e312c
build: update lockfile
2024-02-03 02:42:52 -05:00
chyyran
fa3b6bf5fc
chore: Release
2023-11-30 02:11:33 -05:00
chyyran
ee0587310c
chore: Release
2023-11-30 02:07:12 -05:00
chyyran
d17503be71
build: unify ash version
2023-11-30 02:03:43 -05:00
chyyran
6e071138dc
build: update spirv-to-dxil-sys to reduce mesa build reqs
2023-11-29 03:26:58 -05:00
chyyran
b09a5295ab
reflect: update spirv-to-dxil
2023-07-20 02:40:13 -04:00
chyyran
3735659604
preset: drain_filter -> extract_if
2023-07-20 02:40:13 -04:00
chyyran
ab8072c4f7
chore: Release
2023-04-23 18:52:14 -04:00
chyyran
020fac87ba
deps: upgrade to windows 0.48.0
2023-04-23 01:44:28 -04:00
chyyran
31235971db
chore: Release
2023-02-21 21:07:17 -05:00
chyyran
ac1494bee1
chore: Release
2023-02-21 17:09:10 -05:00
chyyran
e2901b4a59
chore: Release
2023-02-19 15:38:43 -05:00
chyyran
85ea566575
chore: Release
2023-02-18 00:29:01 -05:00
chyyran
b780ca2a90
chore: Release
2023-02-17 01:13:52 -05:00
chyyran
6caf50fcc1
deps: update dependencies
2023-02-17 01:11:30 -05:00
chyyran
7ebc3da94b
chore: Release
2023-02-16 01:11:55 -05:00
chyyran
f42328280a
tests: split tests into their own crates
2023-02-16 00:39:36 -05:00
chyyran
7d6701aa4e
chore: Release
2023-02-15 22:58:34 -05:00
chyyran
0000fdbdec
chore: Release
2023-02-15 18:40:06 -05:00
chyyran
2ca6aecfe4
cache: clean up cache api
2023-02-15 18:08:47 -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
07fac4d1e9
rt: load luts with multiple threads
2023-02-14 02:56:06 -05:00
chyyran
893c58c53d
chore: Release
2023-02-13 00:41:53 -05:00
chyyran
d6bbdb43fd
d3d12: no need to build hlsl if not needed
2023-02-12 22:49:23 -05:00
chyyran
bc45729a51
build: replace cargo post with custom buildscript
2023-02-11 18:12:14 -05:00
chyyran
512a4c0050
rt: make runtimes thread safe and document thread safety guarantees
2023-02-10 03:20:59 -05:00
chyyran
009e740610
vk: use gpu-allocator for memory allocations
2023-02-09 18:14:55 -05:00
chyyran
cc3e50611e
chore: Release
2023-02-08 21:22:33 -05:00
chyyran
771a0896d7
chore: Release
2023-02-08 18:55:46 -05:00
chyyran
5ebc248078
chore: Release
2023-02-08 18:49:11 -05:00
chyyran
3e334536c3
preprocess: stick presets on beta 16 i guess
2023-02-08 18:48:58 -05:00
chyyran
9847e5e603
chore: Release
2023-02-08 18:47:36 -05:00
chyyran
c475a4cd9d
reflect: fix feature flag for dxil
2023-02-08 18:47:22 -05:00
chyyran
07d9869f85
chore: Release
2023-02-08 18:44:40 -05:00
chyyran
c02416314e
preprocess: fix dev dependency
2023-02-08 18:44:30 -05:00
chyyran
44b2a797b4
test: add test for shader preprocess
2023-02-08 03:37:21 -05:00
chyyran
2128945c06
test: add test for shader preprocess
2023-02-08 03:28:27 -05:00
chyyran
85497e47c1
build: untangle spirv-to-dxil from non-d3d12 paths
2023-02-08 03:21:28 -05:00
chyyran
ccc2539e2f
chore: Release
2023-02-08 03:09:03 -05:00
chyyran
48a1b28665
presets: greatly improve path resolution logic and parsing of invalid constructs
2023-02-08 03:06:25 -05:00
chyyran
45dbdc6157
chore: Release
2023-02-07 20:05:12 -05:00
chyyran
d1771a8b25
api: fix feature flags to allow building a proper subset of librashader
2023-02-07 18:50:33 -05:00
chyyran
d6e1f2ca16
chore: Release
2023-02-07 02:32:55 -05:00
chyyran
cb4dc418cd
chore: Release
2023-02-06 19:23:06 -05:00
chyyran
3ad67d9539
dep: upgrade to spirv-to-dxil 0.3
2023-02-06 19:22:53 -05:00
chyyran
8588021a6e
chore: Release
2023-02-06 02:48:40 -05:00
chyyran
37cb3493ca
chore: Release
2023-02-06 02:21:19 -05:00
chyyran
9a898f2cba
build: try letting cmake take care of meson and ninja.
2023-02-06 01:42:43 -05:00
chyyran
3cdf3aa105
doc(d3d12): clean up docs for d3d12
2023-02-06 01:25:06 -05:00
chyyran
3db89e5351
vk/11/12: bind VBO only once per frame to save on draw calls.
2023-02-06 00:23:37 -05:00
chyyran
f077f86bad
dx12: cleanup and micro-opts
2023-02-05 21:49:55 -05:00
chyyran
f5fe3e37ef
rt(d3d11/vk): allow for parallel shader compilation
...
OpenGL is for obvious reasons incompatible, and for DX12 the graphics pipeline creation has to be on the main thread so there isn't that much gain to be had.
2023-02-05 19:53:45 -05:00
chyyran
f677666900
d3d12: initial implementation of spirv-to-dxil
2023-02-05 01:05:42 -05:00
chyyran
53e3732a93
d3d12: complete mipmapper
2023-02-01 02:08:50 -05:00
chyyran
2f82c5f430
d3d12: implement sampler palette
2023-02-01 02:08:50 -05:00
chyyran
0ceb70d799
d3d12: take hello triangle from windows-rs
2023-02-01 02:08:50 -05:00
chyyran
b7a44f25f3
chore: Release
2023-01-29 22:49:26 -05:00
chyyran
43b7d6fb53
preprocess: support latin-1 encoding
2023-01-28 11:58:59 -05:00