summaryrefslogtreecommitdiffstats
path: root/tools/render-test/shader-input-layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/shader-input-layout.cpp')
-rw-r--r--tools/render-test/shader-input-layout.cpp26
1 files changed, 5 insertions, 21 deletions
diff --git a/tools/render-test/shader-input-layout.cpp b/tools/render-test/shader-input-layout.cpp
index 3ba20c2cb..7a9001c9e 100644
--- a/tools/render-test/shader-input-layout.cpp
+++ b/tools/render-test/shader-input-layout.cpp
@@ -463,27 +463,6 @@ namespace renderer_test
entry.isCPUOnly = true;
parser.ReadToken();
}
- else if (parser.LookAhead("dxbinding"))
- {
- parser.ReadToken();
- parser.Read("(");
- entry.hlslBinding = parser.ReadInt();
- parser.Read(")");
- }
- else if (parser.LookAhead("glbinding"))
- {
- parser.ReadToken();
- parser.Read("(");
- while (!parser.IsEnd() && !parser.LookAhead(")"))
- {
- entry.glslBinding.add(parser.ReadInt());
- if (parser.LookAhead(","))
- parser.Read(",");
- else
- break;
- }
- parser.Read(")");
- }
else if (parser.LookAhead("out"))
{
parser.ReadToken();
@@ -541,6 +520,11 @@ namespace renderer_test
entry.name = builder;
}
+ else
+ {
+ fprintf(stderr, "Invalid TEST_INPUT syntax '%s'\n", parser.NextToken().Content.getBuffer());
+ break;
+ }
if (parser.LookAhead(","))
parser.Read(",");