summaryrefslogtreecommitdiffstats
path: root/tools/render-test
diff options
context:
space:
mode:
authorYONGH\yongh <yonghe@outlook.com>2017-10-25 20:38:00 -0400
committerYONGH\yongh <yonghe@outlook.com>2017-10-25 20:38:00 -0400
commit785cb48914cde2e2cfb5204ce4c6db9d538f1e5c (patch)
treeffb2b4feed958656e9c136ec5487e77b408bf28d /tools/render-test
parent24bb5562dc52615862a547ffb1b8a506ecd158e3 (diff)
test
Diffstat (limited to 'tools/render-test')
-rw-r--r--tools/render-test/render-d3d11.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/render-test/render-d3d11.cpp b/tools/render-test/render-d3d11.cpp
index 6b42d0fe3..3f0a8cc53 100644
--- a/tools/render-test/render-d3d11.cpp
+++ b/tools/render-test/render-d3d11.cpp
@@ -1100,6 +1100,7 @@ public:
auto dxContext = dxImmediateContext;
auto dxBindingState = (D3DBindingState*)state;
FILE * f = fopen(fileName, "wb");
+ int id = 0;
for (auto & binding : dxBindingState->bindings)
{
if (binding.isOutput)
@@ -1113,9 +1114,10 @@ public:
}
else
{
- throw "not implemented";
+ printf("invalid output type at %d.\n");
}
}
+ id++;
}
fprintf(f, "test result. \n");
fclose(f);