Fix Windows build.
authorDejan Mircevski <deki@google.com>
Thu, 21 Apr 2016 21:12:47 +0000 (17:12 -0400)
committerDejan Mircevski <deki@google.com>
Thu, 21 Apr 2016 21:12:47 +0000 (17:12 -0400)
Replace `#ifdef 0` with comment inside a macro call.

test/Validate.Capability.cpp

index 7b9e195..d9dc3d8 100644 (file)
@@ -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()),