From 3f52c016fa4ce9a3a669977f3a72b44d0e42adca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 13 May 2015 13:38:55 -0700 Subject: [PATCH] vk: Move struct anv_sampler to private.h --- src/vulkan/device.c | 4 ---- src/vulkan/private.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vulkan/device.c b/src/vulkan/device.c index b547585c7b9..8394d56ae93 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1317,10 +1317,6 @@ VkResult VKAPI vkCreateBufferView( // Sampler functions -struct anv_sampler { - uint32_t state[4]; -}; - VkResult VKAPI vkCreateSampler( VkDevice _device, const VkSamplerCreateInfo* pCreateInfo, diff --git a/src/vulkan/private.h b/src/vulkan/private.h index aaf1b00ad04..cfbbb7129bf 100644 --- a/src/vulkan/private.h +++ b/src/vulkan/private.h @@ -623,6 +623,10 @@ struct anv_image_view { struct anv_state surface_state; }; +struct anv_sampler { + uint32_t state[4]; +}; + struct anv_depth_stencil_view { }; -- 2.30.2