diff options
author | Brian Paul <[email protected]> | 2009-06-23 14:28:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-26 13:16:33 -0600 |
commit | 02edc8da36d6e01635bcfbb5073f0f718de96c37 (patch) | |
tree | 45857958d578fd314718b6a15aed0217c6f7ce97 /src/mesa/state_tracker/st_extensions.c | |
parent | 08025cd4a551569c821ccb94904b9ccbbd94b632 (diff) |
st/mesa: query PIPE_CAP_TGSI_CONT_SUPPORTED
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 8f6be507742..e6728ae8955 100644 --- 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); } |