From d3da705a225c0adf40f1b496316cad09e7bddb87 Mon Sep 17 00:00:00 2001 From: Dejan Mircevski Date: Thu, 21 Apr 2016 17:12:47 -0400 Subject: [PATCH] Fix Windows build. Replace `#ifdef 0` with comment inside a macro call. --- test/Validate.Capability.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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()), -- 2.7.4