summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-07-19 15:09:04 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-07-19 15:09:04 +0000
commit992babd454a8e8b1b046f287c5cbc4f56e7fdbe3 (patch)
tree7597e28cd1ec6515e6ba27cb7f4c5b4e626733b5 /Graphics/GraphicsEngine
parentUpdated development checks in GraphicsEngine project (diff)
downloadDiligentCore-992babd454a8e8b1b046f287c5cbc4f56e7fdbe3.tar.gz
DiligentCore-992babd454a8e8b1b046f287c5cbc4f56e7fdbe3.zip
Added comment about shader reflection data
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index 4cac8e82..43404edc 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -235,7 +235,10 @@ struct ShaderCreationAttribs
/// Compiled shader bytecode.
/// If shader byte code is provided, FilePath and Source members must be null
- /// \note. This option is currently only supported for D3D11 and D3D12
+ /// \note. This option is currently only supported for D3D11 and D3D12.
+ /// The bytecode must contain reflection information. If shaders were compiled
+ /// using fxc, make sure that /Qstrip_reflect option is *not* specified.
+ /// Also, shaders need to be compiled against 4.0 profile or higher.
const void *ByteCode = nullptr;
/// Size of the compiled shader bytecode