Crates.io | block_compression |
lib.rs | block_compression |
version | 0.6.0 |
created_at | 2025-01-20 17:04:23.191345+00 |
updated_at | 2025-07-23 05:33:18.006452+00 |
description | Texture block compression using WGPU compute shader |
homepage | |
repository | https://github.com/hasenbanck/block_compression |
max_upload_size | |
id | 1524060 |
size | 424,874 |
Texture block compression using WGPU compute shader. The shaders are a port of Intel's ISPC Texture Compressor's kernel to WGSL compute shader.
Tested with the following backends:
Currently supported block compressions are:
The pipeline creation for BC7 and especially BC6H takes a long time under DX12. The DXC compiler seems to take a very long time to compile the shader. For this reason we moved them behind features, which are included in the default features.
This project is licensed under the MIT license.