From 992babd454a8e8b1b046f287c5cbc4f56e7fdbe3 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 19 Jul 2018 08:09:04 -0700 Subject: Added comment about shader reflection data --- Graphics/GraphicsEngine/interface/Shader.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') 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 -- cgit v1.2.3