| 1 |
/* |
| 2 |
* Copyright © 2022 Imagination Technologies Ltd. |
| 3 |
* |
| 4 |
* based in part on anv driver which is: |
| 5 |
* Copyright © 2015 Intel Corporation |
| 6 |
* |
| 7 |
* based in part on radv driver which is: |
| 8 |
* Copyright © 2016 Red Hat. |
| 9 |
* Copyright © 2016 Bas Nieuwenhuizen |
| 10 |
* |
| 11 |
* SPDX-License-Identifier: MIT |
| 12 |
*/ |
| 13 |
|
| 14 |
#ifndef PVR_SAMPLER_H |
| 15 |
#define PVR_SAMPLER_H |
| 16 |
|
| 17 |
#include <stdint.h> |
| 18 |
|
| 19 |
#include "vk_sampler.h" |
| 20 |
|
| 21 |
#include "pvr_common.h" |
| 22 |
|
| 23 |
struct pvr_sampler { |
| 24 |
struct vk_sampler vk; |
| 25 |
struct pvr_sampler_descriptor descriptor; |
| 26 |
uint32_t border_color_table_index; |
| 27 |
}; |
| 28 |
|
| 29 |
VK_DEFINE_NONDISP_HANDLE_CASTS(pvr_sampler, |
| 30 |
vk.base, |
| 31 |
VkSampler, |
| 32 |
VK_OBJECT_TYPE_SAMPLER) |
| 33 |
|
| 34 |
#endif /* PVR_SAMPLER_H */ |