diff options
Diffstat (limited to 'src/vulkan/push_constant.h')
-rw-r--r-- | src/vulkan/push_constant.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/vulkan/push_constant.h b/src/vulkan/push_constant.h index 7e3d34d..0c03f11 100644 --- a/src/vulkan/push_constant.h +++ b/src/vulkan/push_constant.h @@ -36,7 +36,7 @@ class PushConstant { // maxPushConstantsSize of VkPhysicalDeviceLimits, which is an // element of VkPhysicalDeviceProperties getting from // vkGetPhysicalDeviceProperties(). - PushConstant(Device* device, uint32_t max_push_constant_size); + explicit PushConstant(Device* device); ~PushConstant(); // Return a VkPushConstantRange structure whose shader stage flag @@ -65,11 +65,6 @@ class PushConstant { Device* device_; - // maxPushConstantsSize of VkPhysicalDeviceLimits, which is an - // element of VkPhysicalDeviceProperties getting from - // vkGetPhysicalDeviceProperties(). - uint32_t max_push_constant_size_ = 0; - // Keep the information of what and how to conduct push constant. // These are applied from lowest index to highest index, so that // if address ranges overlap, then the later values take effect. |