* IN THE SOFTWARE.
*/
+/*
+ * NOTE: The header can be included multiple times, from the same file.
+ */
+
/*
* Gen-specific function declarations. This header must *not* be included
* directly. Instead, it is included multiple times by gen8_private.h.
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ANV_META_H
+#define ANV_META_H
#include "anv_private.h"
#ifdef __cplusplus
}
#endif
+
+#endif /* ANV_META_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ANV_NIR_H
+#define ANV_NIR_H
#include "nir/nir.h"
#include "anv_private.h"
#ifdef __cplusplus
}
#endif
+
+#endif /* ANV_NIR_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ANV_PRIVATE_H
+#define ANV_PRIVATE_H
#include <stdlib.h>
#include <stdio.h>
#ifdef __cplusplus
}
#endif
+
+#endif /* ANV_PRIVATE_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef ANV_WSI_H
+#define ANV_WSI_H
#include "anv_private.h"
void anv_x11_finish_wsi(struct anv_physical_device *physical_device);
VkResult anv_wl_init_wsi(struct anv_physical_device *physical_device);
void anv_wl_finish_wsi(struct anv_physical_device *physical_device);
+
+#endif /* ANV_WSI_H */
* IN THE SOFTWARE.
*/
+#ifndef GENX_PIPELINE_UTIL_H
+#define GENX_PIPELINE_UTIL_H
+
#include "common/gen_l3_config.h"
#include "common/gen_sample_positions.h"
#include "vk_format_info.h"
so.RenderingDisable = rs_info->rasterizerDiscardEnable;
}
}
+
+#endif /* GENX_PIPELINE_UTIL_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef VK_FORMAT_INFO_H
+#define VK_FORMAT_INFO_H
#include <stdbool.h>
#include <vulkan/vulkan.h>
const VkImageAspectFlags aspects = vk_format_aspects(format);
return aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT);
}
+
+#endif /* VK_FORMAT_INFO_H */