Avoid recompiling some RADV files when something changes in NIR.
Also clean up a few other includes.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22241>
#ifndef RADV_SHADER_H
#define RADV_SHADER_H
+#include "util/u_math.h"
+#include "vulkan/vulkan.h"
#include "ac_binary.h"
#include "ac_shader_util.h"
-
#include "amd_family.h"
#include "radv_constants.h"
-#include "nir/nir.h"
-#include "vulkan/runtime/vk_object.h"
-#include "vulkan/runtime/vk_shader_module.h"
-#include "vulkan/vulkan.h"
-
#include "aco_shader_info.h"
#define RADV_VERT_ATTRIB_MAX MAX2(VERT_ATTRIB_MAX, VERT_ATTRIB_GENERIC0 + MAX_VERTEX_ATTRIBS)