wined3d: Introduce wined3d_device_set_ds_resource_view().
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
a077912e6b
commit
2654710f44
|
@ -2724,6 +2724,14 @@ void CDECL wined3d_device_set_ds_cb(struct wined3d_device *device, unsigned int
|
|||
wined3d_device_set_constant_buffer(device, WINED3D_SHADER_TYPE_DOMAIN, idx, buffer);
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_set_ds_resource_view(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_shader_resource_view *view)
|
||||
{
|
||||
TRACE("device %p, idx %u, view %p.\n", device, idx, view);
|
||||
|
||||
wined3d_device_set_shader_resource_view(device, WINED3D_SHADER_TYPE_DOMAIN, idx, view);
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_set_geometry_shader(struct wined3d_device *device, struct wined3d_shader *shader)
|
||||
{
|
||||
struct wined3d_shader *prev = device->update_state->shader[WINED3D_SHADER_TYPE_GEOMETRY];
|
||||
|
|
|
@ -129,6 +129,7 @@
|
|||
@ cdecl wined3d_device_set_dialog_box_mode(ptr long)
|
||||
@ cdecl wined3d_device_set_domain_shader(ptr ptr)
|
||||
@ cdecl wined3d_device_set_ds_cb(ptr long ptr)
|
||||
@ cdecl wined3d_device_set_ds_resource_view(ptr long ptr)
|
||||
@ cdecl wined3d_device_set_gamma_ramp(ptr long long ptr)
|
||||
@ cdecl wined3d_device_set_geometry_shader(ptr ptr)
|
||||
@ cdecl wined3d_device_set_gs_cb(ptr long ptr)
|
||||
|
|
|
@ -2320,6 +2320,8 @@ void __cdecl wined3d_device_set_depth_stencil_view(struct wined3d_device *device
|
|||
HRESULT __cdecl wined3d_device_set_dialog_box_mode(struct wined3d_device *device, BOOL enable_dialogs);
|
||||
void __cdecl wined3d_device_set_domain_shader(struct wined3d_device *device, struct wined3d_shader *shader);
|
||||
void __cdecl wined3d_device_set_ds_cb(struct wined3d_device *device, unsigned int idx, struct wined3d_buffer *buffer);
|
||||
void __cdecl wined3d_device_set_ds_resource_view(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_shader_resource_view *view);
|
||||
void __cdecl wined3d_device_set_gamma_ramp(const struct wined3d_device *device,
|
||||
UINT swapchain_idx, DWORD flags, const struct wined3d_gamma_ramp *ramp);
|
||||
void __cdecl wined3d_device_set_geometry_shader(struct wined3d_device *device, struct wined3d_shader *shader);
|
||||
|
|
Loading…
Reference in New Issue