Skip to content

Commit e9d6a72

Browse files
FilipFudalasys_zuul
authored andcommitted
Refactor
Change-Id: I4f0eb839f31f062ea9ed6e39cd1ad8f93eaeca10
1 parent a8dbdc1 commit e9d6a72

File tree

8 files changed

+37
-0
lines changed

8 files changed

+37
-0
lines changed

IGC/AdaptorCommon/API/igc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4343
#endif
4444

4545
#include <string>
46+
#include "../../common/EmUtils.h"
4647
#include "../IGC/Compiler/CodeGenPublicEnums.h"
4748
// TODO: add all external declarations so that external projects only need
4849
// to include this file only.

IGC/Compiler/CodeGenPublicEnums.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2828

2929
#pragma once
3030

31+
#include "../IGC/common/EmUtils.h"
32+
3133
namespace IGC
3234
{
3335
enum HullShaderDispatchModes : signed int

IGC/GenISAIntrinsics/GenIntrinsicInst.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5757
#include "llvm/IR/Module.h"
5858
#include "common/LLVMWarningsPop.hpp"
5959
#include "Compiler/CodeGenPublicEnums.h"
60+
#include "common/EmUtils.h"
6061
#include "common/Types.hpp"
6162
#include "GenIntrinsics.h"
6263
#include "Probe/Assertion.h"

IGC/LLVM3DBuilder/BuiltinsFrontend.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3939
#include "inc/common/Compiler/API/SurfaceFormats.h"
4040
#include "inc/common/igfxfmid.h"
4141
#include "common/IGCIRBuilder.h"
42+
#include "../common/EmUtils.h"
4243

4344
struct genplatform
4445
{

IGC/Probe/Assertion.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2727
#ifndef IGC_PROBE_ASSERTION_H
2828
#define IGC_PROBE_ASSERTION_H
2929

30+
#include "../common/EmUtils.h"
31+
3032

3133
#include <cassert>
3234
#include <cstdlib>

IGC/common/EmUtils.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*===================== begin_copyright_notice ==================================
2+
3+
Copyright (c) 2017 Intel Corporation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a
6+
copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included
14+
in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+
24+
25+
======================= end_copyright_notice ==================================*/
26+

IGC/common/Types.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4242
#include "IGC/common/LLVMWarningsPop.hpp"
4343
#include "Probe/Assertion.h"
4444
#include "IGC/common/shaderHash.hpp"
45+
#include "EmUtils.h"
46+
4547
namespace USC
4648
{
4749
struct ShaderD3D;

IGC/common/igc_regkeys.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

2525
======================= end_copyright_notice ==================================*/
2626

27+
#include "common/EmUtils.h"
28+
2729
#ifndef DECLARE_IGC_GROUP
2830
#define DECLARE_IGC_GROUP(groupName)
2931
#endif

0 commit comments

Comments
 (0)