summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_nir.h
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2016-03-04 12:56:14 -0800
committerKristian Høgsberg Kristensen <[email protected]>2016-03-05 13:50:07 -0800
commit6139fe9a7790e0946e465f275d3f530552edbcdc (patch)
treece5d45cc5fbb0c00e91a1a9b99e23454801f8dac /src/intel/vulkan/anv_nir.h
parent584f39c65ed24d6c331d8ccf05d93678f3fafe16 (diff)
anv: Also cache the struct anv_pipeline_binding maps
This is state the we generate when compiling the shaders and we need it for mapping resources from descriptor sets to binding table indices.
Diffstat (limited to 'src/intel/vulkan/anv_nir.h')
-rw-r--r--src/intel/vulkan/anv_nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_nir.h b/src/intel/vulkan/anv_nir.h
index a7ea3eb0e28..606fd1c0565 100644
--- a/src/intel/vulkan/anv_nir.h
+++ b/src/intel/vulkan/anv_nir.h
@@ -37,7 +37,8 @@ void anv_nir_apply_dynamic_offsets(struct anv_pipeline *pipeline,
struct brw_stage_prog_data *prog_data);
void anv_nir_apply_pipeline_layout(struct anv_pipeline *pipeline,
nir_shader *shader,
- struct brw_stage_prog_data *prog_data);
+ struct brw_stage_prog_data *prog_data,
+ struct anv_pipeline_bind_map *map);
#ifdef __cplusplus
}