Mesa (master): gallium/tests: stop using cso_set_sampler_views
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 15 10:07:39 UTC 2021
Module: Mesa
Branch: master
Commit: 7afa7cb4b4216660489d8883c6b7d8d86414456a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7afa7cb4b4216660489d8883c6b7d8d86414456a
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Dec 20 00:44:03 2020 -0500
gallium/tests: stop using cso_set_sampler_views
It will be removed.
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Zoltán Böszörményi <zboszor at gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8180>
---
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);
More information about the mesa-commit
mailing list