nir: add a pass to lower variables for scalar backends
This commit is contained in:
committed by
Jason Ekstrand
parent
7f0daaa5e7
commit
c2f36cf125
@@ -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 \
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user