summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-28 01:46:47 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-28 01:46:47 +0000
commitcf7ef96b20bf3f91a9ee623f94800d617bc6ff3c (patch)
tree314fc2e3e66b8c6b3d8f41cabd0d0bab78edd751 /Graphics/GraphicsEngine
parentAdded comments (diff)
downloadDiligentCore-cf7ef96b20bf3f91a9ee623f94800d617bc6ff3c.tar.gz
DiligentCore-cf7ef96b20bf3f91a9ee623f94800d617bc6ff3c.zip
Added shader compiler log output
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index 15df194d..4cac8e82 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -258,6 +258,13 @@ struct ShaderCreationAttribs
/// Shader source language. See Diligent::SHADER_SOURCE_LANGUAGE.
SHADER_SOURCE_LANGUAGE SourceLanguage = SHADER_SOURCE_LANGUAGE_DEFAULT;
+
+ /// Memory address where pointer to the compiler messages data blob will be written
+
+ /// The buffer contains two null-terminated strings. The first one is the compiler
+ /// output message. The second one is the full shader source code including definitions added
+ /// by the engine. Data blob object must be released by the client.
+ IDataBlob **ppCompilerOutput = nullptr;
};