1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/angle/src/compiler/Pragma.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +// 1.5 +// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. 1.6 +// Use of this source code is governed by a BSD-style license that can be 1.7 +// found in the LICENSE file. 1.8 +// 1.9 + 1.10 +#ifndef COMPILER_PRAGMA_H_ 1.11 +#define COMPILER_PRAGMA_H_ 1.12 + 1.13 +struct TPragma { 1.14 + // By default optimization is turned on and debug is turned off. 1.15 + TPragma() : optimize(true), debug(false) { } 1.16 + TPragma(bool o, bool d) : optimize(o), debug(d) { } 1.17 + 1.18 + bool optimize; 1.19 + bool debug; 1.20 +}; 1.21 + 1.22 +#endif // COMPILER_PRAGMA_H_