diff options
author | Jason Ekstrand <[email protected]> | 2016-11-01 15:10:29 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-02 09:32:28 -0700 |
commit | 71cc1e188d52bebe86a1ac72fe90f4e2a7e76778 (patch) | |
tree | cce91b410639bb45c7c28d0746926312583e71c1 /src/intel/vulkan/anv_private.h | |
parent | ff3185e3ba85b3635a1f645e8e951954f4022afe (diff) |
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 <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98012
Reviewed-by: Timothy Arceri <[email protected]>
Cc: "13.0" <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |