From 71cc1e188d52bebe86a1ac72fe90f4e2a7e76778 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 1 Nov 2016 15:10:29 -0700 Subject: anv/pipeline: Properly cache prog_data::param Before we were caching the prog data but we weren't doing anything with brw_stage_prog_data::param so anything with push constants wasn't getting cached properly. This commit fixes that. Signed-off-by: Jason Ekstrand Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98012 Reviewed-by: Timothy Arceri Cc: "13.0" --- src/intel/vulkan/anv_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 79f7c1405ba..8f5a95bd445 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1316,7 +1316,7 @@ struct anv_shader_bin { struct anv_pipeline_bind_map bind_map; - /* Prog data follows, then the key, both aligned to 8-bytes */ + /* Prog data follows, then params, then the key, all aligned to 8-bytes */ }; struct anv_shader_bin * @@ -1324,7 +1324,7 @@ anv_shader_bin_create(struct anv_device *device, const void *key, uint32_t key_size, const void *kernel, uint32_t kernel_size, const struct brw_stage_prog_data *prog_data, - uint32_t prog_data_size, + uint32_t prog_data_size, const void *prog_data_param, const struct anv_pipeline_bind_map *bind_map); void -- cgit v1.2.3