1bf215546Sopenharmony_ci/*
2bf215546Sopenharmony_ci * Copyright 2019 Google LLC
3bf215546Sopenharmony_ci * SPDX-License-Identifier: MIT
4bf215546Sopenharmony_ci *
5bf215546Sopenharmony_ci * based in part on anv and radv which are:
6bf215546Sopenharmony_ci * Copyright © 2015 Intel Corporation
7bf215546Sopenharmony_ci * Copyright © 2016 Red Hat.
8bf215546Sopenharmony_ci * Copyright © 2016 Bas Nieuwenhuizen
9bf215546Sopenharmony_ci */
10bf215546Sopenharmony_ci
11bf215546Sopenharmony_ci#ifndef VN_PIPELINE_H
12bf215546Sopenharmony_ci#define VN_PIPELINE_H
13bf215546Sopenharmony_ci
14bf215546Sopenharmony_ci#include "vn_common.h"
15bf215546Sopenharmony_ci
16bf215546Sopenharmony_cistruct vn_shader_module {
17bf215546Sopenharmony_ci   struct vn_object_base base;
18bf215546Sopenharmony_ci};
19bf215546Sopenharmony_ciVK_DEFINE_NONDISP_HANDLE_CASTS(vn_shader_module,
20bf215546Sopenharmony_ci                               base.base,
21bf215546Sopenharmony_ci                               VkShaderModule,
22bf215546Sopenharmony_ci                               VK_OBJECT_TYPE_SHADER_MODULE)
23bf215546Sopenharmony_ci
24bf215546Sopenharmony_cistruct vn_pipeline_layout {
25bf215546Sopenharmony_ci   struct vn_object_base base;
26bf215546Sopenharmony_ci};
27bf215546Sopenharmony_ciVK_DEFINE_NONDISP_HANDLE_CASTS(vn_pipeline_layout,
28bf215546Sopenharmony_ci                               base.base,
29bf215546Sopenharmony_ci                               VkPipelineLayout,
30bf215546Sopenharmony_ci                               VK_OBJECT_TYPE_PIPELINE_LAYOUT)
31bf215546Sopenharmony_ci
32bf215546Sopenharmony_cistruct vn_pipeline_cache {
33bf215546Sopenharmony_ci   struct vn_object_base base;
34bf215546Sopenharmony_ci};
35bf215546Sopenharmony_ciVK_DEFINE_NONDISP_HANDLE_CASTS(vn_pipeline_cache,
36bf215546Sopenharmony_ci                               base.base,
37bf215546Sopenharmony_ci                               VkPipelineCache,
38bf215546Sopenharmony_ci                               VK_OBJECT_TYPE_PIPELINE_CACHE)
39bf215546Sopenharmony_ci
40bf215546Sopenharmony_cistruct vn_pipeline {
41bf215546Sopenharmony_ci   struct vn_object_base base;
42bf215546Sopenharmony_ci};
43bf215546Sopenharmony_ciVK_DEFINE_NONDISP_HANDLE_CASTS(vn_pipeline,
44bf215546Sopenharmony_ci                               base.base,
45bf215546Sopenharmony_ci                               VkPipeline,
46bf215546Sopenharmony_ci                               VK_OBJECT_TYPE_PIPELINE)
47bf215546Sopenharmony_ci
48bf215546Sopenharmony_ci#endif /* VN_PIPELINE_H */
49