This repository was archived by the owner on Jun 18, 2021. It is now read-only.
Invalid HLSL generated for push constants in rust-gpu example #670
Labels
bug
Something isn't working
(just filing this issue so I don't forget about it)
Invalid HLSL seems to be generated when trying to push constants on the DX12 backend in rust-gpu's sky shader example. According to the chat on Discord, the HLSL ends up containing lines like
static ??? _765;
I quickly glanced through the wgpu example runner and the push constant does appear to be defined and set, but we should check what's happening here in case it's a bug in SPIRV-Cross/wgpu/gfx-hal that we could address.
Also rust-gpu seems to be using wgpu 0.6 so it would also be useful to test it on
master
in case it's already addressed somewhere.The text was updated successfully, but these errors were encountered: