From 7afa7cb4b4216660489d8883c6b7d8d86414456a Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 20 Dec 2020 00:44:03 -0500 Subject: gallium/tests: stop using cso_set_sampler_views MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It will be removed. Reviewed-by: Eric Anholt Reviewed-by: Zoltán Böszörményi Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/tests/trivial/quad-tex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c index fe345a94ae7..cc4e011d7a9 100644 --- a/src/gallium/tests/trivial/quad-tex.c +++ b/src/gallium/tests/trivial/quad-tex.c @@ -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); -- cgit v1.2.3