summaryrefslogtreecommitdiff
path: root/tools/render-test/d3d-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/d3d-util.h')
-rw-r--r--tools/render-test/d3d-util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/render-test/d3d-util.h b/tools/render-test/d3d-util.h
index 6ac39aefb..51eefd151 100644
--- a/tools/render-test/d3d-util.h
+++ b/tools/render-test/d3d-util.h
@@ -36,9 +36,7 @@ class D3DUtil
/// Calculate size taking into account alignment. Alignment must be a power of 2
static UInt calcAligned(UInt size, UInt alignment) { return (size + alignment - 1) & ~(alignment - 1); }
- /// The Slang compiler currently generates HLSL source, so we'll need a utility
- /// routine (defined later) to translate that into D3D11 shader bytecode.
- /// Definition of the HLSL-to-bytecode compilation logic.
+ /// Compile HLSL code to DXBC
static Slang::Result compileHLSLShader(char const* sourcePath, char const* source, char const* entryPointName, char const* dxProfileName, Slang::ComPtr<ID3DBlob>& shaderBlobOut);
/// Given a slang pixel format returns the equivalent DXGI_ pixel format. If the format is not known, will return DXGI_FORMAT_UNKNOWN