zink: move all types/enums into zink_types.h

this significantly untangles all the header includes and fixes an issue
where zink_descriptors.h couldn't be included by certain files due to
type conflicts

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18051>
This commit is contained in:
Mike Blumenkrantz
2022-08-04 11:05:47 -04:00
parent bcbd3b297d
commit 30c51abd0b
28 changed files with 1538 additions and 1625 deletions

View File

@@ -1,20 +1,14 @@
#include "zink_batch.h"
#include "zink_context.h"
#include "zink_kopper.h"
#include "zink_fence.h"
#include "zink_descriptors.h"
#include "zink_framebuffer.h"
#include "zink_query.h"
#include "zink_kopper.h"
#include "zink_program.h"
#include "zink_render_pass.h"
#include "zink_query.h"
#include "zink_resource.h"
#include "zink_screen.h"
#include "zink_surface.h"
#include "util/hash_table.h"
#include "util/u_debug.h"
#include "util/set.h"
#ifdef VK_USE_PLATFORM_METAL_EXT
#include "QuartzCore/CAMetalLayer.h"
#endif