panvk: Move panvk_wsi definitions to panvk_wsi.h
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Rebecca Mckeever <rebecca.mckeever@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28170>
This commit is contained in:
committed by
Marge Bot
parent
2a032600c6
commit
fc69751abd
@@ -22,6 +22,7 @@
|
||||
#include "panvk_instance.h"
|
||||
#include "panvk_physical_device.h"
|
||||
#include "panvk_private.h"
|
||||
#include "panvk_wsi.h"
|
||||
|
||||
#include "pan_format.h"
|
||||
#include "pan_props.h"
|
||||
|
||||
@@ -109,7 +109,4 @@ struct panvk_device;
|
||||
struct panvk_pipeline_layout;
|
||||
struct panvk_queue;
|
||||
|
||||
VkResult panvk_wsi_init(struct panvk_physical_device *physical_device);
|
||||
void panvk_wsi_finish(struct panvk_physical_device *physical_device);
|
||||
|
||||
#endif /* PANVK_PRIVATE_H */
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "panvk_wsi.h"
|
||||
#include "panvk_instance.h"
|
||||
#include "panvk_physical_device.h"
|
||||
#include "panvk_private.h"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright © 2021 Collabora Ltd.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#ifndef PANVK_WSI_H
|
||||
#define PANVK_WSI_H
|
||||
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
struct panvk_physical_device;
|
||||
|
||||
VkResult panvk_wsi_init(struct panvk_physical_device *physical_device);
|
||||
void panvk_wsi_finish(struct panvk_physical_device *physical_device);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user