summaryrefslogtreecommitdiff
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-02-27 15:17:13 -0500
committerGitHub <noreply@github.com>2019-02-27 15:17:13 -0500
commiteee68205636f26ac8060dbb2b1725fd3c80e54a8 (patch)
treeb07d0be17046a763d80b04b211dd6869bff2bd9d /source/slang/compiler.h
parent8ac4452754292b74fa6bf2713dd9f1458ce5243d (diff)
Hotfix/fix stdlib error reporting (#866)
* * Add 'identity' version of bit casts (asint, asuint, asfloat) for scalar and vector * Added identity bit casts for matrix (cos no op). We don't support matrix asint on glsl targets * Added tests in bit-cast.slang * Use kIRPseudoOp_Pos for identity asuint/asint/asfloat casts. * * Stop crash if error in stdlib * Use the buildin source manager when compiling stdlib - fixes that line numbers are displayed * Typo fix * Output line directives for 'meta' slang souce files into stdlib * Improve comments and function names.
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index 246b34ea7..49d777931 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -706,7 +706,7 @@ namespace Slang
{
// TODO: We really shouldn't need this type in the long run.
// The few places that rely on it should be refactored to just
- // depend on the unerlying information (a linkage and a diagnostic
+ // depend on the underlying information (a linkage and a diagnostic
// sink) directly.
//
// The flags to control dumping and validation of IR should be