summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestTextureCreation.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-14 20:14:51 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-14 20:14:51 +0000
commit921a995810a60528a71bbea1d4299155742af9d4 (patch)
treecf87cef18084f17d81f3c68e51b0050e17eba741 /Tests/TestApp/src/TestTextureCreation.cpp
parentMerged master (diff)
downloadDiligentEngine-921a995810a60528a71bbea1d4299155742af9d4.tar.gz
DiligentEngine-921a995810a60528a71bbea1d4299155742af9d4.zip
Moved primitive topology to pipeline state
Diffstat (limited to 'Tests/TestApp/src/TestTextureCreation.cpp')
-rw-r--r--Tests/TestApp/src/TestTextureCreation.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp
index ae938fd..2ee8028 100644
--- a/Tests/TestApp/src/TestTextureCreation.cpp
+++ b/Tests/TestApp/src/TestTextureCreation.cpp
@@ -40,6 +40,10 @@
#include "TestCreateObjFromNativeResGL.h"
#endif
+#if VULKAN_SUPPORTED
+#include "TestCreateObjFromNativeResVK.h"
+#endif
+
using namespace Diligent;
class TextureCreationVerifier
@@ -75,6 +79,12 @@ public:
break;
#endif
+#if VULKAN_SUPPORTED
+ case DeviceType::Vulkan:
+ m_pTestCreateObjFromNativeRes.reset(new TestCreateObjFromNativeResVK(pDevice));
+ break;
+#endif
+
default: UNEXPECTED("Unexpected device type");
}
}