Lines Matching defs:storage
49 static glw::GLenum getProgramDefaultBlockInterfaceFromStorage (glu::Storage storage)
51 switch (storage)
70 static bool isBufferBackedInterfaceBlockStorage (glu::Storage storage)
72 return storage == glu::STORAGE_BUFFER || storage == glu::STORAGE_UNIFORM;
529 const bool isBufferBlock = firstComponent.isInterfaceBlock() && isBufferBackedInterfaceBlockStorage(firstComponent.getInterfaceBlock()->storage);
605 const glw::GLenum interface = (firstComponent.getInterfaceBlock()->storage == glu::STORAGE_UNIFORM) ? (GL_UNIFORM_BLOCK) :
606 (firstComponent.getInterfaceBlock()->storage == glu::STORAGE_BUFFER) ? (GL_SHADER_STORAGE_BLOCK) :
659 const bool isBufferBlock = firstComponent.isInterfaceBlock() && isBufferBackedInterfaceBlockStorage(firstComponent.getInterfaceBlock()->storage);
693 const bool isBufferBlock = firstComponent.isInterfaceBlock() && isBufferBackedInterfaceBlockStorage(firstComponent.getInterfaceBlock()->storage);
879 if (path.front().isInterfaceBlock() && path.front().getInterfaceBlock()->storage == glu::STORAGE_UNIFORM)
884 else if (path.front().isInterfaceBlock() && (path.front().getInterfaceBlock()->storage == glu::STORAGE_IN ||
885 path.front().getInterfaceBlock()->storage == glu::STORAGE_OUT ||
886 path.front().getInterfaceBlock()->storage == glu::STORAGE_PATCH_IN ||
887 path.front().getInterfaceBlock()->storage == glu::STORAGE_PATCH_OUT))
892 else if (varDecl->storage == glu::STORAGE_UNIFORM)
897 else if (varDecl->storage == glu::STORAGE_IN ||
898 varDecl->storage == glu::STORAGE_OUT ||
899 varDecl->storage == glu::STORAGE_PATCH_IN ||
900 varDecl->storage == glu::STORAGE_PATCH_OUT)
915 const bool isUniformBlockVariable = path.front().isInterfaceBlock() && path.front().getInterfaceBlock()->storage == glu::STORAGE_UNIFORM;
918 const glu::Storage storage = (path.front().isInterfaceBlock()) ? (path.front().getInterfaceBlock()->storage) : (path.front().getDeclaration()->storage);
919 const bool isInputVariable = (storage == glu::STORAGE_IN || storage == glu::STORAGE_PATCH_IN);
920 const bool isOutputVariable = (storage == glu::STORAGE_OUT || storage == glu::STORAGE_PATCH_OUT);
990 const glw::GLenum interface = getProgramDefaultBlockInterfaceFromStorage(storage);
1104 const bool isBufferBackedBlockStorage = path.front().isInterfaceBlock() && isBufferBackedInterfaceBlockStorage(path.front().getInterfaceBlock()->storage);
1337 DE_ASSERT(path.front().isInterfaceBlock() && path.front().getInterfaceBlock()->storage == glu::STORAGE_BUFFER);
1386 DE_ASSERT(path.front().isInterfaceBlock() && path.front().getInterfaceBlock()->storage == glu::STORAGE_BUFFER);
1659 const glu::Storage storage = (path.front().isInterfaceBlock()) ? (path.front().getInterfaceBlock()->storage) : (path.front().getDeclaration()->storage);
1660 const int expected = (storage == glu::STORAGE_PATCH_IN || storage == glu::STORAGE_PATCH_OUT) ? (1) : (0);
1818 if (((1u << block.storage) & validStorageBits) == 0)
1883 if (((1u << block.storage) & validStorageBits) == 0)
2253 const glu::Storage storage = (m_queryTarget.interface == PROGRAMINTERFACE_UNIFORM_BLOCK) ? (glu::STORAGE_UNIFORM) : (glu::STORAGE_BUFFER);
2254 const VariableSearchFilter blockFilter = VariableSearchFilter::createStorageFilter(storage);