summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-stdlib.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-11 12:41:05 -0700
committerGitHub <noreply@github.com>2017-07-11 12:41:05 -0700
commita60dd57e5ac0d3cc43fddf62dbf72677d377121f (patch)
tree2e4911b6da6573d334117a08130be5c945c31b15 /source/slang/slang-stdlib.cpp
parent98b3e5bc95b6de081885798840c2deb79905a68f (diff)
parentbd7105ff8683a680d1270eca8cd74f9002144dbd (diff)
Merge pull request #72 from tfoleyNV/resources-in-structs
Resources in structs
Diffstat (limited to 'source/slang/slang-stdlib.cpp')
-rw-r--r--source/slang/slang-stdlib.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/slang/slang-stdlib.cpp b/source/slang/slang-stdlib.cpp
index 9d6f812cd..b3a48adea 100644
--- a/source/slang/slang-stdlib.cpp
+++ b/source/slang/slang-stdlib.cpp
@@ -1434,7 +1434,6 @@ namespace Slang
// When translating to GLSL, we need to break apart the `location` argument.
//
// TODO: this should realy be handled by having this member actually get lowered!
- int glslLoadCoordCount = kBaseTextureTypes[tt].coordCount + isArray;
static const char* kGLSLLoadCoordsSwizzle[] = { "", "", "x", "xy", "xyz", "xyzw" };
static const char* kGLSLLoadLODSwizzle[] = { "", "", "y", "z", "w", "error" };