On 11.12.2017 18:42, Brian Paul wrote:
--- src/gallium/auxiliary/cso_cache/cso_context.c | 5 +++++ 1 file changed, 5 insertions(+)diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index df5543c..dd9821e 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -592,6 +592,11 @@ enum pipe_error cso_set_rasterizer(struct cso_context *ctx, (void*)templ, key_size); void *handle = NULL;+ /* We can't have both point_quad_rasterization (sprites) and point_smooth+ * (round AA points) enabled at the same time. + */ + assert(!(templ->point_quad_rasterization && templ->point_smooth)); + if (cso_hash_iter_is_null(iter)) { struct cso_rasterizer *cso = MALLOC(sizeof(struct cso_rasterizer)); if (!cso)
Sure, why not. Reviewed-by: Nicolai Hähnle <[email protected]> -- Lerne, wie die Welt wirklich ist, Aber vergiss niemals, wie sie sein sollte. _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
