summaryrefslogtreecommitdiffstats
path: root/tools/gfx/vulkan/render-vk.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-10-20 07:18:03 -0700
committerGitHub <noreply@github.com>2021-10-20 10:18:03 -0400
commit8406244e27c142ea56c7a934b09e0b1cdace6afd (patch)
tree921e4bb9459b36cc66623e40612a75e3b3242924 /tools/gfx/vulkan/render-vk.cpp
parentba081c89a60d6207a6534c2ad256945490196661 (diff)
Re-enable swiftshader. (#1984)
Ignore some gfx unit tests when using swiftshader. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/vulkan/render-vk.cpp')
-rw-r--r--tools/gfx/vulkan/render-vk.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp
index e7ebf8040..03f193ca6 100644
--- a/tools/gfx/vulkan/render-vk.cpp
+++ b/tools/gfx/vulkan/render-vk.cpp
@@ -5854,9 +5854,7 @@ SlangResult VKDevice::initialize(const Desc& desc)
SLANG_RETURN_ON_FAIL(RendererBase::initialize(desc));
SlangResult initDeviceResult = SLANG_OK;
- // TODO(JS): HACK! Disable swiftshader for now
- //for (int forceSoftware = 0; forceSoftware <= 1; forceSoftware++)
- for (int forceSoftware = 0; forceSoftware <= 0; forceSoftware++)
+ for (int forceSoftware = 0; forceSoftware <= 1; forceSoftware++)
{
initDeviceResult = m_module.init(forceSoftware != 0);
if (initDeviceResult != SLANG_OK)