summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-11-16 18:42:21 +0000
committerazhirnov <zh1dron@gmail.com>2020-11-16 18:42:21 +0000
commita1f696c7b63a9e93bcc7d66a5a6ad9559d799b6a (patch)
treea35296527be48b64c466fde23c55cfdbf6613e47 /Graphics/GraphicsEngine
parentAdded Scale and Rotation for Matrix3x3 (diff)
downloadDiligentCore-a1f696c7b63a9e93bcc7d66a5a6ad9559d799b6a.tar.gz
DiligentCore-a1f696c7b63a9e93bcc7d66a5a6ad9559d799b6a.zip
update comments
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/ShaderBindingTable.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngine/interface/ShaderBindingTable.h b/Graphics/GraphicsEngine/interface/ShaderBindingTable.h
index 78680cd8..214b4a17 100644
--- a/Graphics/GraphicsEngine/interface/ShaderBindingTable.h
+++ b/Graphics/GraphicsEngine/interface/ShaderBindingTable.h
@@ -65,12 +65,14 @@ DILIGENT_TYPED_ENUM(SHADER_BINDING_VALIDATION_FLAGS, Uint8)
/// Checks that all shaders are bound or inactive.
SHADER_BINDING_VALIDATION_SHADER_ONLY = 0x1,
- /// AZ TODO
+ /// Checks that shader record data are initialized.
SHADER_BINDING_VALIDATION_SHADER_RECORD = 0x2,
-
- /// AZ TODO
+
+ /// Checks that all TLAS that used in IShaderBindingTable::BindHitGroup() are alive and
+ /// shader binding indices have not changed.
SHADER_BINDING_VALIDATION_TLAS = 0x4,
+ // Enable all validations.
SHADER_BINDING_VALIDATION_ALL = SHADER_BINDING_VALIDATION_SHADER_ONLY |
SHADER_BINDING_VALIDATION_SHADER_RECORD |
SHADER_BINDING_VALIDATION_TLAS
@@ -101,6 +103,7 @@ DILIGENT_BEGIN_INTERFACE(IShaderBindingTable, IDeviceObject)
/// \return True if SBT content is valid.
///
/// \note Access to the SBT must be externally synchronized.
+ /// This method implemented only for development build and has no effect in release build.
VIRTUAL Bool METHOD(Verify)(THIS_
SHADER_BINDING_VALIDATION_FLAGS Flags) CONST PURE;