projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
227ae7b
)
st/mesa: Use cso context to manage clip state.
author
Michal Krol
<michal@vmware.com>
Wed, 24 Feb 2010 14:28:41 +0000
(15:28 +0100)
committer
Michal Krol
<michal@vmware.com>
Wed, 24 Feb 2010 14:28:41 +0000
(15:28 +0100)
src/mesa/state_tracker/st_atom_clip.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_clip.c
b/src/mesa/state_tracker/st_atom_clip.c
index 23d709b814c7cbaac57aca81212cb9a5ac122de5..80c0e921398396f62ecc5ae11af4d958900a667b 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_clip.c
+++ b/
src/mesa/state_tracker/st_atom_clip.c
@@
-35,6
+35,8
@@
#include "pipe/p_context.h"
#include "st_atom.h"
+#include "cso_cache/cso_context.h"
+
/* Second state atom for user clip planes:
*/
@@
-56,7
+58,7
@@
static void update_clip( struct st_context *st )
if (memcmp(&clip, &st->state.clip, sizeof(clip)) != 0) {
st->state.clip = clip;
-
st->pipe->set_clip_state(st->pipe
, &clip);
+
cso_set_clip(st->cso_context
, &clip);
}
}