Commit d7323cf7 by Jamie Madill Committed by Commit Bot

Fix a warning with VS2019.

Popped up when testing with the new compiler. Bug: angleproject:3986 Change-Id: I2c0f838941b133e0d7785f1ba62b5e7d02d89bd4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1849986Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 9c2df983
......@@ -618,7 +618,7 @@ angle::Result RendererVk::initialize(DisplayVk *displayVk,
#else
mEnableValidationLayers = scopedEnvironment.canEnableValidationLayers();
#endif
mEnabledICD = scopedEnvironment.getEnabledICD();
mEnabledICD = scopedEnvironment.getEnabledICD();
// Gather global layer properties.
uint32_t instanceLayerCount = 0;
......@@ -1311,7 +1311,7 @@ void RendererVk::initFeatures(const ExtensionNameList &deviceExtensionNames)
// TODO(syoussefi): when the code path using the extension is implemented, this should be
// conditioned to the extension not being present as well. http://anglebug.com/3206
ANGLE_FEATURE_CONDITION((&mFeatures), emulateTransformFeedback,
mPhysicalDeviceFeatures.vertexPipelineStoresAndAtomics)
mPhysicalDeviceFeatures.vertexPipelineStoresAndAtomics == VK_TRUE)
ANGLE_FEATURE_CONDITION((&mFeatures), disableFifoPresentMode, IsLinux() && isIntel)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment