diff options
author | Timothy Arceri <[email protected]> | 2019-02-22 11:51:24 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-03-06 23:05:20 +0000 |
commit | 7530d4abfcf9d39fb1b4abeb77cdbf6cf1d411a7 (patch) | |
tree | f7dec5de299bcb431672f3a7c9209bc871b328a2 /src/compiler/glsl/standalone.h | |
parent | 15b83b3af972fe32de4b1730ef6aff110e5da49a (diff) |
glsl/freedreno/panfrost: pass gl_context to the standalone compiler
This allows us to use the ctx with glsl_to_nir() in a following
patch.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/glsl/standalone.h')
-rw-r--r-- | src/compiler/glsl/standalone.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/standalone.h b/src/compiler/glsl/standalone.h index 5029e168119..d9e14f798a3 100644 --- a/src/compiler/glsl/standalone.h +++ b/src/compiler/glsl/standalone.h @@ -42,7 +42,8 @@ struct gl_shader_program; struct gl_shader_program * standalone_compile_shader( const struct standalone_options *options, - unsigned num_files, char* const* files); + unsigned num_files, char* const* files, + struct gl_context *ctx); void standalone_compiler_cleanup(struct gl_shader_program *prog); |