mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Allow vkd3d_shader_compile() to handle multiple target types.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
d6ec017077
commit
95fa257a37
@@ -1351,6 +1351,7 @@ static HRESULT create_shader_stage(struct d3d12_device *device,
|
||||
compile_info.source.code = code->pShaderBytecode;
|
||||
compile_info.source.size = code->BytecodeLength;
|
||||
compile_info.source_type = VKD3D_SHADER_SOURCE_DXBC_TPF;
|
||||
compile_info.target_type = VKD3D_SHADER_TARGET_SPIRV_BINARY;
|
||||
compile_info.options = NULL;
|
||||
compile_info.option_count = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user