From 89bb31ac517d69a2a811cf56c50b7ca689d270f9 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Fri, 15 Sep 2017 13:25:02 +0200 Subject: [PATCH] Remove some dead code. --- spirv_cross.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/spirv_cross.cpp b/spirv_cross.cpp index 35d62c41..65a8e3cc 100644 --- a/spirv_cross.cpp +++ b/spirv_cross.cpp @@ -2629,7 +2629,6 @@ bool Compiler::CombinedImageSamplerHandler::end_function_scope(const uint32_t *a auto &callee = compiler.get(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