summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-26 15:03:40 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-26 15:03:40 +0000
commit0717c9e7eb0d3fb5595b018c8bd97d66e81f2128 (patch)
tree65354a54901203411125e13dda4bb23cd8826f19 /Graphics/GraphicsEngine
parentFixed build warning + few minor updates to build script & readme (diff)
downloadDiligentCore-0717c9e7eb0d3fb5595b018c8bd97d66e81f2128.tar.gz
DiligentCore-0717c9e7eb0d3fb5595b018c8bd97d66e81f2128.zip
Enabled Vulkan backend to take compiled SPIRV byte code
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index dc0b29be..fe0fcf5c 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -252,7 +252,9 @@ 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 supported for D3D11, D3D12 and Vulkan backends.
+ /// For D3D11 and D3D12 backends, HLSL bytecode should be provided. Vulkan
+ /// backend expects SPIRV bytecode.
/// 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.
@@ -260,7 +262,7 @@ struct ShaderCreationAttribs
/// Size of the compiled shader bytecode
- /// Byte code size must be provided if ByteCode is not null
+ /// Byte code size (in bytes) must be provided if ByteCode is not null
size_t ByteCodeSize = 0;
/// Shader entry point