diff options
author | Jason Ekstrand <[email protected]> | 2019-07-19 17:10:07 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-07-31 18:14:09 -0500 |
commit | 078dcb7ccd307e8839ffbedddeab0328f6344715 (patch) | |
tree | b450dd8821eefc41099e3fe79463fe468683c342 /src/compiler/nir/nir.h | |
parent | a63e82deb5ddaef3845bd717e302ef5980831e7b (diff) |
nir/lower_io: Add an option to lower 64-bit varyings
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 831c1967f58..06acfc6c562 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3445,6 +3445,12 @@ void nir_assign_io_var_locations(struct exec_list *var_list, gl_shader_stage stage); typedef enum { + /* If set, this causes all 64-bit IO operations to be lowered on-the-fly + * to 32-bit operations. This is only valid for nir_var_shader_in/out + * modes. + */ + nir_lower_io_lower_64bit_to_32 = (1 << 0), + /* If set, this forces all non-flat fragment shader inputs to be * interpolated as if with the "sample" qualifier. This requires * nir_shader_compiler_options::use_interpolated_input_intrinsics. |