mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 11:08:45 +00:00
wined3d: Introduce wined3d_device_set_cs_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
7112c290d1
commit
c9f080f4a6
3 changed files with 11 additions and 0 deletions
|
@ -2753,6 +2753,14 @@ void CDECL wined3d_device_set_cs_resource_view(struct wined3d_device *device,
|
|||
wined3d_device_set_shader_resource_view(device, WINED3D_SHADER_TYPE_COMPUTE, idx, view);
|
||||
}
|
||||
|
||||
void CDECL wined3d_device_set_cs_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_COMPUTE, idx, sampler);
|
||||
}
|
||||
|
||||
static void wined3d_device_set_pipeline_unordered_access_view(struct wined3d_device *device,
|
||||
enum wined3d_pipeline pipeline, unsigned int idx, struct wined3d_unordered_access_view *uav)
|
||||
{
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
@ cdecl wined3d_device_set_compute_shader(ptr ptr)
|
||||
@ cdecl wined3d_device_set_cs_cb(ptr long ptr)
|
||||
@ cdecl wined3d_device_set_cs_resource_view(ptr long ptr)
|
||||
@ cdecl wined3d_device_set_cs_sampler(ptr long ptr)
|
||||
@ cdecl wined3d_device_set_cs_uav(ptr long ptr)
|
||||
@ cdecl wined3d_device_set_cursor_position(ptr long long long)
|
||||
@ cdecl wined3d_device_set_cursor_properties(ptr long long ptr long)
|
||||
|
|
|
@ -2256,6 +2256,8 @@ void __cdecl wined3d_device_set_compute_shader(struct wined3d_device *device, st
|
|||
void __cdecl wined3d_device_set_cs_cb(struct wined3d_device *device, unsigned int idx, struct wined3d_buffer *buffer);
|
||||
void __cdecl wined3d_device_set_cs_resource_view(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_shader_resource_view *view);
|
||||
void __cdecl wined3d_device_set_cs_sampler(struct wined3d_device *device,
|
||||
unsigned int idx, struct wined3d_sampler *sampler);
|
||||
void __cdecl wined3d_device_set_cs_uav(struct wined3d_device *device, unsigned int idx,
|
||||
struct wined3d_unordered_access_view *uav);
|
||||
void __cdecl wined3d_device_set_cursor_position(struct wined3d_device *device,
|
||||
|
|
Loading…
Reference in a new issue