summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-11-01 15:10:29 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-09 13:46:12 +0000
commit81df3f63cb581f28caf3286100774ab96b34cff0 (patch)
tree5934d73c2290c16ec3b8ba68443ad7e32d326a4c /src/intel/vulkan/anv_private.h
parente016945bdd739811cde46b640e07627386361343 (diff)
downloadexternal_mesa3d-81df3f63cb581f28caf3286100774ab96b34cff0.zip
external_mesa3d-81df3f63cb581f28caf3286100774ab96b34cff0.tar.gz
external_mesa3d-81df3f63cb581f28caf3286100774ab96b34cff0.tar.bz2
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 <jason@jlekstrand.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98012 Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Cc: "13.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 71cc1e188d52bebe86a1ac72fe90f4e2a7e76778)
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index b2cab0c..ce8b1a2 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1318,7 +1318,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 *
@@ -1326,7 +1326,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