wined3d: Introduce wined3d_device_get_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
43b6bfbc37
commit
3f3699b561
|
@ -2789,6 +2789,13 @@ void CDECL wined3d_device_set_ds_sampler(struct wined3d_device *device,
|
||||||
wined3d_device_set_sampler(device, WINED3D_SHADER_TYPE_DOMAIN, idx, sampler);
|
wined3d_device_set_sampler(device, WINED3D_SHADER_TYPE_DOMAIN, idx, sampler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct wined3d_sampler * CDECL wined3d_device_get_ds_sampler(const struct wined3d_device *device, unsigned int idx)
|
||||||
|
{
|
||||||
|
TRACE("device %p, idx %u.\n", device, idx);
|
||||||
|
|
||||||
|
return wined3d_device_get_sampler(device, WINED3D_SHADER_TYPE_DOMAIN, idx);
|
||||||
|
}
|
||||||
|
|
||||||
void CDECL wined3d_device_set_geometry_shader(struct wined3d_device *device, struct wined3d_shader *shader)
|
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];
|
struct wined3d_shader *prev = device->update_state->shader[WINED3D_SHADER_TYPE_GEOMETRY];
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
@ cdecl wined3d_device_get_domain_shader(ptr)
|
@ cdecl wined3d_device_get_domain_shader(ptr)
|
||||||
@ cdecl wined3d_device_get_ds_cb(ptr long)
|
@ cdecl wined3d_device_get_ds_cb(ptr long)
|
||||||
@ cdecl wined3d_device_get_ds_resource_view(ptr long)
|
@ cdecl wined3d_device_get_ds_resource_view(ptr long)
|
||||||
|
@ cdecl wined3d_device_get_ds_sampler(ptr long)
|
||||||
@ cdecl wined3d_device_get_gamma_ramp(ptr long ptr)
|
@ cdecl wined3d_device_get_gamma_ramp(ptr long ptr)
|
||||||
@ cdecl wined3d_device_get_geometry_shader(ptr)
|
@ cdecl wined3d_device_get_geometry_shader(ptr)
|
||||||
@ cdecl wined3d_device_get_gs_cb(ptr long)
|
@ cdecl wined3d_device_get_gs_cb(ptr long)
|
||||||
|
|
|
@ -2218,6 +2218,7 @@ struct wined3d_shader * __cdecl wined3d_device_get_domain_shader(const struct wi
|
||||||
struct wined3d_buffer * __cdecl wined3d_device_get_ds_cb(const struct wined3d_device *device, unsigned int idx);
|
struct wined3d_buffer * __cdecl wined3d_device_get_ds_cb(const struct wined3d_device *device, unsigned int idx);
|
||||||
struct wined3d_shader_resource_view * __cdecl wined3d_device_get_ds_resource_view(const struct wined3d_device *device,
|
struct wined3d_shader_resource_view * __cdecl wined3d_device_get_ds_resource_view(const struct wined3d_device *device,
|
||||||
unsigned int idx);
|
unsigned int idx);
|
||||||
|
struct wined3d_sampler * __cdecl wined3d_device_get_ds_sampler(const struct wined3d_device *device, unsigned int idx);
|
||||||
void __cdecl wined3d_device_get_gamma_ramp(const struct wined3d_device *device,
|
void __cdecl wined3d_device_get_gamma_ramp(const struct wined3d_device *device,
|
||||||
UINT swapchain_idx, struct wined3d_gamma_ramp *ramp);
|
UINT swapchain_idx, struct wined3d_gamma_ramp *ramp);
|
||||||
struct wined3d_shader * __cdecl wined3d_device_get_geometry_shader(const struct wined3d_device *device);
|
struct wined3d_shader * __cdecl wined3d_device_get_geometry_shader(const struct wined3d_device *device);
|
||||||
|
|
Loading…
Reference in New Issue