diff options
author | Kenneth Graunke <[email protected]> | 2015-03-06 01:17:22 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-03-08 20:03:57 -0700 |
commit | b200cbb0a41aaebb007668f870a483f0b9ecd898 (patch) | |
tree | 7270b41cca62b1cf0827fa66b17ce5346e6f10f3 /src/glsl/nir/glsl_to_nir.h | |
parent | a55da73be46b4576015417b2dff71a719bc8b797 (diff) |
nir: Add native_integers to nir_shader_compiler_options.
glsl_to_nir, tgsi_to_nir, and prog_to_nir all want to know whether the
driver supports native integers. Presumably other passes may as well.
Adding this to nir_shader_compiler_options is an easy way to provide
that information, as it's accessible via nir_shader::options.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/glsl_to_nir.h')
-rw-r--r-- | src/glsl/nir/glsl_to_nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/glsl_to_nir.h b/src/glsl/nir/glsl_to_nir.h index 730094552ce..dd627935e1f 100644 --- a/src/glsl/nir/glsl_to_nir.h +++ b/src/glsl/nir/glsl_to_nir.h @@ -32,7 +32,7 @@ extern "C" { #endif -nir_shader *glsl_to_nir(exec_list *ir, bool native_integers, +nir_shader *glsl_to_nir(exec_list *ir, const nir_shader_compiler_options *options); #ifdef __cplusplus |