nir/glsl: make nir_remap_attributes public

As we plan to reuse it for ARB_gl_spirv implementation.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Alejandro Piñeiro
2018-03-21 09:39:32 +01:00
parent af194bd38e
commit d6c8066663
3 changed files with 27 additions and 17 deletions

View File

@@ -2999,6 +2999,9 @@ bool nir_opt_conditional_discard(nir_shader *shader);
void nir_sweep(nir_shader *shader);
void nir_remap_attributes(nir_shader *shader,
const nir_shader_compiler_options *options);
nir_intrinsic_op nir_intrinsic_from_system_value(gl_system_value val);
gl_system_value nir_system_value_from_intrinsic(nir_intrinsic_op intrin);