We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6d669 commit aab92ecCopy full SHA for aab92ec
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
@@ -491,7 +491,7 @@ SPIRVToLLVMDbgTran::transTypeVector(const SPIRVExtInst *DebugInst) {
491
// Clang rounds up the memory size of vectors to a power of 2.
492
// Vulkan allows vec3 to have a memory size of 12, but in RenderDoc memory
493
// size is not derived from debug info.
494
- uint64_t Size = getDerivedSizeInBits(BaseTy) * bit_ceil(Count);
+ uint64_t Size = getDerivedSizeInBits(BaseTy) * llvm::bit_ceil(Count);
495
496
SmallVector<llvm::Metadata *, 8> Subscripts;
497
Subscripts.push_back(getDIBuilder(DebugInst).getOrCreateSubrange(0, Count));
0 commit comments