anv: pCreateInfo->pApplicationInfo parameter to vkCreateInstance may be NULL
[mesa.git] / src / vulkan / anv_nir.h
index 1fd3484e0595776752cc47b2f0562bb6010d5a2d..c76314d9df665b223a1100e23a3c38efc57af5b8 100644 (file)
 
 #pragma once
 
-#include "glsl/nir/nir.h"
+#include "nir/nir.h"
 #include "anv_private.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-static inline VkShaderStage
-anv_vk_shader_stage_for_mesa_stage(gl_shader_stage stage)
-{
-   /* The two enums happen to line up. */
-   return (VkShaderStage)(int)stage;
-}
+void anv_nir_lower_push_constants(nir_shader *shader, bool is_scalar);
 
 void anv_nir_apply_dynamic_offsets(struct anv_pipeline *pipeline,
                                    nir_shader *shader,
                                    struct brw_stage_prog_data *prog_data);
+bool anv_nir_apply_pipeline_layout(nir_shader *shader,
+                                   struct brw_stage_prog_data *prog_data,
+                                   const struct anv_pipeline_layout *layout);
 
 #ifdef __cplusplus
 }