mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Enable DXIL support in the default configuration.
This commit is contained in:
Notes:
Henri Verbeet
2025-02-24 16:26:28 +01:00
Approved-by: Conor McCarthy (@cmccarthy) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1371
@@ -43,16 +43,12 @@ 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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user