mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
gallium: fix a state validation bug found w/ pointblast.c
This commit is contained in:
parent
e9276efafe
commit
aec315f05f
1 changed files with 4 additions and 0 deletions
|
|
@ -1165,6 +1165,10 @@ static void setup_begin( struct draw_stage *stage )
|
|||
struct softpipe_context *sp = setup->softpipe;
|
||||
const struct pipe_shader_state *fs = &setup->softpipe->fs->shader;
|
||||
|
||||
if (sp->dirty) {
|
||||
softpipe_update_derived(sp);
|
||||
}
|
||||
|
||||
setup->quad.nr_attrs = fs->num_inputs;
|
||||
|
||||
sp->quad.first->begin(sp->quad.first);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue