1 /* 2 * Copyright © 2014 Valentine Burley 3 * SPDX-License-Identifier: MIT 4 */ 5 6 #ifndef TU_SAMPLER_H 7 #define TU_SAMPLER_H 8 9 #include "tu_common.h" 10 11 #include "vk_sampler.h" 12 #include "vk_ycbcr_conversion.h" 13 14 struct tu_sampler { 15 struct vk_sampler vk; 16 17 uint32_t descriptor[A6XX_TEX_SAMP_DWORDS]; 18 }; 19 20 VK_DEFINE_NONDISP_HANDLE_CASTS(tu_sampler, vk.base, VkSampler, 21 VK_OBJECT_TYPE_SAMPLER) 22 23 #endif /* TU_SAMPLER_H */ 24