vkd3d-proton icon indicating copy to clipboard operation
vkd3d-proton copied to clipboard

Look into Watch Dogs: Legion DXIL shaders

Open HansKristian-Work opened this issue 3 years ago • 7 comments

The game is exclusively using DXIL and we're triggering some errors in dxil-spirv.

HansKristian-Work avatar Oct 29 '20 14:10 HansKristian-Work

I just picked this up and running it in dx11 mode for the moment, but would love to use dx12 instead. Let me know if you need any testing/logs/whatever. (nvidia)

screwylightbulb avatar Jan 01 '21 19:01 screwylightbulb

The game loads menu with current master, but this loading lasts forever, can't actually play the game. Screenshot_2021-03-10_17-08-43

artemyto avatar Mar 10 '21 14:03 artemyto

I tried these artifacts: https://github.com/HansKristian-Work/vkd3d-proton/actions/runs/639219243

I am on Nvidia 1070 / Driver 460.56

What information can I provide which may be useful?

artemyto avatar Mar 10 '21 14:03 artemyto

I get this: 976:err:vkd3d_dxil_log_callback: dxil-spirv: There is no candidate for ladder merging.

And an infinite amount of this: 972:fixme:d3d12_command_list_ResourceBarrier: NULL resource for pResourceAfter. Won't be able to transition images away from UNDEFINED.

screwylightbulb avatar Mar 10 '21 14:03 screwylightbulb

Probably worth retesting this on master, there were a bunch of dxil fixes since the last report here.

Oschowa avatar Sep 07 '21 12:09 Oschowa

The game works with current master

artemyto avatar Nov 13 '21 17:11 artemyto

The game works, but enabling ray tracing causes an instant hang.

Checking the shader dumps with spirv-val --scalar-block-layout gives nothing.

Here's the log grabbed with VKD3D_DEBUG=trace

vkd3d.log

(Also for anyone on Nvidia, DLSS doesn't even get exposed as an option, it's grayed out. But that's not a vkd3d issue)

EDIT: GitHub won't let me upload a tar.gz or a .zip of the dumped shaders, it's some bug in GitHub idk what's going on, but anyway here's a google drive link to the shaders if you need them

https://drive.google.com/file/d/1D6GeXlkAHpCE5IEwCAEt7oXUzzz2MMYR/view?usp=sharing

gardotd426 avatar Nov 14 '21 12:11 gardotd426