Home
last modified time | relevance | path

Searched refs:basePtr (Results 1 – 16 of 16) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/debase/
DdeMemory.c126 void* basePtr; member
166 void* const basePtr = deMalloc(numBytes + alignBytes + sizeof(AlignedAllocHeader)); in deAlignedMalloc()
170 if (basePtr) in deAlignedMalloc()
172 …void* const alignedPtr = deAlignPtr((void*)((deUintptr)basePtr + sizeof(AlignedAllocHeader)), … in deAlignedMalloc()
175 hdr->basePtr = basePtr; in deAlignedMalloc()
252 deFree(hdr->basePtr); in deAlignedFree()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp461 …k (void* maskBasePtr, const InterfaceLayoutEntry& entry, const void* basePtr0, const void* basePtr) in createMask() argument
475 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in createMask()
514 void* basePtr = blockPointers.find(blockNdx)->second; in createMask() local
522 createMask (&mask[0], entry, basePtr0, basePtr); in createMask()
904 void generateValue (const InterfaceLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
918 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
951 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
959 generateValue(entry, basePtr, rnd); in generateValues()
1205 …c (std::ostringstream& src, const InterfaceLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument
1210 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.… in generateValueSrc()
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_mem.cpp121 LoadInst* Builder::LOAD(Value* basePtr, in LOAD() argument
130 return Builder::LOAD(GEPA(basePtr, valIndices), name); in LOAD()
133 LoadInst* Builder::LOADV(Value* basePtr, in LOADV() argument
140 return LOAD(GEPA(basePtr, valIndices), name); in LOADV()
144 …Builder::STORE(Value* val, Value* basePtr, const std::initializer_list<uint32_t>& indices, Type* T… in STORE() argument
149 return STORE(val, GEPA(basePtr, valIndices)); in STORE()
153 Builder::STOREV(Value* val, Value* basePtr, const std::initializer_list<Value*>& indices) in STOREV() argument
158 return STORE(val, GEPA(basePtr, valIndices)); in STOREV()
167 Value* basePtr, in MEM_ADD() argument
171 Value* i32Value = LOAD(GEP(basePtr, indices), name); in MEM_ADD()
[all …]
Dbuilder_mem.h106 Value* basePtr,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp738 void generateValue (const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
752 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
790 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
796 generateValue(entry, basePtr, rnd); in generateValues()
1198 …Src (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument
1203 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.… in generateValueSrc()
1272 const void* basePtr, in writeMatrixTypeSrc() argument
1285 const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset; in writeMatrixTypeSrc()
1303 generateValueSrc(src, entry, basePtr, 0); in writeMatrixTypeSrc()
1317 const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset; in writeMatrixTypeSrc()
[all …]
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeSharedPtr.cpp322 SharedPtr<Object> basePtr; in SharedPtr_selfTest() local
326 basePtr = derivedPtr; in SharedPtr_selfTest()
339 SharedPtr<Object> basePtr (derivedPtr); in SharedPtr_selfTest() local
354 SharedPtr<Object> basePtr = (SharedPtr<Object>)(derivedPtr); in SharedPtr_selfTest() local
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp596 void generateValue(const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
612 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx * entry.arrayStride : 0); in generateValue()
653 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
659 generateValue(entry, basePtr, rnd); in generateValues()
857 void generateValueSrc(std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr in generateValueSrc() argument
862 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.ar… in generateValueSrc()
924 const char* apiName, const UniformLayout& layout, const void* basePtr, deUint32 unusedMask) in generateCompareSrc() argument
941 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
948 generateValueSrc(src, entry, basePtr, 0); in generateCompareSrc()
961 (string(apiName) + op).c_str(), layout, basePtr, unusedMask); in generateCompareSrc()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsUniformBlockCase.cpp625 void generateValue (const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
639 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
672 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
678 generateValue(entry, basePtr, rnd); in generateValues()
945 …Src (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument
950 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx*entry.ar… in generateValueSrc()
1003 …* srcName, const char* apiName, const UniformLayout& layout, const void* basePtr, deUint32 unusedM… in generateCompareSrc() argument
1020 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
1027 generateValueSrc(src, entry, basePtr, 0); in generateCompareSrc()
1038 …Type, (string(srcName) + op).c_str(), (string(apiName) + op).c_str(), layout, basePtr, unusedMask); in generateCompareSrc()
[all …]
DglsDrawTest.cpp1038 const deUint8* basePtr = DE_NULL; in bindAttribute() local
1045 basePtr = DE_NULL; in bindAttribute()
1052 basePtr = (const deUint8*)m_data; in bindAttribute()
1068 …m_ctx.vertexAttribPointer(loc, size, inputTypeToGL(m_inputType), m_normalize, m_stride, basePtr + … in bindAttribute()
1074 …m_ctx.vertexAttribIPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_stride, basePtr + … in bindAttribute()
1085 …nter(loc, m_componentCount, inputTypeToGL(m_inputType), m_normalize, m_stride, basePtr + m_offset); in bindAttribute()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMultisampleLoadStoreTests.cpp270 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in test() local
276 deInt32* const valuePtr = reinterpret_cast<deInt32*>(basePtr + layerNdx * bufferChunkSize); in test()
DvktImageLoadStoreTests.cpp847 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in ImageStoreTestInstance() local
853 …deUint32* valuePtr = reinterpret_cast<deUint32*>(basePtr + layerNdx * m_constantsBufferChunkSizeBy… in ImageStoreTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleSampleLocationsExtTests.cpp1337 …tatic UVec2& renderSize (void* const basePtr) { return *reinterpret_cast<UVec2*> (static_cast<de… in renderSize() argument
1338 static UVec2& gridSize (void* const basePtr) { return *reinterpret_cast<UVec2*> (static_cast<deUi… in gridSize() argument
1339 …eUint32& samplesPerPixel (void* const basePtr) { return *reinterpret_cast<deUint32*> (static_cast<… in samplesPerPixel() argument
1342 static T* sampleData (void* const basePtr) { DE_STATIC_ASSERT(sizeof(T) == sizeof(Vec2)); in sampleData() argument
1343 return reinterpret_cast<T*> (static_cast<deUint8*>(basePtr) + STATIC_SIZE); } in sampleData()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp534 static void genAttributeData (const Attribute& attrib, deUint8* basePtr, int stride, int numElement… in genAttributeData() argument
550 float* comp = (float*)(basePtr+offset); in genAttributeData()
562 int* comp = (int*)(basePtr+offset); in genAttributeData()
574 deUint32* comp = (deUint32*)(basePtr+offset); in genAttributeData()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp766 void generateValue (const BufferVarLayoutEntry& entry, int unsizedArraySize, void* basePtr, de::Ran… in generateValue() argument
785 deUint8* const topElemPtr = (deUint8*)basePtr + entry.offset + topElemNdx*topLevelStride; in generateValue()
1970 deUint8* basePtr = storage.data.empty() ? DE_NULL : &storage.data[0]; in initRefDataStorage() local
1974 DE_ASSERT(totalSize == 0 || basePtr); in initRefDataStorage()
1983 …storage.pointers[blockNdx] = getBlockDataPtr(layout, blockLayout, basePtr + curOffset, bufferSize); in initRefDataStorage()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp726 void generateValue (const BufferVarLayoutEntry& entry, int unsizedArraySize, void* basePtr, de::Ran… in generateValue() argument
745 deUint8* const topElemPtr = (deUint8*)basePtr + entry.offset + topElemNdx*topLevelStride; in generateValue()
1950 deUint8* basePtr = storage.data.empty() ? DE_NULL : &storage.data[0]; in initRefDataStorage() local
1954 DE_ASSERT(totalSize == 0 || basePtr); in initRefDataStorage()
1963 …storage.pointers[blockNdx] = getBlockDataPtr(layout, blockLayout, basePtr + curOffset, bufferSize); in initRefDataStorage()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp724 deUint8* const basePtr = (deUint8*)colorBuffer.getDataPtr(); in executeRGBA8ColorWrite() local
732 …deUint8* dstPtr = basePtr + fragSampleNdx*fragStride + frag.pixelCoord.x()*xStride + frag.pixe… in executeRGBA8ColorWrite()