vc4: Use Newton-Raphson on the 1/W write to fix glmark2 terrain.
[mesa.git] / src / mesa / program / prog_to_nir.h
index 3c9b66401d477fd3887c96242ddbe2a66ea94641..09425b52e17baeadcce41427de0da0595ebf5675 100644 (file)
 #pragma once
 #ifndef PROG_TO_NIR_H
 #define PROG_TO_NIR_H
+
+#include "compiler/nir/nir.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct nir_shader *prog_to_nir(struct gl_program *prog,
+struct nir_shader *prog_to_nir(const struct gl_program *prog,
                                const nir_shader_compiler_options *options);
 
 #ifdef __cplusplus