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.
This commit is contained in:
Kristian Høgsberg Kristensen
2016-03-04 12:56:14 -08:00
parent 584f39c65e
commit 6139fe9a77
5 changed files with 156 additions and 85 deletions

View File

@@ -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
}