mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 14:13:48 +00:00
d3d11: Implement d3d11_immediate_context_DrawIndexedInstancedIndirect().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6ff0e00415
commit
8151875fcb
|
@ -842,7 +842,17 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_DrawAuto(ID3D11DeviceConte
|
|||
static void STDMETHODCALLTYPE d3d11_immediate_context_DrawIndexedInstancedIndirect(ID3D11DeviceContext *iface,
|
||||
ID3D11Buffer *buffer, UINT offset)
|
||||
{
|
||||
FIXME("iface %p, buffer %p, offset %u stub!\n", iface, buffer, offset);
|
||||
struct d3d_device *device = device_from_immediate_ID3D11DeviceContext(iface);
|
||||
struct d3d_buffer *d3d_buffer;
|
||||
|
||||
TRACE("iface %p, buffer %p, offset %u.\n", iface, buffer, offset);
|
||||
|
||||
d3d_buffer = unsafe_impl_from_ID3D11Buffer(buffer);
|
||||
|
||||
wined3d_mutex_lock();
|
||||
wined3d_device_draw_indexed_primitive_instanced_indirect(device->wined3d_device,
|
||||
d3d_buffer->wined3d_buffer, offset);
|
||||
wined3d_mutex_unlock();
|
||||
}
|
||||
|
||||
static void STDMETHODCALLTYPE d3d11_immediate_context_DrawInstancedIndirect(ID3D11DeviceContext *iface,
|
||||
|
|
Loading…
Reference in a new issue