mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
gallium/tests/trivial: updates for CSO interface changes
Fixes build error with configure option --enable-gallium-tests
introduced in ea6f035ae9
Cc: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
This commit is contained in:
parent
1553f5ce83
commit
cba639f2a1
1 changed files with 2 additions and 2 deletions
|
|
@ -315,8 +315,8 @@ static void draw(struct program *p)
|
|||
cso_set_viewport(p->cso, &p->viewport);
|
||||
|
||||
/* sampler */
|
||||
cso_single_sampler(p->cso, 0, &p->sampler);
|
||||
cso_single_sampler_done(p->cso);
|
||||
cso_single_sampler(p->cso, PIPE_SHADER_FRAGMENT, 0, &p->sampler);
|
||||
cso_single_sampler_done(p->cso, PIPE_SHADER_FRAGMENT);
|
||||
|
||||
/* texture sampler view */
|
||||
cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue