vkd3d-shader: Implement VKD3D_SHADER_TARGET_SPIRV_TEXT.

Signed-off-by: Isabella Bosia <ibosia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Isabella Bosia
2020-09-07 12:35:41 +01:00
committed by Alexandre Julliard
parent e75a0d6f14
commit f222f99011
3 changed files with 63 additions and 0 deletions

View File

@@ -1063,6 +1063,9 @@ const enum vkd3d_shader_target_type *vkd3d_shader_get_supported_target_types(
static const enum vkd3d_shader_target_type dxbc_tpf_types[] =
{
VKD3D_SHADER_TARGET_SPIRV_BINARY,
#ifdef HAVE_SPIRV_TOOLS
VKD3D_SHADER_TARGET_SPIRV_TEXT,
#endif
};
TRACE("source_type %#x, count %p.\n", source_type, count);