summaryrefslogtreecommitdiffstats
path: root/tools/render-test/d3d-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/d3d-util.cpp')
-rw-r--r--tools/render-test/d3d-util.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/d3d-util.cpp b/tools/render-test/d3d-util.cpp
index bef0e6baa..08aa563ca 100644
--- a/tools/render-test/d3d-util.cpp
+++ b/tools/render-test/d3d-util.cpp
@@ -214,6 +214,10 @@ bool D3DUtil::isTypeless(DXGI_FORMAT format)
}
}
+// Note: this subroutine is now only used by D3D11 for generating bytecode to go into input layouts.
+//
+// TODO: we can probably remove that code completely by switching to a PSO-like model across all APIs.
+//
/* static */Result D3DUtil::compileHLSLShader(char const* sourcePath, char const* source, char const* entryPointName, char const* dxProfileName, ComPtr<ID3DBlob>& shaderBlobOut)
{
// Rather than statically link against the `d3dcompile` library, we