summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_to_nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-03-03 10:00:14 -0600
committerJason Ekstrand <[email protected]>2019-03-06 17:24:57 +0000
commit82d9a37a59c94ba3678b33acb9f2749cbbd7bfcc (patch)
treedea010697e00ab3e9db880e325ea6f5a3ed9a5a8 /src/compiler/glsl/glsl_to_nir.h
parent8993e0973f7d0cfb211e0c39de82ef2497584df3 (diff)
glsl/nir: Add a shared helper for building float64 shaders
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.h')
-rw-r--r--src/compiler/glsl/glsl_to_nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.h b/src/compiler/glsl/glsl_to_nir.h
index 8e38e0e1c9c..115c8e1270b 100644
--- a/src/compiler/glsl/glsl_to_nir.h
+++ b/src/compiler/glsl/glsl_to_nir.h
@@ -40,6 +40,9 @@ nir_shader *glsl_to_nir(const struct gl_shader_program *shader_prog,
gl_shader_stage stage,
const nir_shader_compiler_options *options);
+nir_shader *glsl_float64_funcs_to_nir(struct gl_context *ctx,
+ const nir_shader_compiler_options *options);
+
#ifdef __cplusplus
}
#endif