From 33eae49eda4e595f9d33e6b596af83209925ec22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Fri, 28 Jul 2017 10:19:37 +0200 Subject: [PATCH] libs/vkd3d: Implement d3d12_command_list_SetComputeRoot32BitConstants(). --- libs/vkd3d/command.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 6eae326a..1b0de7b9 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2390,8 +2390,13 @@ static void STDMETHODCALLTYPE d3d12_command_list_SetGraphicsRoot32BitConstant(ID static void STDMETHODCALLTYPE d3d12_command_list_SetComputeRoot32BitConstants(ID3D12GraphicsCommandList *iface, UINT root_parameter_index, UINT constant_count, const void *data, UINT dst_offset) { - FIXME("iface %p, root_parameter_index %u, constant_count %u, data %p, dst_offset %u stub!\n", + struct d3d12_command_list *list = impl_from_ID3D12GraphicsCommandList(iface); + + TRACE("iface %p, root_parameter_index %u, constant_count %u, data %p, dst_offset %u.\n", iface, root_parameter_index, constant_count, data, dst_offset); + + d3d12_command_list_set_root_constants(list, list->compute_root_signature, + root_parameter_index, dst_offset, constant_count, data); } static void STDMETHODCALLTYPE d3d12_command_list_SetGraphicsRoot32BitConstants(ID3D12GraphicsCommandList *iface,