wined3d: Introduce wined3d_device_get_ds_cb().
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
1f0f162fa7
commit
349e461126
|
@ -2739,6 +2739,13 @@ 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);
|
||||
}
|
||||
|
||||
struct wined3d_buffer * CDECL wined3d_device_get_ds_cb(const struct wined3d_device *device, unsigned int idx)
|
||||
{
|
||||
TRACE("device %p, idx %u.\n", device, idx);
|
||||
|
||||
return wined3d_device_get_constant_buffer(device, WINED3D_SHADER_TYPE_DOMAIN, idx);
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_set_ds_resource_view(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_shader_resource_view *view)
|
||||
{
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
@ cdecl wined3d_device_get_device_caps(ptr ptr)
|
||||
@ cdecl wined3d_device_get_display_mode(ptr long ptr ptr)
|
||||
@ cdecl wined3d_device_get_domain_shader(ptr)
|
||||
@ cdecl wined3d_device_get_ds_cb(ptr long)
|
||||
@ cdecl wined3d_device_get_gamma_ramp(ptr long ptr)
|
||||
@ cdecl wined3d_device_get_geometry_shader(ptr)
|
||||
@ cdecl wined3d_device_get_gs_cb(ptr long)
|
||||
|
|
|
@ -2215,6 +2215,7 @@ HRESULT __cdecl wined3d_device_get_device_caps(const struct wined3d_device *devi
|
|||
HRESULT __cdecl wined3d_device_get_display_mode(const struct wined3d_device *device, UINT swapchain_idx,
|
||||
struct wined3d_display_mode *mode, enum wined3d_display_rotation *rotation);
|
||||
struct wined3d_shader * __cdecl wined3d_device_get_domain_shader(const struct wined3d_device *device);
|
||||
struct wined3d_buffer * __cdecl wined3d_device_get_ds_cb(const struct wined3d_device *device, unsigned int idx);
|
||||
void __cdecl wined3d_device_get_gamma_ramp(const struct wined3d_device *device,
|
||||
UINT swapchain_idx, struct wined3d_gamma_ramp *ramp);
|
||||
struct wined3d_shader * __cdecl wined3d_device_get_geometry_shader(const struct wined3d_device *device);
|
||||
|
|
Loading…
Reference in New Issue