[Mesa-dev] [PATCH] st/mesa: try not to compile compute shader on the first use
Ilia Mirkin
imirkin at alum.mit.edu
Tue Jun 7 22:28:01 UTC 2016
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Tue, Jun 7, 2016 at 6:25 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> src/mesa/state_tracker/st_context.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
> index 1ee0aec..4b32399 100644
> --- a/src/mesa/state_tracker/st_context.c
> +++ b/src/mesa/state_tracker/st_context.c
> @@ -370,6 +370,7 @@ st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe,
> st->shader_has_one_variant[MESA_SHADER_TESS_CTRL] = st->has_shareable_shaders;
> st->shader_has_one_variant[MESA_SHADER_TESS_EVAL] = st->has_shareable_shaders;
> st->shader_has_one_variant[MESA_SHADER_GEOMETRY] = st->has_shareable_shaders;
> + st->shader_has_one_variant[MESA_SHADER_COMPUTE] = st->has_shareable_shaders;
>
> _mesa_compute_version(ctx);
>
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list