You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I have a shader that I will post below that works flawlessly on the VULKAN backend but doesn't work on the DX12 backend. The strang thing is that the exact same shader code has worked in previous wgpu versions (0.9) (on the DX12 backend)
This is a line shader and the mat4[2] is used to move the two points the line starts and ends.
Expected vs observed behavior
It should draw a line like it does on VULKAN vs it crashes with this error message: error X3000: unrecognized identifier 'type_6'
Description
I have a shader that I will post below that works flawlessly on the VULKAN backend but doesn't work on the DX12 backend. The strang thing is that the exact same shader code has worked in previous wgpu versions (0.9) (on the DX12 backend)
Repro steps
Vertex Shader:
This is a line shader and the mat4[2] is used to move the two points the line starts and ends.
Expected vs observed behavior
It should draw a line like it does on VULKAN vs it crashes with this error message: error X3000: unrecognized identifier 'type_6'
Extra materials
Longer error:
https://pastebin.com/Grmeb9Td
Platform
OS: Windows 10
wgpu-version: 0.12
AdapterInfo { name: "NVIDIA GeForce GTX 1080 Ti", vendor: 4318, device: 6918, device_type: DiscreteGpu, backend: Dx12 }
The text was updated successfully, but these errors were encountered: