mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gallium/tests: stop using cso_set_sampler_views
It will be removed. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8180>
This commit is contained in:
parent
2a0195f4b9
commit
7afa7cb4b4
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ static void draw(struct program *p)
|
|||
cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers);
|
||||
|
||||
/* texture sampler view */
|
||||
cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view);
|
||||
p->pipe->set_sampler_views(p->pipe, PIPE_SHADER_FRAGMENT, 0, 1, &p->view);
|
||||
|
||||
/* shaders */
|
||||
cso_set_fragment_shader_handle(p->cso, p->fs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue