anv/pipeline: Properly cache prog_data::param
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Nov 2016 22:10:29 +0000 (15:10 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Nov 2016 16:32:28 +0000 (09:32 -0700)
commit71cc1e188d52bebe86a1ac72fe90f4e2a7e76778
treecce91b410639bb45c7c28d0746926312583e71c1
parentff3185e3ba85b3635a1f645e8e951954f4022afe
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>
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_pipeline_cache.c
src/intel/vulkan/anv_private.h