projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Add a lowering pass for backends wanting load_ubo with vec4 offsets.
[mesa.git]
/
src
/
compiler
/
nir
/
nir.h
diff --git
a/src/compiler/nir/nir.h
b/src/compiler/nir/nir.h
index aa7ff44985e98f3896242352ff23aa7a9ae223ef..49d61484d73e2d24936909e1e7a1eae460c703a2 100644
(file)
--- a/
src/compiler/nir/nir.h
+++ b/
src/compiler/nir/nir.h
@@
-4051,6
+4051,8
@@
bool nir_link_opt_varyings(nir_shader *producer, nir_shader *consumer);
bool nir_lower_amul(nir_shader *shader,
int (*type_size)(const struct glsl_type *, bool));
+bool nir_lower_ubo_vec4(nir_shader *shader);
+
void nir_assign_io_var_locations(nir_shader *shader,
nir_variable_mode mode,
unsigned *size,