projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: Only call brw_upload_tcs/tes_prog when using tessellation.
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_context.c
diff --git
a/src/mesa/state_tracker/st_context.c
b/src/mesa/state_tracker/st_context.c
index 6e20fd1fda299f9ee787b6e5ded8328bf51b7cb1..1459f258f940096760fe7b5cb2b25b8af61012af 100644
(file)
--- a/
src/mesa/state_tracker/st_context.c
+++ b/
src/mesa/state_tracker/st_context.c
@@
-255,9
+255,7
@@
st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe,
st_init_extensions(st->pipe->screen, &ctx->Const,
&ctx->Extensions, &st->options, ctx->Mesa_DXTn);
st_init_extensions(st->pipe->screen, &ctx->Const,
&ctx->Extensions, &st->options, ctx->Mesa_DXTn);
- if (st_init_perfmon(st)) {
- /* GL_AMD_performance_monitor is only enabled when the underlying
- * driver expose GPU hardware performance counters. */
+ if (st_have_perfmon(st)) {
ctx->Extensions.AMD_performance_monitor = GL_TRUE;
}
ctx->Extensions.AMD_performance_monitor = GL_TRUE;
}