From 21e2633b1023e674804ccd48cfb259d595549439 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_SetGraphicsRoot32BitConstant(). --- 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 8784f52e..6eae326a 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2378,8 +2378,13 @@ static void STDMETHODCALLTYPE d3d12_command_list_SetComputeRoot32BitConstant(ID3 static void STDMETHODCALLTYPE d3d12_command_list_SetGraphicsRoot32BitConstant(ID3D12GraphicsCommandList *iface, UINT root_parameter_index, UINT data, UINT dst_offset) { - FIXME("iface %p, root_parameter_index %u, data 0x%08x, dst_offset %u stub!\n", + struct d3d12_command_list *list = impl_from_ID3D12GraphicsCommandList(iface); + + TRACE("iface %p, root_parameter_index %u, data 0x%08x, dst_offset %u.\n", iface, root_parameter_index, data, dst_offset); + + d3d12_command_list_set_root_constants(list, list->graphics_root_signature, + root_parameter_index, dst_offset, 1, &data); } static void STDMETHODCALLTYPE d3d12_command_list_SetComputeRoot32BitConstants(ID3D12GraphicsCommandList *iface,