From c51fe8dc01bbce33be072f005007ed90a992ffc5 Mon Sep 17 00:00:00 2001 From: HuYingzhuo Date: Fri, 19 Apr 2019 21:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8DSSBO=E7=9A=84=E5=91=BD?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/Vulkan/VKDescriptorSets.h | 2 +- example/Vulkan/VKDevice.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/Vulkan/VKDescriptorSets.h b/example/Vulkan/VKDescriptorSets.h index d153e452..8370f2d1 100644 --- a/example/Vulkan/VKDescriptorSets.h +++ b/example/Vulkan/VKDescriptorSets.h @@ -60,7 +60,7 @@ public: DESC_SET_BIND_FUNC(Sampler, SAMPLER); DESC_SET_BIND_FUNC(UBO, UNIFORM_BUFFER); - DESC_SET_BIND_FUNC(SBO, STORAGE_BUFFER); + DESC_SET_BIND_FUNC(SSBO, STORAGE_BUFFER); DESC_SET_BIND_FUNC(CombinedImageSampler, COMBINED_IMAGE_SAMPLER); DESC_SET_BIND_FUNC(SampledImage, SAMPLED_IMAGE); diff --git a/example/Vulkan/VKDevice.h b/example/Vulkan/VKDevice.h index ee4a3efa..614bdcec 100644 --- a/example/Vulkan/VKDevice.h +++ b/example/Vulkan/VKDevice.h @@ -55,7 +55,7 @@ public: #define CREATE_BUFFER_OBJECT(LargeName,type) Buffer *Create##LargeName(VkDeviceSize size,VkSharingMode sharing_mode=VK_SHARING_MODE_EXCLUSIVE){return CreateBuffer(VK_BUFFER_USAGE_##type##_BUFFER_BIT,size,sharing_mode);} CREATE_BUFFER_OBJECT(UBO,UNIFORM) - CREATE_BUFFER_OBJECT(SBO,STORAGE) + CREATE_BUFFER_OBJECT(SSBO,STORAGE) CREATE_BUFFER_OBJECT(INBO,INDIRECT) #undef CREATE_BUFFER_OBJECT