anv: drop unused parameter from apply layout pass
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 6 Dec 2019 11:00:58 +0000 (13:00 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 16 Dec 2019 12:35:25 +0000 (14:35 +0200)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_nir.h
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_pipeline.c

index ad56ea14b60272331a68f73d6ff603cc7a6d3904..004f243b7f71f14f85f2039f13afb5955e82cd77 100644 (file)
@@ -54,7 +54,6 @@ void anv_nir_apply_pipeline_layout(const struct anv_physical_device *pdevice,
                                    bool robust_buffer_access,
                                    const struct anv_pipeline_layout *layout,
                                    nir_shader *shader,
-                                   struct brw_stage_prog_data *prog_data,
                                    struct anv_pipeline_bind_map *map);
 
 void anv_nir_compute_push_layout(const struct anv_physical_device *pdevice,
index 25cd83faf78e146259ebd0a5c909861d41df64fb..0c0e44f657b4c957534b0e82ea01c1d57a7446bf 100644 (file)
@@ -1109,7 +1109,6 @@ anv_nir_apply_pipeline_layout(const struct anv_physical_device *pdevice,
                               bool robust_buffer_access,
                               const struct anv_pipeline_layout *layout,
                               nir_shader *shader,
-                              struct brw_stage_prog_data *prog_data,
                               struct anv_pipeline_bind_map *map)
 {
    void *mem_ctx = ralloc_context(NULL);
index aee3b22193795ae129c9db8170b33d5d6ab5158d..8c884027cf59a21ad19e8521a500ecee9d5add61 100644 (file)
@@ -688,8 +688,7 @@ anv_pipeline_lower_nir(struct anv_pipeline *pipeline,
    /* Apply the actual pipeline layout to UBOs, SSBOs, and textures */
    anv_nir_apply_pipeline_layout(pdevice,
                                  pipeline->device->robust_buffer_access,
-                                 layout, nir, prog_data,
-                                 &stage->bind_map);
+                                 layout, nir, &stage->bind_map);
 
    NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_ubo,
               nir_address_format_32bit_index_offset);