mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
d3d1x: fix xs_set_samplers
This commit is contained in:
parent
7b1972d7be
commit
974412d7b9
1 changed files with 2 additions and 1 deletions
|
|
@ -391,11 +391,12 @@ struct GalliumD3D10Device : public GalliumD3D10ScreenImpl<threadsafe>
|
|||
{
|
||||
samplers[s][start + i] = samps[i];
|
||||
sampler_csos[s].v[start + i] = samps[i] ? samps[i]->object : default_sampler;
|
||||
last_different = i;
|
||||
}
|
||||
if(last_different >= 0)
|
||||
{
|
||||
num_samplers[s] = std::max(num_samplers[s], start + last_different + 1);
|
||||
update_flags |= (UPDATE_SAMPLERS_SHIFT + s);
|
||||
update_flags |= 1 << (UPDATE_SAMPLERS_SHIFT + s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue