summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-10-28 08:57:23 -0700
committerJason Ekstrand <[email protected]>2017-11-08 14:09:51 -0800
commit3e63cf893f096a7263eb1856d58417dd2d170d4b (patch)
tree196e225c63562cf1caf28df53adfb5ef4e3f8b4f /src/intel/compiler/brw_nir.h
parent7364f080f9a272323ed3491f278a1eed3eb9b1a7 (diff)
intel/nir: Break the linking code into a helper in brw_nir.c
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com> Cc: [email protected]
Diffstat (limited to 'src/intel/compiler/brw_nir.h')
-rw-r--r--src/intel/compiler/brw_nir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h
index 0118cfadc1f..e9cb6f89948 100644
--- a/src/intel/compiler/brw_nir.h
+++ b/src/intel/compiler/brw_nir.h
@@ -95,6 +95,10 @@ void brw_nir_analyze_boolean_resolves(nir_shader *nir);
nir_shader *brw_preprocess_nir(const struct brw_compiler *compiler,
nir_shader *nir);
+void
+brw_nir_link_shaders(const struct brw_compiler *compiler,
+ nir_shader **producer, nir_shader **consumer);
+
bool brw_nir_lower_cs_intrinsics(nir_shader *nir,
unsigned dispatch_width);
void brw_nir_lower_vs_inputs(nir_shader *nir,