From cf7ef96b20bf3f91a9ee623f94800d617bc6ff3c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 27 Mar 2018 18:46:47 -0700 Subject: Added shader compiler log output --- Graphics/GraphicsEngine/interface/Shader.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Graphics/GraphicsEngine') 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; }; -- cgit v1.2.3