Change --hlsl-sampled-textures to --auto-sampled-textures
diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp
index 58c1704..9535b70 100644
--- a/StandAlone/StandAlone.cpp
+++ b/StandAlone/StandAlone.cpp
@@ -111,7 +111,7 @@
bool stripDebugInfo = false;
bool beQuiet = false;
bool VulkanRulesRelaxed = false;
-bool hlslSampledTextures = false;
+bool autoSampledTextures = false;
//
// Return codes from main/exit().
@@ -656,8 +656,8 @@
HlslEnable16BitTypes = true;
} else if (lowerword == "hlsl-dx9-compatible") {
HlslDX9compatible = true;
- } else if (lowerword == "hlsl-sampled-textures") {
- hlslSampledTextures = true;
+ } else if (lowerword == "auto-sampled-textures") {
+ autoSampledTextures = true;
} else if (lowerword == "invert-y" || // synonyms
lowerword == "iy") {
Options |= EOptionInvertY;
@@ -1192,7 +1192,7 @@
shader->setNoStorageFormat((Options & EOptionNoStorageFormat) != 0);
shader->setResourceSetBinding(baseResourceSetBinding[compUnit.stage]);
- if (hlslSampledTextures)
+ if (autoSampledTextures)
shader->setTextureSamplerTransformMode(EShTexSampTransUpgradeTextureRemoveSampler);
if (Options & EOptionAutoMapBindings)