Merge pull request #282 from KhronosGroup/fix-281

Remove some dead code.
This commit is contained in:
Hans-Kristian Arntzen 2017-09-16 10:28:56 +02:00 committed by GitHub
commit 68274c27da

View File

@ -2629,7 +2629,6 @@ bool Compiler::CombinedImageSamplerHandler::end_function_scope(const uint32_t *a
auto &callee = compiler.get<SPIRFunction>(args[2]);
args += 3;
length -= 3;
// There are two types of cases we have to handle,
// a callee might call sampler2D(texture2D, sampler) directly where