About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/freedreno/vulkan/tu_sampler.h
blob: 68a5326a7a2153e57698963877538cfc28b544fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright © 2014 Valentine Burley
 * SPDX-License-Identifier: MIT
 */

#ifndef TU_SAMPLER_H
#define TU_SAMPLER_H

#include "tu_common.h"

#include "vk_sampler.h"
#include "vk_ycbcr_conversion.h"

struct tu_sampler {
   struct vk_sampler vk;

   uint32_t descriptor[A6XX_TEX_SAMP_DWORDS];
};

VK_DEFINE_NONDISP_HANDLE_CASTS(tu_sampler, vk.base, VkSampler,
                               VK_OBJECT_TYPE_SAMPLER)

#endif /* TU_SAMPLER_H */