From 6e0a5355a3fe872151b4155d1f792dae0ff0833c Mon Sep 17 00:00:00 2001 From: Rylie Pavlik Date: Wed, 28 Aug 2024 12:46:36 -0500 Subject: [PATCH] c/util: improve includes Part-of: --- src/xrt/compositor/util/comp_render.h | 8 +++++++- src/xrt/compositor/util/comp_render_gfx.c | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/xrt/compositor/util/comp_render.h b/src/xrt/compositor/util/comp_render.h index 01d936ffd..175c40063 100644 --- a/src/xrt/compositor/util/comp_render.h +++ b/src/xrt/compositor/util/comp_render.h @@ -11,9 +11,12 @@ #pragma once #include "xrt/xrt_defines.h" -#include "xrt/xrt_vulkan_includes.h" +#include "xrt/xrt_vulkan_includes.h" // IWYU pragma: keep #include "render/render_interface.h" +#include "util/u_misc.h" + +#include #ifdef __cplusplus @@ -21,6 +24,9 @@ extern "C" { #endif struct comp_layer; +struct render_compute; +struct render_gfx; +struct render_gfx_target_resources; /*! diff --git a/src/xrt/compositor/util/comp_render_gfx.c b/src/xrt/compositor/util/comp_render_gfx.c index acc2536c0..865fbe2dc 100644 --- a/src/xrt/compositor/util/comp_render_gfx.c +++ b/src/xrt/compositor/util/comp_render_gfx.c @@ -14,7 +14,6 @@ #include "math/m_api.h" #include "math/m_mathinclude.h" -#include "util/u_misc.h" #include "util/u_trace_marker.h" #include "vk/vk_helpers.h"