mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
st/nine: Fix clip state logic
The clip state was reset everytime, incurring an overhead. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: David Heidelberg <david@ixit.cz> Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
23fae79735
commit
3bc75fcf22
1 changed files with 3 additions and 1 deletions
|
|
@ -839,8 +839,10 @@ nine_update_state(struct NineDevice9 *device, uint32_t mask)
|
|||
}
|
||||
}
|
||||
|
||||
if (state->changed.ucp)
|
||||
if (state->changed.ucp) {
|
||||
pipe->set_clip_state(pipe, &state->clip);
|
||||
state->changed.ucp = 0;
|
||||
}
|
||||
|
||||
if (group & (NINE_STATE_FREQ_GROUP_1 | NINE_STATE_VS)) {
|
||||
if (group & (NINE_STATE_TEXTURE | NINE_STATE_SAMPLER))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue