projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08025cd
)
st/mesa: query PIPE_CAP_TGSI_CONT_SUPPORTED
author
Brian Paul
<brianp@vmware.com>
Tue, 23 Jun 2009 20:28:43 +0000
(14:28 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 19:16:33 +0000
(13:16 -0600)
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 8f6be507742fcb386bb57b4af4ccb3852e6834c1..e6728ae8955fb7c396e8c1b6b1fb6f017781a8c4 100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-120,6
+120,11
@@
void st_init_limits(struct st_context *st)
c->MaxDrawBuffers
= CLAMP(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS),
1, MAX_DRAW_BUFFERS);
+
+ /* Is TGSI_OPCODE_CONT supported? */
+ /* XXX separate query for early function return? */
+ st->ctx->Shader.EmitContReturn =
+ screen->get_param(screen, PIPE_CAP_TGSI_CONT_SUPPORTED);
}