/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkBinaryRegistry.hpp | 108 size_t size (void) const { return m_elements.size(); } in size() 123 std::vector<Element> m_elements; member in vk::BinaryRegistryDetail::LazyResource 137 m_elements.resize(numElements); in LazyResource() 146 if (ndx >= m_elements.size()) in operator []() 152 return m_elements[ndx]; in operator []() 160 const size_t numBytesToRead = de::min(m_elements.size()*sizeof(Element) - pageOffset, pageSize); in makePageResident() 167 m_resource->read((deUint8*)&m_elements[pageNdx << ELEMENTS_PER_PAGE_LOG2], (int)numBytesToRead); in makePageResident()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deBlockBuffer.hpp | 89 T* m_elements; member in de::BlockBuffer 108 , m_elements (DE_NULL) in BlockBuffer() 119 m_elements = new T[m_numBlocks*m_blockSize]; in BlockBuffer() 124 delete[] m_elements; in BlockBuffer() 137 delete[] m_elements; in ~BlockBuffer() 201 T* block = m_elements + m_writeBlock*m_blockSize; in writeToCurrentBlock() 244 const T* block = m_elements + m_readBlock*m_blockSize; in readFromCurrentBlock()
|
D | deThreadSafeRingBuffer.hpp | 55 std::vector<T> m_elements; member in de::ThreadSafeRingBuffer 72 , m_elements (m_size) in ThreadSafeRingBuffer() 85 m_elements[m_front] = elem; in pushFrontInternal() 94 return m_elements[ndx]; in popBackInternal()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 267 : m_elements(elements) in Buffer() 273 const size_t count = m_elements.size(); in getBytes() 281 deMemcpy(&bytes.front(), &m_elements.front(), size); in getBytes() 288 deMemcpy(&bytes[elementIdx * perSegmentSize], &m_elements[elementIdx], sizeof(E)); in getBytes() 294 const size_t size = m_elements.size() * sizeof(E); in getPackedBytes() 298 deMemcpy(&bytes.front(), &m_elements.front(), size); in getPackedBytes() 303 return m_elements.size() * (sizeof(E) + m_padding); in getByteSize() 307 std::vector<E> m_elements; member in vkt::SpirVAssembly::Buffer
|
D | vktSpvAsmPhysicalStorageBufferPointerTests.cpp | 110 deUint32 getElements (void) const { return m_elements; } in getElements() 117 iterator end () { return iterator(&getData()[m_elements]); } in end() 120 const deUint32 m_elements; member in vkt::SpirVAssembly::__anon7a644fef0111::ut::TypedBuffer 259 , m_elements (nelements) in TypedBuffer() 265 , m_elements (static_cast<deUint32>(items.size())) in TypedBuffer() 272 , m_elements(src.m_elements) in TypedBuffer() 278 , m_elements(static_cast<deUint32>(m_size/sizeof(X))) in TypedBuffer() 285 for (deUint32 i = 0; i < m_elements; ++i) in iota() 292 DE_ASSERT(at < m_elements); in operator []()
|
D | vktSpvAsmInstructionTests.cpp | 10460 , m_elements (1) in ConvertCase() 10486 m_elements = 2; in ConvertCase() 10493 m_elements = 2; in ConvertCase() 10498 m_asmTypes["outStorageType"] = getAsmTypeName(to, m_elements); in ConvertCase() 10502 m_asmTypes["inStorageType"] = getAsmTypeName(from, m_elements); in ConvertCase() 10507 if (m_elements < 1 || m_elements > 2) in ConvertCase() 10510 m_asmTypes["inputType"] = getAsmTypeName(from, m_elements); in ConvertCase() 10511 m_asmTypes["outputType"] = getAsmTypeName(to, m_elements); in ConvertCase() 10513 m_inputBuffer = getBuffer(from, number, m_elements); in ConvertCase() 10515 m_outputBuffer = getBuffer(to, outputNumber, m_elements); in ConvertCase() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 1141 m_elements.push_back(&(*it)); in Traverser() 1144 semiShuffle(m_elements); in Traverser() 1146 m_next = m_elements.begin(); in Traverser() 1151 if (m_next != m_elements.end()) in next() 1158 typename std::vector<T*> m_elements; member in vkt::TransformFeedback::__anon0bea8c4c0111::Traverser
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1112 m_elements.push_back(&(*it)); in Traverser() 1115 semiShuffle(m_elements); in Traverser() 1117 m_next = m_elements.begin(); in Traverser() 1122 if (m_next != m_elements.end()) in next() 1129 typename std::vector<T*> m_elements; member in vkt::ubo::__anon5548dcaf0111::Traverser
|