summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-01 05:42:18 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-01 05:42:18 +0000
commitc8bdcc78df5434b4d53bd1f955d851e2983f9960 (patch)
tree2577b72545c35a96fa89da434a41d126e3b0d6f3 /Graphics/GraphicsEngine
parentFixed Metal build error (diff)
downloadDiligentCore-c8bdcc78df5434b4d53bd1f955d851e2983f9960.tar.gz
DiligentCore-c8bdcc78df5434b4d53bd1f955d851e2983f9960.zip
Enabled using PSO_CREATE_FLAGS flags in D3D11, D3D12 and Vk backends.
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/PipelineState.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h
index 913f557c..5e99a392 100644
--- a/Graphics/GraphicsEngine/interface/PipelineState.h
+++ b/Graphics/GraphicsEngine/interface/PipelineState.h
@@ -255,24 +255,25 @@ typedef struct PipelineStateDesc PipelineStateDesc;
DILIGENT_TYPED_ENUM(PSO_CREATE_FLAGS, Uint32)
{
/// Null flag.
- PSO_CREATE_FLAG_NONE = 0x00,
+ PSO_CREATE_FLAG_NONE = 0x00,
- /// Silence missing variable warnings.
+ /// Ignore missing variables.
/// By default, the engine outputs a warning for every variable
/// provided as part of the pipeline resource layout description
/// that is not found in any of the designated shader stages.
/// Use this flag to silence these warnings.
- PSO_CREATE_FLAG_SILENCE_MISSING_VARIABLE_WARNINGS = 0x01,
+ PSO_CREATE_FLAG_IGNORE_MISSING_VARIABLES = 0x01,
- /// Silence missing static sampler warnings.
+ /// Ignore missing static samplers.
/// By default, the engine outputs a warning for every static sampler
/// provided as part of the pipeline resource layout description
/// that is not found in any of the designated shader stages.
/// Use this flag to silence these warnings.
- PSO_CREATE_FLAG_SILENCE_MISSING_STATIC_SAMPLER_WARNINGS = 0x02,
+ PSO_CREATE_FLAG_IGNORE_MISSING_STATIC_SAMPLERS = 0x02,
};
+DEFINE_FLAG_ENUM_OPERATORS(PSO_CREATE_FLAGS);
/// Pipeline state creation attributes