summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/linker.h')
-rw-r--r--src/compiler/glsl/linker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h
index 03ed9d5f84c..12a48e0dcd8 100644
--- a/src/compiler/glsl/linker.h
+++ b/src/compiler/glsl/linker.h
@@ -92,6 +92,10 @@ link_intrastage_shaders(void *mem_ctx,
unsigned num_shaders,
bool allow_missing_main);
+extern unsigned
+link_calculate_matrix_stride(const glsl_type *matrix, bool row_major,
+ enum glsl_interface_packing packing);
+
/**
* Class for processing all of the leaf fields of a variable that corresponds
* to a program resource.