make_spirv_raw
should handle big-endian SPIR-V binaries
#3408
Labels
area: correctness
We're behaving incorrectly
backend: vulkan
Issues with Vulkan
help required
We need community help to make this happen.
type: bug
Something isn't working
Description
We used to allow both little- and big-endian SPIR-V binaries in gfx/wgpu, but now it looks like the host endianness is assumed. See https://github.com/gfx-rs/gfx/blob/3da35c4339513de6a69e7794d42a63203f5820e5/src/auxil/auxil/src/lib.rs#L84 or https://github.com/ash-rs/ash/blob/8b4575086e7a6eff4d81eb5c2cf88714e56c4128/ash/src/util.rs#L127 for reference.
Repro steps
n/a
Expected vs observed behavior
Big-endian words would be passed to the Vulkan driver but this should be handled at the application level.
Extra materials
n/a
Platform
n/a
The text was updated successfully, but these errors were encountered: