1 /* 2 * Copyright © 2016 Red Hat. 3 * Copyright © 2016 Bas Nieuwenhuizen 4 * 5 * based in part on anv driver which is: 6 * Copyright © 2015 Intel Corporation 7 * 8 * SPDX-License-Identifier: MIT 9 */ 10 11 #ifndef RADV_SAMPLER_H 12 #define RADV_SAMPLER_H 13 14 #include "vk_sampler.h" 15 16 struct radv_sampler { 17 struct vk_sampler vk; 18 uint32_t state[4]; 19 uint32_t border_color_slot; 20 }; 21 22 VK_DEFINE_NONDISP_HANDLE_CASTS(radv_sampler, vk.base, VkSampler, VK_OBJECT_TYPE_SAMPLER) 23 24 #endif /* RADV_SAMPLER_H */ 25