summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-10-05 19:35:47 -0700
committerGitHub <noreply@github.com>2022-10-05 19:35:47 -0700
commitcf34d2830a3103b2b47a4140d27d054b797705f2 (patch)
tree3620bc07e53edc6c959777d069b1931aa28691e4 /source
parent364e43264b9f69957ddaed8890392d82fb25c822 (diff)
Various gfx fixes. (#2434)
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-emit-hlsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-hlsl.cpp b/source/slang/slang-emit-hlsl.cpp
index 2ffcd6c10..93b501ae0 100644
--- a/source/slang/slang-emit-hlsl.cpp
+++ b/source/slang/slang-emit-hlsl.cpp
@@ -875,7 +875,7 @@ void HLSLSourceEmitter::emitSimpleTypeImpl(IRType* type)
case kIROp_NativeStringType:
case kIROp_StringType:
{
- m_writer->emit("string");
+ m_writer->emit("int");
return;
}
default: break;