summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-07-04 01:49:34 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-07-04 01:49:34 +0000
commitbcce631cc2e47702b5855af164fe24a0562e67ad (patch)
tree21069aeab92aca686fa26726217e2ddf370c869b /Graphics/GraphicsEngineVulkan
parentFixed DeviceContextVkImpl::CommitRenderPassAndFramebuffer() to check if frame... (diff)
downloadDiligentCore-bcce631cc2e47702b5855af164fe24a0562e67ad.tar.gz
DiligentCore-bcce631cc2e47702b5855af164fe24a0562e67ad.zip
Enabled vertexPipelineStoresAndAtomics and fragmentStoresAndAtomics device features
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/RenderDeviceFactoryVk.cpp2
-rw-r--r--Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/RenderDeviceFactoryVk.cpp b/Graphics/GraphicsEngineVulkan/src/RenderDeviceFactoryVk.cpp
index 68367d72..0edb78ac 100644
--- a/Graphics/GraphicsEngineVulkan/src/RenderDeviceFactoryVk.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/RenderDeviceFactoryVk.cpp
@@ -161,6 +161,8 @@ void EngineFactoryVkImpl::CreateDeviceAndContextsVk( const EngineVkAttribs& Crea
DeviceFeatures.multiViewport = VK_TRUE;
DeviceFeatures.imageCubeArray = VK_TRUE;
DeviceFeatures.textureCompressionBC = VK_TRUE;
+ DeviceFeatures.vertexPipelineStoresAndAtomics = VK_TRUE;
+ DeviceFeatures.fragmentStoresAndAtomics = VK_TRUE;
DeviceCreateInfo.pEnabledFeatures = &DeviceFeatures; // NULL or a pointer to a VkPhysicalDeviceFeatures structure that contains
// boolean indicators of all the features to be enabled.
diff --git a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
index 5ec367eb..1695d7eb 100644
--- a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
@@ -606,7 +606,7 @@ VulkanUtilities::ImageViewWrapper TextureVkImpl::CreateImageView(TextureViewDesc
ImageViewCI.viewType = VK_IMAGE_VIEW_TYPE_3D;
if (ViewDesc.FirstDepthSlice != 0 || ViewDesc.NumDepthSlices != m_Desc.Depth)
{
- LOG_ERROR_MESSAGE("In Vulkan SRVs and UAVs of a 3D texture must reference all depth slices.");
+ LOG_ERROR_MESSAGE("3D texture views in Vulkan must address all depth slices.");
ViewDesc.FirstDepthSlice = 0;
ViewDesc.NumDepthSlices = m_Desc.Depth;
}