Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support slang shaders via librashader #1397

Closed
wants to merge 40 commits into from
Closed

Support slang shaders via librashader #1397

wants to merge 40 commits into from

Conversation

LukeUsher
Copy link
Member

While I don't usually submit PRs for my own work, this requires functioning CI building of librashader before we can push it upstream, this PR will be used as a testbed/development area for the CI scripts.

Note that as this introduces new subtrees, and updates dependencies the changelog is unusually large; this also means that it is not mergable via the Github UI, so this branch will be closed once CI is functional, and manually merged, cleanrly, onto master.

git-subtree-dir: thirdparty/librashader
git-subtree-split: aca5b5420cc5693256b171d624fe5f6f0536bc1f
git-subtree-dir: thirdparty/slang-shaders
git-subtree-split: 3820e9b0a43b410e64c2223b6884a35f731e3e00
9ee290982e Improve code generation on s390x

git-subtree-dir: thirdparty/sljit
git-subtree-split: 9ee290982e66715e51dfeb5c8371f43ad0223a22
2a1119c686 Merge pull request #113 from scribam/ci-switch-vita
51bd8e9696 Add GitHub Actions for Switch and Vita
bd19fbd6fc Merge pull request #110 from scribam/zlib-1.3
577f3276c9 Merge pull request #111 from scribam/c90
5f04e2fdf9 Merge pull request #109 from scribam/actions-checkout
16ebde42b8 Merge pull request #112 from scribam/dr_libs
647f42b274 dr_flac: Version 0.12.42
5fd5165194 Compilation fix when using C90 with GCC
ea2da72d3d Bump zlib to 1.3.1
4e0aa45a78 Update actions/checkout to v4

git-subtree-dir: thirdparty/libchdr
git-subtree-split: 2a1119c686eb07033d02f8c6d12406f8fd373775
a8ae407ddb chore: Release
fe84e6a490 rt(gl): use identity matrix for intermediate GL passes
913ede3852 rt(wgpu): set viewport depth to 0-1
1f5b4380a3 chore: Release
ce3a8c6e52 doc: document msrv
c22328f025 build: revert ahash to 0.8.7
af49128ee7 chore: Release
d3d8e85461 capi: replace unstable library features with polyfills
017a1a6232 fmt: clean up imports and features
e622479c76 build: ignore rust-version if using RUSTC_BOOTSTRAP
b47b27fadb rt(vk): update gpu-allocator
ba6c32e858 rt(wgpu): enable large thread size if possible
edca0f1749 rt(mtl): only gen mipmaps if the level count is greater than 1
efdfd56e0e rt(mtl): don't allow buffers of size 0
c0ecae844c reflect(wgsl): link spirv to remove unused input/outputs
cbac011969 reflect(wgsl): only analyze active ubo members
350508a7aa preprocess: strip #pragma parameter
d6f1af8691 rt: fix tests
adeb9435fc ci: build on macos-14 runner
499b8f5791 ci: make package-obs require approval from maintainers
e944330692 docs: add halfbrown as direct dependency of librashader for docs rendering
f7dd955c0a chore: Release
227e6e743d pkg: remove runtime dependencies
6fbc4b3075 fmt: cargo fmt
05467c2c78 docs: update readme to include macOS binary refs
b7673de811 reflect: remove unneeded TAIT feature bound
4247e64336 docs: update capi docs
b348e8591f lib: use a faster hashmap implementation
dc1ab35d89 doc: bump api version
7f4a883288 doc: add some examples
a2987555a2 chore: Release
3afcd6223c build(capi): dont enable all core features
fb62a1e3f4 build: downgrade ahash to 0.8.7
dca93a1310 test(mtl): add objc example
4259b65ee0 doc(lib): hack to remove wgpu dependency on docsrs
f058134944 rt(wgpu): don't enable all backends by default
ad4e72f359 rt: use bytemuck::offset_of instead of std::mem::offset_of
5c08205360 capi(ld): don't use designated initializer for loader
cc93e37701 reflect: get rid of redundant shader compiler argument
76aa5ce4c6 capi(mtl): implement capi for metal
d89839be16 rt(msl): move main.rs test to tests folder
a1696813aa rt(mtl): optimize buffer usage on apple silicon gpus
004b073b1a rt(mtl): reenable mipmaps
bceb0623a3 rt(mtl): implement clear textures
ab31abb3d7 capi(mtl): prep metal capi
3b0531dc62 rt(mtl): rename librashader-runtime-metal to librashader-runtime-mtl to match existing convention and export from root crate
363657deef rt(vk): make render passes the default, and dynamic rendering not.
05f634a9b9 rt(mtl): properly bind push buffer and select bgra8 in place of rgba8
43da6e60c6 rt(mtl): do intermediate passes offscreen
30dfa1a655 rt(mtl): update with new semantics
325e39063a rt(mtl): move test to main
5554703af7 rt(mtl): fix stride asssignment
a7b1682a37 rt(mtl): implement filter pass and filter chain logic
ba3154b92d rt(mtl): implement texture and buffer abstractions
6780397d49 rt(mtl): fix build on windows
1aedb1bea7 rt: auto-impl parameters
8dc0e0d100 rt(mtl): set up pipeline objects and renderpass
f40df9a54a rt(mtl): drawquad
12d55e928e rt(mtl): common + shaderset for metal
d5ef5904f3 cache: get rid of rusqlite to avoid a C dependency

