summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
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_pipeline.c
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_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index fde8f4e..4b8020a 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -400,7 +400,8 @@ anv_pipeline_upload_kernel(struct anv_pipeline *pipeline,
} else {
return anv_shader_bin_create(pipeline->device, key_data, key_size,
kernel_data, kernel_size,
- prog_data, prog_data_size, bind_map);
+ prog_data, prog_data_size,
+ prog_data->param, bind_map);
}
}