spirv-diff

Crates.iospirv-diff
lib.rsspirv-diff
version0.1.0
sourcesrc
created_at2021-10-31 10:46:23.280282
updated_at2021-10-31 10:46:23.280282
descriptionA tool for diffing SPIR-V files
homepage
repositoryhttps://github.com/expenses/spirv-diff
max_upload_size
id474663
size12,838
Ashley (expenses)

documentation

README

spirv-diff

A tool for diffing SPIR-V files

This is a CLI command that takes in the path of two SPIR-V files, disassembles them and then diffs them with git diff --no-index. This is something that's extremely trivial to do with a shell script on a Unix, but is more complex on Windows.

Usage

spirv-diff 0.1.0
A tool for diffing SPIR-V files

USAGE:
    spirv-diff <file-a> <file-b>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <file-a>    The path of the first SPIR-V file to diff
    <file-b>    The path of the second SPIR-V file to diff

As it just uses git diff, the diff viewer you have set in git is used. Additionally, you can simply pipe the output into files or other commands.

Commit count: 3

cargo fmt