diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index e2ede8ea04..0656103bbe 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -1095,8 +1095,6 @@ Id Builder::makePointerDebugType(StorageClass storageClass, Id const baseType) type->addIdOperand(scID); type->addIdOperand(makeUintConstant(0)); - volatile auto x = type->getNumOperands(); - groupedDebugTypes[NonSemanticShaderDebugInfo100DebugTypePointer].push_back(type); constantsTypesGlobals.push_back(std::unique_ptr(type)); module.mapInstruction(type);