]> git.sesse.net Git - movit/blob - defs.h
Add a texture barrier after dispatching each compute shader.
[movit] / defs.h
1 #ifndef _MOVIT_DEFS_H
2 #define _MOVIT_DEFS_H
3
4 // Utility macros that are useful from other header files.
5
6 #ifdef __GNUC__
7 #define MUST_CHECK_RESULT __attribute__((warn_unused_result))
8 #define DOES_NOT_RETURN __attribute__((noreturn))
9 #else
10 #define MUST_CHECK_RESULT 
11 #define DOES_NOT_RETURN
12 #endif
13
14 #endif  // !defined(_MOVIT_DEFS_H)