nir: add a pass to lower variables for scalar backends

This commit is contained in:
Connor Abbott
2014-07-17 09:12:52 -07:00
committed by Jason Ekstrand
parent 7f0daaa5e7
commit c2f36cf125
3 changed files with 1237 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ NIR_FILES = \
$(GLSL_SRCDIR)/nir/nir.h \
$(GLSL_SRCDIR)/nir/nir_intrinsics.c \
$(GLSL_SRCDIR)/nir/nir_intrinsics.h \
$(GLSL_SRCDIR)/nir/nir_lower_variables_scalar.c \
$(GLSL_SRCDIR)/nir/nir_opcodes.c \
$(GLSL_SRCDIR)/nir/nir_opcodes.h \
$(GLSL_SRCDIR)/nir/nir_print.c \
+4
View File
@@ -1242,6 +1242,10 @@ void nir_print_shader(nir_shader *shader, FILE *fp);
void nir_validate_shader(nir_shader *shader);
void nir_lower_variables_scalar(nir_shader *shader, bool lower_globals,
bool lower_io, bool add_names,
bool native_integers);
#ifdef __cplusplus
} /* extern "C" */
#endif
File diff suppressed because it is too large Load Diff