From: Dejan Mircevski Date: Thu, 21 Apr 2016 21:12:47 +0000 (-0400) Subject: Fix Windows build. X-Git-Tag: upstream/2018.6~1261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3da705a225c0adf40f1b496316cad09e7bddb87;p=platform%2Fupstream%2FSPIRV-Tools.git Fix Windows build. Replace `#ifdef 0` with comment inside a macro call. --- diff --git a/test/Validate.Capability.cpp b/test/Validate.Capability.cpp index 7b9e195..d9dc3d8 100644 --- a/test/Validate.Capability.cpp +++ b/test/Validate.Capability.cpp @@ -625,11 +625,10 @@ INSTANTIATE_TEST_CASE_P(Decoration, ValidateCapability, make_pair(string(kOpenCLMemoryModel) + "OpDecorate %intt RelaxedPrecision\n" "%intt = OpTypeInt 32 1\n", ShaderDependencies()), -#if 0 // TODO(dekimir): re-enable this (adding Kernel) once 1.1 is the default -make_pair(string(kOpenCLMemoryModel) + - "OpDecorate %intt SpecId 1\n" - "%intt = OpTypeInt 32 1\n", ShaderDependencies()), -#endif // 0 +// TODO(dekimir): re-enable this (adding Kernel) once 1.1 is the default +// make_pair(string(kOpenCLMemoryModel) + +// "OpDecorate %intt SpecId 1\n" +// "%intt = OpTypeInt 32 1\n", ShaderDependencies()), make_pair(string(kOpenCLMemoryModel) + "OpDecorate %intt Block\n" "%intt = OpTypeInt 32 1\n", ShaderDependencies()),