wined3d: Introduce wined3d_device_get_compute_shader().
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
83b9fdb23b
commit
76a4efe1ed
|
@ -2738,6 +2738,13 @@ void CDECL wined3d_device_set_compute_shader(struct wined3d_device *device, stru
|
|||
wined3d_shader_decref(prev);
|
||||
}
|
||||
|
||||
struct wined3d_shader * CDECL wined3d_device_get_compute_shader(const struct wined3d_device *device)
|
||||
{
|
||||
TRACE("device %p.\n", device);
|
||||
|
||||
return device->state.shader[WINED3D_SHADER_TYPE_COMPUTE];
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_set_cs_cb(struct wined3d_device *device, unsigned int idx, struct wined3d_buffer *buffer)
|
||||
{
|
||||
TRACE("device %p, idx %u, buffer %p.\n", device, idx, buffer);
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
@ cdecl wined3d_device_get_base_vertex_index(ptr)
|
||||
@ cdecl wined3d_device_get_clip_plane(ptr long ptr)
|
||||
@ cdecl wined3d_device_get_clip_status(ptr ptr)
|
||||
@ cdecl wined3d_device_get_compute_shader(ptr)
|
||||
@ cdecl wined3d_device_get_creation_parameters(ptr ptr)
|
||||
@ cdecl wined3d_device_get_depth_stencil_view(ptr)
|
||||
@ cdecl wined3d_device_get_device_caps(ptr ptr)
|
||||
|
|
|
@ -2162,6 +2162,7 @@ HRESULT __cdecl wined3d_device_get_clip_plane(const struct wined3d_device *devic
|
|||
UINT plane_idx, struct wined3d_vec4 *plane);
|
||||
HRESULT __cdecl wined3d_device_get_clip_status(const struct wined3d_device *device,
|
||||
struct wined3d_clip_status *clip_status);
|
||||
struct wined3d_shader * __cdecl wined3d_device_get_compute_shader(const struct wined3d_device *device);
|
||||
void __cdecl wined3d_device_get_creation_parameters(const struct wined3d_device *device,
|
||||
struct wined3d_device_creation_parameters *creation_parameters);
|
||||
struct wined3d_rendertarget_view * __cdecl wined3d_device_get_depth_stencil_view(const struct wined3d_device *device);
|
||||
|
|
Loading…
Reference in New Issue