diff options
author | Marek Olšák <[email protected]> | 2016-06-07 23:03:38 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-08 19:23:41 +0200 |
commit | 55b097d004a8d036c0176845122b044b6ddbca10 (patch) | |
tree | 965ae23dcef37ca633dc19e9ec8a624adcce4158 /src/mesa/state_tracker/st_context.c | |
parent | 95288277d5853eff5a52e8cc33610a27ce9241f5 (diff) |
st/mesa: try not to compile compute shader on the first use
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 1ee0aec7541..4b32399ab41 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); |