summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-24 16:00:42 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-24 16:00:42 +0000
commit65e29604c2c5e935b9596b61584b4101ba5d3af6 (patch)
tree92102d666fbd603f5cab823c2737a70ae050ffa2 /Graphics/GraphicsEngineVulkan
parentFixed multiple unused variable warnings in clang release build (diff)
downloadDiligentCore-65e29604c2c5e935b9596b61584b4101ba5d3af6.tar.gz
DiligentCore-65e29604c2c5e935b9596b61584b4101ba5d3af6.zip
Fex minor changes
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp4
-rw-r--r--Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp
index d15bb584..6fef9685 100644
--- a/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp
@@ -350,8 +350,8 @@ PipelineStateVkImpl :: PipelineStateVkImpl(IReferenceCounters* pRefCounters
MSStateCI.pSampleMask = SampleMask; // an array of static coverage information that is ANDed with
// the coverage information generated during rasterization (25.3)
MSStateCI.alphaToCoverageEnable = VK_FALSE; // whether a temporary coverage value is generated based on
- // the alpha component of the fragment�s first color output
- MSStateCI.alphaToOneEnable = VK_FALSE; // whether the alpha component of the fragment�s first color output is replaced with one
+ // the alpha component of the fragment's first color output
+ MSStateCI.alphaToOneEnable = VK_FALSE; // whether the alpha component of the fragment's first color output is replaced with one
PipelineCI.pMultisampleState = &MSStateCI;
VkPipelineDepthStencilStateCreateInfo DepthStencilStateCI =
diff --git a/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp b/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp
index a0553d18..102ce738 100644
--- a/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp
@@ -656,7 +656,7 @@ VkPipelineRasterizationStateCreateInfo RasterizerStateDesc_To_VkRasterizationSta
RSStateCI.pNext = nullptr;
RSStateCI.flags = 0; // Reserved for future use.
- // If depth clamping is enabled, before the incoming fragment�s zf is compared to za, zf is clamped to
+ // If depth clamping is enabled, before the incoming fragment's zf is compared to za, zf is clamped to
// [min(n,f), max(n,f)], where n and f are the minDepth and maxDepth depth range values of the viewport
// used by this fragment, respectively (25.10)
// This value is the opposite of clip enable
@@ -673,7 +673,7 @@ VkPipelineRasterizationStateCreateInfo RasterizerStateDesc_To_VkRasterizationSta
// that relates to the usable resolution of the depth buffer
RSStateCI.depthBiasClamp = RasterizerDesc.DepthBiasClamp; // maximum (or minimum) depth bias of a fragment.
RSStateCI.depthBiasSlopeFactor =
- RasterizerDesc.SlopeScaledDepthBias; // a scalar factor applied to a fragment�s slope in depth bias calculations.
+ RasterizerDesc.SlopeScaledDepthBias; // a scalar factor applied to a fragment's slope in depth bias calculations.
RSStateCI.lineWidth = 1.f; // If the wide lines feature is not enabled, and no element of the pDynamicStates member of
// pDynamicState is VK_DYNAMIC_STATE_LINE_WIDTH, the lineWidth member of
// pRasterizationState must be 1.0 (9.2)