intel/tools: Disassemble WAIT's argument as a destination
[mesa.git] / src / intel / vulkan / anv_nir.h
index 361023e1593fda2e793abd8d1340cd933441bc92..9095f2d58d3b23fc4616c8a25f9c086f3f2870b3 100644 (file)
 extern "C" {
 #endif
 
-bool anv_nir_lower_multiview(nir_shader *shader, uint32_t view_mask);
+bool anv_check_for_primitive_replication(nir_shader **shaders,
+                                         struct anv_graphics_pipeline *pipeline);
+
+bool anv_nir_lower_multiview(nir_shader *shader,
+                             struct anv_graphics_pipeline *pipeline);
 
 bool anv_nir_lower_ycbcr_textures(nir_shader *shader,
-                                  struct anv_pipeline_layout *layout);
+                                  const struct anv_pipeline_layout *layout);
 
 static inline nir_address_format
 anv_nir_ssbo_addr_format(const struct anv_physical_device *pdevice,
@@ -52,12 +56,12 @@ anv_nir_ssbo_addr_format(const struct anv_physical_device *pdevice,
 
 void anv_nir_apply_pipeline_layout(const struct anv_physical_device *pdevice,
                                    bool robust_buffer_access,
-                                   struct anv_pipeline_layout *layout,
+                                   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,
+                                 bool robust_buffer_access,
                                  nir_shader *nir,
                                  struct brw_stage_prog_data *prog_data,
                                  struct anv_pipeline_bind_map *map,