From b7a619b45b0745f166d2dcc5985b994fb1d85d13 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:40:53 -0700 Subject: Replace the word stdlib or standard-library with core-module for source code (#5415) This commit changes the word "stdlib" or "standard library" to "core module" in the source code. --- source/slang/slang-core-module-textures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-core-module-textures.cpp') diff --git a/source/slang/slang-core-module-textures.cpp b/source/slang/slang-core-module-textures.cpp index a74a954d5..064529ff4 100644 --- a/source/slang/slang-core-module-textures.cpp +++ b/source/slang/slang-core-module-textures.cpp @@ -100,7 +100,7 @@ void TextureTypeInfo::writeFuncBody( if (spirvDefault.getLength() && spirvCombined.getLength()) { sb << i << "case spirv:\n"; - sb << i << "if (access == " << kStdlibResourceAccessReadWrite << ")\n"; + sb << i << "if (access == " << kCoreModule_ResourceAccessReadWrite << ")\n"; sb << i << "return spirv_asm\n"; { BraceScope spirvRWScope{ i, sb, ";\n" }; @@ -365,7 +365,7 @@ void TextureTypeInfo::writeGetDimensionFunctions() glsl << ", ($" << aa++ << " = textureQueryLevels($0))"; } }; - glsl << "if (access == " << kStdlibResourceAccessReadOnly << ") __intrinsic_asm \""; + glsl << "if (access == " << kCoreModule_ResourceAccessReadOnly << ") __intrinsic_asm \""; emitIntrinsic(toSlice("textureSize"), !isMultisample); glsl << "\";\n"; glsl << "__intrinsic_asm \""; -- cgit v1.2.3