diff options
Diffstat (limited to 'src/freedreno/vulkan/tu_util.h')
-rw-r--r-- | src/freedreno/vulkan/tu_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_util.h b/src/freedreno/vulkan/tu_util.h index 2ad7f86e36e..771a67a3416 100644 --- a/src/freedreno/vulkan/tu_util.h +++ b/src/freedreno/vulkan/tu_util.h @@ -99,6 +99,12 @@ tu6_primtype_line(enum pc_di_primtype type) } } +static inline bool +tu6_primtype_patches(enum pc_di_primtype type) +{ + return type >= DI_PT_PATCHES0 && type <= DI_PT_PATCHES31; +} + static inline enum pc_di_primtype tu6_primtype(VkPrimitiveTopology topology) { |