projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9528827
)
st/mesa: try not to compile compute shader on the first use
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 7 Jun 2016 21:03:38 +0000
(23:03 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 8 Jun 2016 17:23:41 +0000
(19:23 +0200)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_context.c
b/src/mesa/state_tracker/st_context.c
index 1ee0aec7541154e91c35536b513ffe3ecc6cbb95..4b32399ab413c45b3ba074eded4bb58f61ee9c20 100644
(file)
--- 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);