protonscr

[Not the bug] How to adjust or disable the shader optimize for vkd3d?

vkd3dclosed
HansKristian-Work/vkd3d-proton#2492 · opened 2025-06-03 by Art-Chen · updated 2025-06-09 · 3 comments · github
AArt-Chen 2025-06-03 github

is any debug option to disable the shader optimize?

My graphics driver has limit support for the vector component label.

Works:
layout(location = 3) in vec3 packed_ffp_varying_texcoord_5_ffp_varying_texcoord_6_ffp_varying_texcoord_7_ffp_varying_texcoord_0_xyz;

Don't work:
layout(location = 3, component = 3) in float packed_ffp_varying_texcoord_5_ffp_varying_texcoord_6_ffp_varying_texcoord_7_ffp_varying_texcoord_0_;

Thanks:

HHansKristian-Work maintainer 2025-06-03 github

This has nothing to do with shader optimization, but correctness. If driver is broken, it must be fixed.

AArt-Chen 2025-06-09 github

This has nothing to do with shader optimization, but correctness. If driver is broken, it must be fixed.

Sorry bro, the graphics driver is the qcom proprieraty driver, not by me, so only thing i can do is to workaround it.
Is there any way to workaround this?

HHansKristian-Work maintainer 2025-06-09 github

no

Nothing extracted yet.