summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-22 22:31:27 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commit1cf21cc813464ccfe29208d0b5383b21e6d0e6d1 (patch)
tree52f0c7c37ca79fe92ca231550d1f5e0f34d99213 /src/gallium/drivers/iris/iris_context.h
parent57c1b71418cc811e467144f07193c4df3343975b (diff)
iris: actually save derived state
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r--src/gallium/drivers/iris/iris_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index aec2e30c68c..2c04cade2c1 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -180,6 +180,10 @@ void iris_init_state(struct iris_context *ice);
void iris_init_program_cache(struct iris_context *ice);
void iris_destroy_program_cache(struct iris_context *ice);
void iris_print_program_cache(struct iris_context *ice);
+unsigned iris_derived_program_state_size(enum iris_program_cache_id cache_id);
+void iris_set_derived_program_state(const struct gen_device_info *devinfo,
+ enum iris_program_cache_id cache_id,
+ struct iris_compiled_shader *shader);
bool iris_bind_cached_shader(struct iris_context *ice,
enum iris_program_cache_id cache_id,
const void *key);