aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-19 09:56:05 +0800
committerChia-I Wu <[email protected]>2013-06-19 16:46:42 +0800
commitcf41fae96b3d796ce80b2d1ad76b5c84a0669314 (patch)
tree372220327ee720cd763cfcd241ccee4bf846abc7 /src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
parent7f7b05d6b324c15b6573dfe1e90d4d5cf416a59b (diff)
ilo: rework shader cache
The new code makes the shader cache manages all shaders and be able to upload all of them to a caller-provided bo as a whole. Previously, we uploaded only the bound shaders. When a different set of shaders is bound, we had to allocate a new kernel bo to upload if the current one is busy.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
index 18d9309953d..6ba1f2a87b9 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
@@ -44,7 +44,7 @@ struct gen6_pipeline_session {
bool hw_ctx_changed;
bool batch_bo_changed;
bool state_bo_changed;
- bool instruction_bo_changed;
+ bool kernel_bo_changed;
bool prim_changed;
void (*emit_draw_states)(struct ilo_3d_pipeline *p,