mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
isl: use ifndef header guards
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Chad Versace <chadversary@chromium.org>
This commit is contained in:
parent
4c1c9d62a9
commit
3a98bffa59
7 changed files with 28 additions and 7 deletions
|
|
@ -35,7 +35,8 @@
|
|||
* - functions
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_H
|
||||
#define ISL_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
|
|
@ -1477,3 +1478,5 @@ isl_surf_get_depth_format(const struct isl_device *dev,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ISL_H */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_GEN4_H
|
||||
#define ISL_GEN4_H
|
||||
|
||||
#include "isl.h"
|
||||
|
||||
|
|
@ -46,3 +47,5 @@ isl_gen4_choose_image_alignment_el(const struct isl_device *dev,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ISL_GEN4_H */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_GEN6_H
|
||||
#define ISL_GEN6_H
|
||||
|
||||
#include "isl.h"
|
||||
|
||||
|
|
@ -46,3 +47,5 @@ isl_gen6_choose_image_alignment_el(const struct isl_device *dev,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ISL_GEN6_H */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_GEN7_H
|
||||
#define ISL_GEN7_H
|
||||
|
||||
#include "isl.h"
|
||||
|
||||
|
|
@ -51,3 +52,5 @@ isl_gen7_choose_image_alignment_el(const struct isl_device *dev,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ISL_GEN7_H */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_GEN8_H
|
||||
#define ISL_GEN8_H
|
||||
|
||||
#include "isl.h"
|
||||
|
||||
|
|
@ -46,3 +47,5 @@ isl_gen8_choose_image_alignment_el(const struct isl_device *dev,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ISL_GEN8_H */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_GEN9_H
|
||||
#define ISL_GEN9_H
|
||||
|
||||
#include "isl.h"
|
||||
|
||||
|
|
@ -40,3 +41,5 @@ isl_gen9_choose_image_alignment_el(const struct isl_device *dev,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ISL_GEN9_H */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef ISL_PRIV_H
|
||||
#define ISL_PRIV_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <strings.h>
|
||||
|
|
@ -197,3 +198,5 @@ isl_gen8_buffer_fill_state_s(void *state,
|
|||
void
|
||||
isl_gen9_buffer_fill_state_s(void *state,
|
||||
const struct isl_buffer_fill_state_info *restrict info);
|
||||
|
||||
#endif /* ISL_PRIV_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue