summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-05-18 10:26:05 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-07-07 10:26:43 +1000
commit448adfbc67f4f6d0268a2f94dac311a26dc19864 (patch)
tree48dc87befc3feb9ecce2f1dfe567a8a3fd29aba0 /src/compiler/nir/nir.h
parent0eea6b3297930d36cd510fa6b0e35c91935928f2 (diff)
downloadexternal_mesa3d-448adfbc67f4f6d0268a2f94dac311a26dc19864.zip
external_mesa3d-448adfbc67f4f6d0268a2f94dac311a26dc19864.tar.gz
external_mesa3d-448adfbc67f4f6d0268a2f94dac311a26dc19864.tar.bz2
nir: use the same driver location for packed varyings
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 23f7f1f..a7921ee 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2312,8 +2312,8 @@ void nir_lower_io_to_temporaries(nir_shader *shader, nir_function *entrypoint,
void nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint);
-void nir_assign_var_locations(struct exec_list *var_list,
- unsigned *size,
+void nir_assign_var_locations(struct exec_list *var_list, unsigned *size,
+ unsigned base_offset,
int (*type_size)(const struct glsl_type *));
void nir_lower_io(nir_shader *shader,