summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-10-09 10:15:28 -0400
committerGitHub <noreply@github.com>2021-10-09 10:15:28 -0400
commit714b7505b84cd27ad828e231da04ae6b28a2f13a (patch)
treefb4f6eef4cd861bd826e94a1836d2ec2399fec76
parent91e98efca508ea4455f415b9157452654476e1bc (diff)
Disable swiftshader temporarily (#1971)
* #include an absolute path didn't work - because paths were taken to always be relative. * Temporarily disable swiftshader.
-rw-r--r--tools/gfx/vulkan/render-vk.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp
index 9eb0b71a1..2dd5d4041 100644
--- a/tools/gfx/vulkan/render-vk.cpp
+++ b/tools/gfx/vulkan/render-vk.cpp
@@ -5872,7 +5872,10 @@ SlangResult VKDevice::initialize(const Desc& desc)
SLANG_RETURN_ON_FAIL(RendererBase::initialize(desc));
SlangResult initDeviceResult = SLANG_OK;
- for (int forceSoftware = 0; forceSoftware <= 1; forceSoftware++)
+
+ // TODO(JS): HACK! Disable swiftshader for now
+ //for (int forceSoftware = 0; forceSoftware <= 1; forceSoftware++)
+ for (int forceSoftware = 0; forceSoftware <= 0; forceSoftware++)
{
initDeviceResult = m_module.init(forceSoftware != 0);
if (initDeviceResult != SLANG_OK)