summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/glsl_to_nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-08-05 16:39:32 -0700
committerJason Ekstrand <[email protected]>2015-10-02 14:22:53 -0700
commitcd1ae6ebfac22f76d26a5b8659423969b2aeddce (patch)
tree115fb6660580c59ad056306a1848310f2405e264 /src/glsl/nir/glsl_to_nir.h
parent30c63571133ed50907ec14172c2f3ef82ee8a34e (diff)
nir/glsl: Take a gl_shader_program and a stage rather than a gl_shader
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/nir/glsl_to_nir.h')
-rw-r--r--src/glsl/nir/glsl_to_nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/nir/glsl_to_nir.h b/src/glsl/nir/glsl_to_nir.h
index 3801e8c55c6..29badcda08d 100644
--- a/src/glsl/nir/glsl_to_nir.h
+++ b/src/glsl/nir/glsl_to_nir.h
@@ -32,7 +32,8 @@
extern "C" {
#endif
-nir_shader *glsl_to_nir(struct gl_shader *sh,
+nir_shader *glsl_to_nir(const struct gl_shader_program *shader_prog,
+ gl_shader_stage stage,
const nir_shader_compiler_options *options);
#ifdef __cplusplus