OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b76e04
)
mesa/st: Gallium quads, by spec, never change provoking vertex.
author
Corbin Simpson
<mostawesomed...@gmail.com>
Wed, 10 Feb 2010 18:39:18 +0000
(10:39 -0800)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 9 Mar 2010 03:51:29 +0000
(
04:51
+0100)
Fixes glean/clipFlat for r300g.
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index
79be833
..
e03dd30
100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-137,6
+137,9
@@
void st_init_limits(struct st_context *st)
/* XXX separate query for early function return? */
st->ctx->Shader.EmitContReturn =
screen->get_param(screen, PIPE_CAP_TGSI_CONT_SUPPORTED);
+
+ /* Quads always follow GL provoking rules. */
+ c->QuadsFollowProvokingVertexConvention = GL_FALSE;
}