wined3d: Introduce wined3d_device_set_ds_sampler().
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
ce6cb4aeb5
commit
75bc118ff2
|
@ -2740,6 +2740,14 @@ void CDECL wined3d_device_set_ds_resource_view(struct wined3d_device *device,
|
|||
wined3d_device_set_shader_resource_view(device, WINED3D_SHADER_TYPE_DOMAIN, idx, view);
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_set_ds_sampler(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_sampler *sampler)
|
||||
{
|
||||
TRACE("device %p, idx %u, sampler %p.\n", device, idx, sampler);
|
||||
|
||||
wined3d_device_set_sampler(device, WINED3D_SHADER_TYPE_DOMAIN, idx, sampler);
|
||||
}
|
||||
|
||||
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];
|
||||
|
|
|
@ -130,6 +130,7 @@
|
|||
@ 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_ds_sampler(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)
|
||||
|
|
|
@ -2322,6 +2322,8 @@ void __cdecl wined3d_device_set_domain_shader(struct wined3d_device *device, str
|
|||
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_ds_sampler(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_sampler *sampler);
|
||||
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