projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium/tests: use pipe_context::bind_sampler_states()
[mesa.git]
/
src
/
gallium
/
tests
/
graw
/
quad-tex.c
diff --git
a/src/gallium/tests/graw/quad-tex.c
b/src/gallium/tests/graw/quad-tex.c
index 6cfcea33dd19e1c61ed9b8f8f4664fb04ec83fbe..7802d8efddf1e5b0680daba57f8956cccd87f38d 100644
(file)
--- a/
src/gallium/tests/graw/quad-tex.c
+++ b/
src/gallium/tests/graw/quad-tex.c
@@
-172,7
+172,8
@@
static void init_tex( void )
sampler = graw_util_create_simple_sampler(&info,
PIPE_TEX_WRAP_REPEAT,
PIPE_TEX_FILTER_NEAREST);
- info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler);
+ info.ctx->bind_sampler_states(info.ctx, PIPE_SHADER_FRAGMENT,
+ 0, 1, &sampler);
}