summaryrefslogtreecommitdiffstats
path: root/RenderScript
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-14 20:17:33 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-14 20:17:33 +0000
commit7a2c31b3c9ef2c8b123b7afc77cee5431a7aea38 (patch)
tree559874aa5a5f65ab8d219de4dcb5b308b915cd71 /RenderScript
parentMoved primitive topology from draw attribs to pipeline desc; fixed multiple i... (diff)
downloadDiligentTools-7a2c31b3c9ef2c8b123b7afc77cee5431a7aea38.tar.gz
DiligentTools-7a2c31b3c9ef2c8b123b7afc77cee5431a7aea38.zip
Added vulkan device type to script parser
Diffstat (limited to 'RenderScript')
-rw-r--r--RenderScript/src/ScriptParser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/RenderScript/src/ScriptParser.cpp b/RenderScript/src/ScriptParser.cpp
index 18a96e2..a31f308 100644
--- a/RenderScript/src/ScriptParser.cpp
+++ b/RenderScript/src/ScriptParser.cpp
@@ -151,6 +151,10 @@ namespace Diligent
pDeviceStr = "D3D12";
break;
+ case DeviceType::Vulkan:
+ pDeviceStr = "Vulkan";
+ break;
+
default:
UNEXPECTED( "Unknown device type" );
}