/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemUtils.cpp | 45 using namespace vk; 50 typedef std::vector<vk::VkExtensionProperties> Extensions; 52 std::vector<std::string> getValidationLayers (const vk::PlatformInterface& vkp) in getValidationLayers() 66 const std::vector<vk::VkLayerProperties> supportedLayers (enumerateInstanceLayerProperties(vkp)); in getValidationLayers() 69 if (isLayerSupported(supportedLayers, vk::RequiredLayer(s_magicLayer))) in getValidationLayers() 75 if (isLayerSupported(supportedLayers, vk::RequiredLayer(s_defaultLayers[ndx]))) in getValidationLayers() 83 vk::Move<vk::VkInstance> makeProtectedMemInstance (const vk::PlatformInterface& vkp, const vkt::Con… in makeProtectedMemInstance() 85 const Extensions supportedExtensions(vk::enumerateInstanceExtensionProperties(vkp, DE_NULL)); in makeProtectedMemInstance() 92 if (!vk::isDebugReportSupported(vkp)) in makeProtectedMemInstance() 107 …if (!isInstanceExtensionSupported(context.getUsedApiVersion(), supportedExtensions, vk::RequiredEx… in makeProtectedMemInstance() [all …]
|
D | vktProtectedMemUtils.hpp | 55 typedef std::vector<vk::VkVertexInputBindingDescription> VertexBindings; 56 typedef std::vector<vk::VkVertexInputAttributeDescription> VertexAttribs; 58 vk::Move<vk::VkInstance> makeProtectedMemInstance (const vk::PlatformInterface& vkp, 61 deUint32 chooseProtectedMemQueueFamilyIndex (const vk::InstanceDriver& vkd, 62 vk::VkPhysicalDevice physicalDevice, 63 vk::VkSurfaceKHR surface = DE_NULL); 65 vk::Move<vk::VkDevice> makeProtectedMemDevice (const vk::PlatformInterface& vkp, 66 vk::VkInstance instance, 67 const vk::InstanceDriver& vkd, 68 vk::VkPhysicalDevice physicalDevice, [all …]
|
D | vktProtectedMemImageValidator.cpp | 46 void ImageValidator::initPrograms (vk::SourceCollections& programCollection) const in initPrograms() 114 …const vk::VkImage image, const vk::VkFormat imageFormat, const vk::VkImageLayout imageLayout) const in validateImage() 135 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); in validateImage() local 136 const vk::VkDevice device = ctx.getDevice(); in validateImage() 137 const vk::VkQueue queue = ctx.getQueue(); in validateImage() 141 de::UniquePtr<vk::BufferWithMemory> refUniform (makeBuffer(ctx, in validateImage() 145 vk::VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, in validateImage() 146 vk::MemoryRequirement::HostVisible)); in validateImage() 150 …vk::flushMappedMemoryRange(vk, device, refUniform->getAllocation().getMemory(), refUniform->getAll… in validateImage() 154 de::MovePtr<vk::BufferWithMemory> helperBuffer (makeBuffer(ctx, in validateImage() [all …]
|
D | vktProtectedMemYCbCrConversionTests.cpp | 51 static const vk::VkFormat s_colorFormat = vk::VK_FORMAT_R8G8B8A8_UNORM; 100 vk::VkFormat format_, in TestConfig() 101 vk::VkImageTiling imageTiling_, in TestConfig() 102 vk::VkFilter textureFilter_, in TestConfig() 103 vk::VkSamplerAddressMode addressModeU_, in TestConfig() 104 vk::VkSamplerAddressMode addressModeV_, in TestConfig() 106 vk::VkFilter chromaFilter_, in TestConfig() 107 vk::VkChromaLocation xChromaOffset_, in TestConfig() 108 vk::VkChromaLocation yChromaOffset_, in TestConfig() 112 vk::VkSamplerYcbcrRange colorRange_, in TestConfig() [all …]
|
D | vktProtectedMemBufferValidator.hpp | 77 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType,… 78 vk::VkDescriptorType getDescriptorType (BufferType bufferType); 99 void initPrograms (vk::SourceCollections& programCollection) const; 102 const vk::VkBuffer buffer) const; 115 inline void BufferValidator<tcu::UVec4>::initPrograms (vk::SourceCollections& programCollection) co… in initPrograms() 121 inline void BufferValidator<tcu::IVec4>::initPrograms (vk::SourceCollections& programCollection) co… in initPrograms() 127 inline void BufferValidator<tcu::Vec4>::initPrograms (vk::SourceCollections& programCollection) con… in initPrograms() 173 const vk::VkBuffer buffer) const in validateBuffer() 180 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); in validateBuffer() local 181 const vk::VkDevice device = ctx.getDevice(); in validateBuffer() [all …]
|
D | vktProtectedMemWsiSwapchainTests.cpp | 69 typedef std::vector<vk::VkExtensionProperties> Extensions; 77 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) in checkAllSupported() 83 vk::wsi::Type wsiType) in getRequiredWsiExtensions() 100 …if (isExtensionSupported(supportedExtensions, vk::RequiredExtension("VK_EXT_swapchain_colorspace")… in getRequiredWsiExtensions() 108 …if (isExtensionSupported(supportedExtensions, vk::RequiredExtension("VK_KHR_surface_protected_capa… in getRequiredWsiExtensions() 119 de::MovePtr<vk::wsi::Display> createDisplay (const vk::Platform& platform, in createDisplay() 121 vk::wsi::Type wsiType) in createDisplay() 125 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay() 129 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType))) && in createDisplay() 141 de::MovePtr<vk::wsi::Window> createWindow (const vk::wsi::Display& display, const tcu::Maybe<tcu::U… in createWindow() [all …]
|
D | vktProtectedMemShaderImageAccessTests.cpp | 92 vk::VkFormat imageFormat; 98 , imageFormat (vk::VK_FORMAT_UNDEFINED) in Params() 104 const vk::VkFormat imageFormat_, in Params() 233 tcu::TestStatus validateResult (vk::VkImage image, 234 vk::VkImageLayout imageLayout, 263 virtual void initPrograms (vk::SourceCollections& programCollection) const; 270 void ImageAccessTestCase::initPrograms (vk::SourceCollections& programCollection) const in initPrograms() 495 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); in executeComputeTest() local 496 const vk::VkDevice device = ctx.getDevice(); in executeComputeTest() 497 const vk::VkQueue queue = ctx.getQueue(); in executeComputeTest() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawCreateInfoUtil.hpp | 37 class ImageSubresourceRange : public vk::VkImageSubresourceRange 40 ImageSubresourceRange (vk::VkImageAspectFlags aspectMask, 47 class ComponentMapping : public vk::VkComponentMapping 50 ComponentMapping (vk::VkComponentSwizzle r = vk::VK_COMPONENT_SWIZZLE_R, 51 vk::VkComponentSwizzle g = vk::VK_COMPONENT_SWIZZLE_G, 52 vk::VkComponentSwizzle b = vk::VK_COMPONENT_SWIZZLE_B, 53 vk::VkComponentSwizzle a = vk::VK_COMPONENT_SWIZZLE_A); 56 class ImageViewCreateInfo : public vk::VkImageViewCreateInfo 59 ImageViewCreateInfo (vk::VkImage image, 60 vk::VkImageViewType viewType, [all …]
|
D | vktDrawImageObjectUtil.hpp | 47 vk::VkDeviceSize rowPitchOrZero, 48 vk::VkDeviceSize depthPitchOrZero, 56 vk::VkDeviceSize rowPitchOrZero, 57 vk::VkDeviceSize depthPitchOrZero, 65 …static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const v… 67 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk, 68 vk::VkDevice device, 69 const vk::VkImageCreateInfo& createInfo, 70 vk::Allocator& allocator, 72 vk::MemoryRequirement memoryRequirement = vk::MemoryRequirement::Any); [all …]
|
D | vktDrawImageObjectUtil.cpp | 48 vk::VkDeviceSize rowPitchOrZero, in pack() 49 vk::VkDeviceSize depthPitchOrZero, in pack() 53 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack() 54 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack() 62 const vk::VkDeviceSize size = depthPitch * depth; in pack() 71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack() 72 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack() 82 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack() 83 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack() 100 vk::VkDeviceSize rowPitchOrZero, in unpack() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.hpp | 48 vk::VkPrimitiveTopology primitiveType; 50 vk::VkPrimitiveTopology outputType; 56 Buffer (const vk::DeviceInterface& vk, in Buffer() argument 57 const vk::VkDevice device, in Buffer() 58 vk::Allocator& allocator, in Buffer() 59 const vk::VkBufferCreateInfo& bufferCreateInfo, in Buffer() 60 const vk::MemoryRequirement memoryRequirement) in Buffer() 62 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer() 63 …, m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequi… in Buffer() 65 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationUtil.hpp | 42 Buffer (const vk::DeviceInterface& vk, in Buffer() argument 43 const vk::VkDevice device, in Buffer() 44 vk::Allocator& allocator, in Buffer() 45 const vk::VkBufferCreateInfo& bufferCreateInfo, in Buffer() 46 const vk::MemoryRequirement memoryRequirement) in Buffer() 47 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer() 48 …, m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequi… in Buffer() 50 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer() 53 Buffer (vk::Move<vk::VkBuffer> buffer, in Buffer() 54 de::MovePtr<vk::Allocation> allocation) in Buffer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMakeUtil.hpp | 40 Buffer (const vk::DeviceInterface& vk, 41 const vk::VkDevice device, 42 vk::Allocator& allocator, 43 const vk::VkBufferCreateInfo& bufferCreateInfo, 44 const vk::MemoryRequirement memoryRequirement); 46 const vk::VkBuffer& get (void) const { return *m_buffer; } in get() 47 const vk::VkBuffer& operator* (void) const { return get(); } in operator *() 48 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 51 const vk::Unique<vk::VkBuffer> m_buffer; 52 const de::UniquePtr<vk::Allocation> m_allocation; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktExternalMemoryUtil.hpp | 48 NativeHandle (Win32HandleType type, vk::pt::Win32Handle handle); 49 NativeHandle (vk::pt::AndroidHardwareBufferPtr buffer); 53 NativeHandle& operator= (vk::pt::AndroidHardwareBufferPtr buffer); 55 void setWin32Handle (Win32HandleType type, vk::pt::Win32Handle handle); 57 vk::pt::Win32Handle getWin32Handle (void) const; 59 vk::pt::AndroidHardwareBufferPtr getAndroidHardwareBuffer (void) const; 66 vk::pt::Win32Handle m_win32Handle; 67 vk::pt::AndroidHardwareBufferPtr m_androidHardwareBuffer; 101 …virtual vk::pt::AndroidHardwareBufferPtr allocate(deUint32 width, deUint32 height, deUint32 layer… 107 virtual void acquire(vk::pt::AndroidHardwareBufferPtr buffer) = 0; [all …]
|
D | vktExternalMemoryUtil.cpp | 146 NativeHandle::NativeHandle (Win32HandleType handleType, vk::pt::Win32Handle handle) in NativeHandle() 154 NativeHandle::NativeHandle (vk::pt::AndroidHardwareBufferPtr buffer) in NativeHandle() 208 m_win32Handle = vk::pt::Win32Handle(DE_NULL); in reset() 210 m_androidHardwareBuffer = vk::pt::AndroidHardwareBufferPtr(DE_NULL); in reset() 222 NativeHandle& NativeHandle::operator= (vk::pt::AndroidHardwareBufferPtr buffer) in operator =() 231 void NativeHandle::setWin32Handle (Win32HandleType type, vk::pt::Win32Handle handle) in setWin32Handle() 242 m_win32Handle = vk::pt::Win32Handle(DE_NULL); in disown() 243 m_androidHardwareBuffer = vk::pt::AndroidHardwareBufferPtr(DE_NULL); in disown() 246 vk::pt::Win32Handle NativeHandle::getWin32Handle (void) const in getWin32Handle() 261 vk::pt::AndroidHardwareBufferPtr NativeHandle::getAndroidHardwareBuffer (void) const in getAndroidHardwareBuffer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrCopyTests.cpp | 62 typedef de::SharedPtr<vk::Allocation> AllocationSp; 66 ImageConfig (vk::VkFormat format_, in ImageConfig() 67 vk::VkImageTiling tiling_, in ImageConfig() 77 vk::VkFormat format; 78 vk::VkImageTiling tiling; 103 …const vk::VkFormatProperties properties (vk::getPhysicalDeviceFormatProperties(context.getInstance… in checkSupport() 104 const vk::VkFormatFeatureFlags features (config.src.tiling == vk::VK_IMAGE_TILING_OPTIMAL in checkSupport() 108 if ((features & vk::VK_FORMAT_FEATURE_TRANSFER_SRC_BIT) == 0 in checkSupport() 109 && (features & vk::VK_FORMAT_FEATURE_TRANSFER_DST_BIT) == 0) in checkSupport() 114 if (config.src.disjoint && ((features & vk::VK_FORMAT_FEATURE_DISJOINT_BIT) == 0)) in checkSupport() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.hpp | 40 typedef de::SharedPtr<vk::Unique<vk::VkDeviceMemory> > DeviceMemorySp; 73 vk::VkImageType mapImageType (const ImageType imageType); 75 vk::VkImageViewType mapImageViewType (const ImageType imageType); 115 bool isImageSizeSupported (const vk::InstanceInterface& instance, 116 const vk::VkPhysicalDevice physicalDevice, 120 deUint32 getImageMaxMipLevels (const vk::VkImageFormatProperties& imageFormatProperties, 121 const vk::VkExtent3D& extent); 123 deUint32 getImageMipLevelSizeInBytes (const vk::VkExtent3D& baseExtents, 129 deUint32 getImageSizeInBytes (const vk::VkExtent3D& baseExtents, 135 vk::Move<vk::VkCommandPool> makeCommandPool (const vk::DeviceInterface& vk, [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.hpp | 53 vk::VkImageType mapImageType (const ImageType imageType); 54 vk::VkImageViewType mapImageViewType (const ImageType imageType); 58 std::string getGlslSamplerType (const tcu::TextureFormat& format, vk::VkImageViewType type); 59 const char* getGlslInputFormatType (const vk::VkFormat format); 60 const char* getGlslFormatType (const vk::VkFormat format); 61 const char* getGlslAttachmentType (const vk::VkFormat format); 62 const char* getGlslInputAttachmentType (const vk::VkFormat format); 63 bool isPackedType (const vk::VkFormat format); 64 bool isComponentSwizzled (const vk::VkFormat format); 65 int getNumUsedChannels (const vk::VkFormat format); [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.hpp | 42 Buffer (const vk::DeviceInterface& vk, 43 const vk::VkDevice device, 44 vk::Allocator& allocator, 45 const vk::VkBufferCreateInfo& bufferCreateInfo, 46 const vk::MemoryRequirement memoryRequirement); 48 const vk::VkBuffer& get (void) const { return *m_buffer; } in get() 49 const vk::VkBuffer& operator* (void) const { return get(); } in operator *() 50 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 53 de::MovePtr<vk::Allocation> m_allocation; 54 vk::Move<vk::VkBuffer> m_buffer; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsMakeUtil.hpp | 38 vk::VkBufferCreateInfo makeBufferCreateInfo (const vk::VkDeviceSize bufferSize, const vk::VkBuffe… 39 vk::Move<vk::VkDescriptorSet> makeDescriptorSet (const vk::DeviceInterface& vk, const vk::VkDevice… 40 vk::Move<vk::VkPipelineLayout> makePipelineLayout (const vk::DeviceInterface& vk, const vk::VkDevi… 41 vk::Move<vk::VkPipelineLayout> makePipelineLayout (const vk::DeviceInterface& vk, const vk::VkDevi… 42 vk::Move<vk::VkPipeline> makeComputePipeline (const vk::DeviceInterface& vk, const vk::VkDevice d… 43 vk::Move<vk::VkFramebuffer> makeFramebuffer (const vk::DeviceInterface& vk, const vk::VkDevice d… 44 vk::Move<vk::VkImageView> makeImageView (const vk::DeviceInterface& vk, const vk::VkDevice vkDev… 45 …r<vk::Allocation> bindImage (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::All… 46 …<vk::Allocation> bindBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, vk::All… 48 inline vk::Move<vk::VkBuffer> makeBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device,… in makeBuffer() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderUtil.hpp | 35 vk::VkImageAspectFlags getAspectFlags (tcu::TextureFormat format); 36 vk::VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat); 37 vk::VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat); 38 vk::VkBufferCreateInfo makeBufferCreateInfo (const vk::VkDeviceSize bufferSize, const vk::VkBu… 39 vk::VkImageCreateInfo makeImageCreateInfo (const vk::VkImageType imageType, const vk::VkExten… 40 vk::Move<vk::VkImageView> makeImageView (const vk::DeviceInterface& vk, const vk::VkDevice de… 41 vk::Move<vk::VkFramebuffer> makeFramebuffer (const vk::DeviceInterface& vk, const vk::VkDevic… 42 vk::Move<vk::VkPipelineLayout> makePipelineLayout (const vk::DeviceInterface& vk, const vk::VkD… 43 vk::Move<vk::VkDescriptorSetLayout> makeDescriptorSetLayout (const vk::DeviceInterface& vk, const… 46 vk::Move<vk::VkRenderPass> makeRenderPass (const vk::DeviceInterface& vk, const vk::VkDevice … [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSharedPresentableImageTests.cpp | 68 typedef vector<vk::VkExtensionProperties> Extensions; 76 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) in checkAllSupported() 81 vk::Move<vk::VkInstance> createInstanceWithWsi (const vk::PlatformInterface& vkp, in createInstanceWithWsi() 84 vk::wsi::Type wsiType) in createInstanceWithWsi() 88 if (!vk::isCoreInstanceExtension(version, "VK_KHR_get_physical_device_properties2")) in createInstanceWithWsi() 99 return vk::createDefaultInstance(vkp, version, vector<string>(), extensions); in createInstanceWithWsi() 102 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) in getDeviceNullFeatures() 104 vk::VkPhysicalDeviceFeatures features; in getDeviceNullFeatures() 109 deUint32 getNumQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalD… in getNumQueueFamilyIndices() 118 …t32> getSupportedQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physic… in getSupportedQueueFamilyIndices() [all …]
|
D | vktWsiIncrementalPresentTests.cpp | 68 typedef vector<vk::VkExtensionProperties> Extensions; 76 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) in checkAllSupported() 81 vk::Move<vk::VkInstance> createInstanceWithWsi (const vk::PlatformInterface& vkp, in createInstanceWithWsi() 84 vk::wsi::Type wsiType) in createInstanceWithWsi() 93 return vk::createDefaultInstance(vkp, version, vector<string>(), extensions); in createInstanceWithWsi() 96 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) in getDeviceNullFeatures() 98 vk::VkPhysicalDeviceFeatures features; in getDeviceNullFeatures() 103 deUint32 getNumQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalD… in getNumQueueFamilyIndices() 112 …t32> getSupportedQueueFamilyIndices (const vk::InstanceInterface& vki, vk::VkPhysicalDevice physic… in getSupportedQueueFamilyIndices() 119 …if (vk::wsi::getPhysicalDeviceSurfaceSupport(vki, physicalDevice, queueFamilyNdx, surface) != VK_F… in getSupportedQueueFamilyIndices() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
D | vktQueryPoolOcclusionTests.cpp | 56 …StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPr… 57 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices); 67 vk::Move<vk::VkPipeline> m_pipeline; 68 vk::Move<vk::VkPipelineLayout> m_pipelineLayout; 71 vk::Move<vk::VkImageView> m_attachmentView; 72 vk::Move<vk::VkImageView> m_depthiew; 74 vk::Move<vk::VkRenderPass> m_renderPass; 75 vk::Move<vk::VkFramebuffer> m_framebuffer; 79 vk::VkFormat m_colorAttachmentFormat; 82 StateObjects::StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVerti… in StateObjects() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationUtil.hpp | 50 Buffer (const vk::DeviceInterface& vk, in Buffer() argument 51 const vk::VkDevice device, in Buffer() 52 vk::Allocator& allocator, in Buffer() 53 const vk::VkBufferCreateInfo& bufferCreateInfo, in Buffer() 54 const vk::MemoryRequirement memoryRequirement) in Buffer() 56 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer() 57 …, m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequi… in Buffer() 59 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer() 62 const vk::VkBuffer& get (void) const { return *m_buffer; } in get() 63 const vk::VkBuffer& operator* (void) const { return get(); } in operator *() [all …]
|