summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/state_tracker/st_context.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index b54afce0d78..5549d2564d5 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -702,6 +702,18 @@ st_create_context_priv(struct gl_context *ctx, struct pipe_context *pipe,
st_init_extensions(pipe->screen, &ctx->Const,
&ctx->Extensions, &st->options, ctx->API);
+ /* FIXME: add support for geometry and tessellation shaders for
+ * lower_point_size
+ */
+ assert(!ctx->Extensions.OES_geometry_shader || !st->lower_point_size);
+ assert(!ctx->Extensions.ARB_tessellation_shader || !st->lower_point_size);
+
+ /* FIXME: add support for geometry and tessellation shaders for
+ * lower_ucp
+ */
+ assert(!ctx->Extensions.OES_geometry_shader || !st->lower_ucp);
+ assert(!ctx->Extensions.ARB_tessellation_shader || !st->lower_ucp);
+
if (st_have_perfmon(st)) {
ctx->Extensions.AMD_performance_monitor = GL_TRUE;
}