mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/d3d-asm: Only emit signatures for SM4-6.
This commit is contained in:
parent
1fc55d80cd
commit
23259263cf
Notes:
Alexandre Julliard
2024-03-08 23:49:27 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/697
@ -2293,7 +2293,9 @@ enum vkd3d_result vkd3d_dxbc_binary_to_text(const struct vsir_program *program,
|
||||
shader_get_type_prefix(shader_version->type), shader_version->major,
|
||||
shader_version->minor, compiler.colours.reset);
|
||||
|
||||
if (formatting & VKD3D_SHADER_COMPILE_OPTION_FORMATTING_IO_SIGNATURES)
|
||||
/* The signatures we emit only make sense for DXBC shaders. D3DBC
|
||||
* doesn't even have an explicit concept of signature. */
|
||||
if (formatting & VKD3D_SHADER_COMPILE_OPTION_FORMATTING_IO_SIGNATURES && shader_version->major >= 4)
|
||||
{
|
||||
if ((result = dump_signatures(&compiler, shader_desc, shader_version->type)) < 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user