summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.cpp')
-rw-r--r--source/slang/compiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp
index 302b5704f..acbf51e2e 100644
--- a/source/slang/compiler.cpp
+++ b/source/slang/compiler.cpp
@@ -11,7 +11,7 @@
#include "parser.h"
#include "preprocessor.h"
#include "syntax-visitors.h"
-
+#include "type-layout.h"
#include "reflection.h"
#include "emit.h"
@@ -160,7 +160,7 @@ namespace Slang
entryPoint,
targetReq->layout.Ptr(),
CodeGenTarget::HLSL,
- targetReq->target);
+ targetReq);
}
}
@@ -207,7 +207,7 @@ namespace Slang
entryPoint,
targetReq->layout.Ptr(),
CodeGenTarget::GLSL,
- targetReq->target);
+ targetReq);
}
}