diff options
author | Michał Janiszewski <[email protected]> | 2018-10-29 15:51:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-10-30 06:19:10 -0600 |
commit | 2734baa9e24fc9401fab2a116fcfb18c56538175 (patch) | |
tree | 73fbbc985a02a43b94ee9990373f857ad1fe67c0 /src/mesa/state_tracker | |
parent | ec994ca0fc2b853c00d9b54de7c87715ec605c2e (diff) |
mesa: Add missing include guards
Signed-off-by: Michał Janiszewski <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.h | 5 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_shader_cache.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.h b/src/mesa/state_tracker/st_glsl_to_tgsi.h index 8ccfff9bd37..277bc947e25 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.h +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.h @@ -22,6 +22,9 @@ * DEALINGS IN THE SOFTWARE. */ +#ifndef ST_GLSL_TO_TGSI_H +#define ST_GLSL_TO_TGSI_H + #include "pipe/p_defines.h" #include "pipe/p_shader_tokens.h" #include "main/mtypes.h" @@ -73,3 +76,5 @@ _mesa_sysval_to_semantic(unsigned sysval); #ifdef __cplusplus } #endif + +#endif diff --git a/src/mesa/state_tracker/st_shader_cache.h b/src/mesa/state_tracker/st_shader_cache.h index 5b0bff7b2f8..67cc084d600 100644 --- a/src/mesa/state_tracker/st_shader_cache.h +++ b/src/mesa/state_tracker/st_shader_cache.h @@ -21,6 +21,9 @@ * DEALINGS IN THE SOFTWARE. */ +#ifndef ST_SHADER_CACHE_H +#define ST_SHADER_CACHE_H + #include "st_context.h" #include "compiler/blob.h" #include "main/mtypes.h" @@ -73,3 +76,5 @@ st_store_ir_in_disk_cache(struct st_context *st, struct gl_program *prog, #ifdef __cplusplus } #endif + +#endif |