Commit 1ee1c8e1 by John Kessenich

Build: Fix portability in previous commit.

parent c10191d1
......@@ -3851,7 +3851,8 @@ void TBuiltIns::add2ndGenerationSamplingImaging(int version, EProfile profile, c
// samplerBuffer and textureBuffer types.
sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
sampler.ms);
addSamplingFunctions(sampler, sampler.getString(), version, profile);
typeName = sampler.getString();
addSamplingFunctions(sampler, typeName, version, profile);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment