summaryrefslogtreecommitdiffstats
path: root/tools/render-test/shader-input-layout.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-09-02 12:21:28 -0700
committerGitHub <noreply@github.com>2020-09-02 12:21:28 -0700
commita2a7c4d988b2b7126130d9dcbe4ec94e1ce8424b (patch)
tree5e9559abd79b9e2f7d4f22f65a77daaaae3eed16 /tools/render-test/shader-input-layout.cpp
parent7f567df6937b33c653c424af3abb20d32eb80561 (diff)
Allow unspecialized existential shader parameters (dynamic dispatch). (#1529)
* Allow unspecialized existential shader parameters (dynamic dispatch). * Fixes. * Fixes * disable cuda test
Diffstat (limited to 'tools/render-test/shader-input-layout.cpp')
-rw-r--r--tools/render-test/shader-input-layout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/shader-input-layout.cpp b/tools/render-test/shader-input-layout.cpp
index edf617f76..40beffc05 100644
--- a/tools/render-test/shader-input-layout.cpp
+++ b/tools/render-test/shader-input-layout.cpp
@@ -412,6 +412,8 @@ namespace renderer_test
parser.Read(")");
offset += 8;
entry.rttiEntries.add(rttiEntry);
+ entry.bufferData.add(0);
+ entry.bufferData.add(0);
continue;
}
else if (parser.LookAhead("witness"))
@@ -426,6 +428,8 @@ namespace renderer_test
parser.Read(")");
offset += 8;
entry.rttiEntries.add(rttiEntry);
+ entry.bufferData.add(0);
+ entry.bufferData.add(0);
continue;
}