summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-07-21 10:23:47 +1000
committerTimothy Arceri <[email protected]>2017-07-26 10:39:52 +1000
commitb0333e55b77ff16bff3ca4a744043f85d06b4633 (patch)
treed3e0cfd8e4fefc08a3f7d2c167a6c549ddabfbb5 /src/compiler/shader_enums.h
parent7ee383669fc34a9ebe1e722da47673025dbf72a5 (diff)
compiler: move glsl_interface_packing enum to shader_enums.h
This allows us to drop the duplicate gl_uniform_block_packing enum. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.h')
-rw-r--r--src/compiler/shader_enums.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h
index 352f27040ce..2f20e68c5d6 100644
--- a/src/compiler/shader_enums.h
+++ b/src/compiler/shader_enums.h
@@ -567,6 +567,13 @@ enum glsl_interp_mode
INTERP_MODE_COUNT /**< Number of interpolation qualifiers */
};
+enum glsl_interface_packing {
+ GLSL_INTERFACE_PACKING_STD140,
+ GLSL_INTERFACE_PACKING_SHARED,
+ GLSL_INTERFACE_PACKING_PACKED,
+ GLSL_INTERFACE_PACKING_STD430
+};
+
const char *glsl_interp_mode_name(enum glsl_interp_mode qual);
/**