gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 548 forks source link

[dx11] Fix some panics with multiple entries spirv #3639

Closed Zazck closed 3 years ago

Zazck commented 3 years ago

PR checklist:

fixes: error X4502: invalid vs_5_0 output semantic 'SV_Target0' Unable to find binding 1

note: on my machine win10 rx580, wgpu-rs shadow example and texture-arrays are still broken. gfx example compute not working but wgpu-rs hello-compute works. also gfx example colour-uniform is broken. this pr does not impact those issues. on a win7 machine with nvidia 930m or intel 5500, almost everything does not work except use renderdoc.

bors[bot] commented 3 years ago

Build succeeded: