vkd3d-shader: Hide support for DXIL sources.

Unfortunately this is not sufficiently ready to release.
This commit is contained in:
Henri Verbeet
2023-09-18 13:54:00 +02:00
committed by Alexandre Julliard
parent b8f2c3e1f4
commit da89da2bf3
Notes: Alexandre Julliard 2023-09-18 22:14:19 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/350
3 changed files with 10 additions and 0 deletions

View File

@@ -43,12 +43,16 @@ static inline enum vkd3d_result vkd3d_shader_parse_dxbc_source_type(const struct
if (tag == TAG_SHDR || tag == TAG_SHEX)
{
*type = VKD3D_SHADER_SOURCE_DXBC_TPF;
#ifndef VKD3D_SHADER_UNSUPPORTED_DXIL
break;
#else
}
else if (tag == TAG_DXIL)
{
*type = VKD3D_SHADER_SOURCE_DXBC_DXIL;
/* Default to DXIL if both are present. */
break;
#endif
}
}