diff options
| author | Mike Schuchardt <mikes@lunarg.com> | 2017-12-06 13:31:29 -0700 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2017-12-08 09:27:08 -0700 |
| commit | 4da101e9745de2a822934de4fb54224b57b2de16 (patch) | |
| tree | 65babf7059367d70d9c98058200440904239bcb4 /layers/parameter_validation_utils.cpp | |
| parent | b04a12f881766e2048d8e013cf92986560aa0552 (diff) | |
| download | usermoji-4da101e9745de2a822934de4fb54224b57b2de16.tar.xz | |
layers: VS2013 compatibility
Remove all usages of constexpr to restore compatibility with Visual Studio
2013. Also make a handful of other minor edits where the VS2013
compiler was reporting errors.
Change-Id: I3c426bea460a4a902ab306b01deb1d76d60f5fa2
Diffstat (limited to 'layers/parameter_validation_utils.cpp')
| -rw-r--r-- | layers/parameter_validation_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/parameter_validation_utils.cpp b/layers/parameter_validation_utils.cpp index 1efb0c80..b299b02e 100644 --- a/layers/parameter_validation_utils.cpp +++ b/layers/parameter_validation_utils.cpp @@ -1170,11 +1170,11 @@ bool pv_vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache "is VK_FALSE, pCreateInfos[%d].pMultisampleState must not be NULL. %s", i, i, validation_error_map[VALIDATION_ERROR_096005de]); } else { - constexpr const VkStructureType valid_next_stypes[] = { + const VkStructureType valid_next_stypes[] = { LvlTypeMap<VkPipelineCoverageModulationStateCreateInfoNV>::kSType, LvlTypeMap<VkPipelineCoverageToColorStateCreateInfoNV>::kSType, LvlTypeMap<VkPipelineSampleLocationsStateCreateInfoEXT>::kSType}; - constexpr const char *valid_struct_names = + const char *valid_struct_names = "VkPipelineCoverageModulationStateCreateInfoNV, " "VkPipelineCoverageToColorStateCreateInfoNV, " "VkPipelineSampleLocationsStateCreateInfoEXT"; |
