summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-13 06:12:34 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-13 06:12:34 +0000
commitc628d43a0bed402b79e85a41a7a7ea70086f8064 (patch)
tree123ca65cea1f8f0a568c51010cd6674e93cba923 /Graphics/GraphicsEngine
parentFixed validation errors; updated pipeline state vk implementaiton (diff)
downloadDiligentCore-c628d43a0bed402b79e85a41a7a7ea70086f8064.tar.gz
DiligentCore-c628d43a0bed402b79e85a41a7a7ea70086f8064.zip
Updated vulkan structure initialization
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/PipelineState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h
index a8f386f2..f7fab697 100644
--- a/Graphics/GraphicsEngine/interface/PipelineState.h
+++ b/Graphics/GraphicsEngine/interface/PipelineState.h
@@ -127,6 +127,9 @@ struct GraphicsPipelineDesc
/// Primitive topology type
PRIMITIVE_TOPOLOGY_TYPE PrimitiveTopologyType = PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE;
+ /// Number of viewports used by this pipeline
+ Uint8 NumViewports = 1;
+
/// Number of render targets in the RTVFormats member
Uint8 NumRenderTargets = 0;