diff options
author | Brian Paul <[email protected]> | 2012-08-03 11:58:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-03 11:58:43 -0600 |
commit | 65da837fcfd4eaf444c54df22b0887440424297c (patch) | |
tree | 3c18bd4cefe7e6c19bae699ad17d70a7da893d29 /src/gallium/tests | |
parent | c61d3fe8bddcbcf750c5f057a45b262fea92ca5e (diff) |
gallium/tests/trivial: updates for CSO interface changes
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/trivial/quad-tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c index 7caac29299f..83790e685d3 100644 --- a/src/gallium/tests/trivial/quad-tex.c +++ b/src/gallium/tests/trivial/quad-tex.c @@ -282,7 +282,7 @@ static void init_prog(struct program *p) static void close_prog(struct program *p) { /* unset bound textures as well */ - cso_set_fragment_sampler_views(p->cso, 0, NULL); + cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 0, NULL); /* unset all state */ cso_release_all(p->cso); @@ -323,7 +323,7 @@ static void draw(struct program *p) cso_single_sampler_done(p->cso); /* texture sampler view */ - cso_set_fragment_sampler_views(p->cso, 1, &p->view); + cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view); /* shaders */ cso_set_fragment_shader_handle(p->cso, p->fs); |