git-subtree-dir: thirdparty/librashader
git-subtree-split: a8ae407ddbb5d91e80b0581af80535404fe555ca
89a5f03de8 Update ntsc-adaptive-4x.slangp (#548)
162c74f71d Merge pull request #546 from Hyllian/master
66b77ff3a5 Update presets dependent on crt-hyllian
0de94ba9ca Major update to crt-hyllian and variants
63edcb38db Update sgenpt-mix.slang

git-subtree-dir: thirdparty/slang-shaders
git-subtree-split: 89a5f03de8ed4d26a5a217a8469ef6466c89b179
a5503d6dd9 Merge jumps and put_labels
b6b79d5c28 Remove JUMP_LABEL flag
e453c820ec Refactor serial numbers of tests (#233)
f637550915 Improve sljit_generate_code on several cpus

git-subtree-dir: thirdparty/sljit
git-subtree-split: a5503d6dd937c5850d4595ab08a536b14061b842
372315022d ci: pin toolchain used for aarch64-pc-windows-msvc
699243c0ab dep: update Cargo.lock
6d25a653a9 reflect: remove unused spirv-linker dependency
be11953516 build: allow passing arbitrary cargo flags
e38f2636d9 ci: build for aarch64-windows
f073c76ade chore: Release
7ef3780222 fmt: cargo fmt
d60ff76fb2 ci: unify build workflow
50aa582fa8 reflect(d3d12): fakesign dxil blobs to avoid needing dxil.dll
e8eee02bfb reflect: always link and trim unused inouts
22aa59b598 reflect: move spirv_passes out of naga
b75a614873 doc(reflect): document ShaderReflectObject

git-subtree-dir: thirdparty/librashader
git-subtree-split: 372315022da0f21769d907b03cbb18833045a729
23f27e2714 update ntsc-simple to current GLSL version (#549)

git-subtree-dir: thirdparty/slang-shaders
git-subtree-split: 23f27e2714deb610202dbcf2cebb139b5fb6d880
@LukeUsher
Copy link
Member Author

Now that CI is working I'll close this PR as it was just a CI testbed;

v136 release is imminent and this needs more time for testing, as such, librashader support is also delayed until v137 next month.

@LukeUsher LukeUsher closed this Feb 21, 2024
@LukeUsher LukeUsher deleted the librashader branch March 29, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant