Searched refs:bufferVar (Results 1 – 1 of 1) sorted by relevance
50 VariableInst *bufferVar = b.MakeVariable(StructPtrTy, StorageClass::Uniform); in AddBuffer() local51 bufferVar->decorate(Decoration::DescriptorSet)->addExtraOperand(0); in AddBuffer()52 bufferVar->decorate(Decoration::Binding)->addExtraOperand(binding); in AddBuffer()53 m->addVariable(bufferVar); in AddBuffer()55 return bufferVar; in AddBuffer()239 VariableInst *bufferVar = static_cast<VariableInst *>(inst); in DecorateGlobalBuffer() local240 bufferVar->decorate(Decoration::DescriptorSet)->addExtraOperand(0); in DecorateGlobalBuffer()241 bufferVar->decorate(Decoration::Binding)->addExtraOperand(0); in DecorateGlobalBuffer()244 static_cast<TypePointerInst *>(bufferVar->mResultType.mInstruction); in DecorateGlobalBuffer()307 VariableInst *bufferVar = static_cast<VariableInst *>(inst); in DecorateGlobalBuffer() local[all …]