mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 22:10:38 +02:00
d3d10umd: Update for set_sampler_views take_ownership parameter.
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11973>
This commit is contained in:
parent
e69a82f988
commit
fb78c2de21
2 changed files with 4 additions and 4 deletions
|
|
@ -354,11 +354,11 @@ DestroyDevice(D3D10DDI_HDEVICE hDevice) // IN
|
|||
static struct pipe_sampler_view * sampler_views[PIPE_MAX_SHADER_SAMPLER_VIEWS];
|
||||
memset(sampler_views, 0, sizeof sampler_views);
|
||||
pipe->set_sampler_views(pipe, PIPE_SHADER_FRAGMENT, 0,
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, sampler_views);
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, false, sampler_views);
|
||||
pipe->set_sampler_views(pipe, PIPE_SHADER_VERTEX, 0,
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, sampler_views);
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, false, sampler_views);
|
||||
pipe->set_sampler_views(pipe, PIPE_SHADER_GEOMETRY, 0,
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, sampler_views);
|
||||
PIPE_MAX_SHADER_SAMPLER_VIEWS, 0, false, sampler_views);
|
||||
|
||||
pipe->destroy(pipe);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ SetShaderResources(enum pipe_shader_type shader_type, // IN
|
|||
* probably think about not updating all always... It should just work.
|
||||
*/
|
||||
pipe->set_sampler_views(pipe, shader_type, 0, PIPE_MAX_SHADER_SAMPLER_VIEWS,
|
||||
0, sampler_views);
|
||||
0, false, sampler_views);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue