1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-30 07:57:45 +00:00
Commit graph

19 commits

Author SHA1 Message Date
ec04c13fbd Silence more dead code warnings
This is intentional, for various reasons between binrw limitations and
code that isn't used directly in Physis.
2024-06-29 09:33:23 -04:00
e5caab2e64 Run rustfmt and fix more Clippy warnings 2024-05-18 09:42:07 -04:00
89d026bf63 Remove usage of crc crate as a main dependency
This was temporarily used for shader key hashing, but now an original
implementation using zlib's crc32 function from crcracker
(https://github.com/NotNite/crcracker/) is used instead. Tests are added
and existing ones are used to ensure it's the same.
2024-04-29 18:57:15 -04:00
fdfbfc2c6d Allow for multi-value float material constants 2024-04-27 18:43:49 -04:00
f54e128bba Expose the default subview keys 2024-04-27 12:36:31 -04:00
6995392b5b Fix loading shader packages for Dawntrail 2024-04-27 11:55:16 -04:00
cc729e38d8 Add crc method to SHPK for calculating it's value, add test for selector 2024-04-21 10:04:40 -04:00
58c3e15e2c Remove some more debug messages 2024-04-20 15:12:40 -04:00
d5b3b8a468 Run cargo fmt 2024-04-20 13:18:03 -04:00
4a882d529d Add invalid data test for ShaderPackage 2024-04-16 22:06:59 -04:00
f2475c99ce Remove unused imports in SHPK 2024-01-29 16:22:45 -05:00
a18602e3d5 Rewrite SHPK reading 2024-01-29 15:07:35 -05:00
88562f4dc6 Improve SHPK documentation 2023-12-02 19:58:22 -05:00
1869c31268 Fix some warnings 2023-10-13 16:59:39 -04:00
7a75c170cc Make a semantic difference between owned and non-owned byte data 2023-10-13 16:16:04 -04:00
3243132a3f Fix shader package reading
I had broken something when making shader parameters work, now it's
unbroken, and it's able to read bytecode again.
2023-10-13 14:52:07 -04:00
3115ec1f68 Continue to work on SHPK parsing, including parameters 2023-09-24 15:40:07 -04:00
4dfd36dbd8 Fix and quiet clippy warnings 2023-09-22 19:17:24 -04:00
dccc4e3586 Add support for reading shader packages and it's bytecode 2023-09-22 16:36:12 -04:00