Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeMemory.c122 void* basePtr; member
162 void* const basePtr = deMalloc(numBytes + alignBytes + sizeof(AlignedAllocHeader)); in deAlignedMalloc()
166 if (basePtr) in deAlignedMalloc()
168 …void* const alignedPtr = deAlignPtr((void*)((deUintptr)basePtr + sizeof(AlignedAllocHeader)), … in deAlignedMalloc()
171 hdr->basePtr = basePtr; in deAlignedMalloc()
248 deFree(hdr->basePtr); in deAlignedFree()
/external/deqp/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 …]
/external/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,
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp743 void generateValue (const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
757 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
795 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
801 generateValue(entry, basePtr, rnd); in generateValues()
1203 …Src (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument
1208 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.… in generateValueSrc()
1277 const void* basePtr, in writeMatrixTypeSrc() argument
1290 const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset; in writeMatrixTypeSrc()
1308 generateValueSrc(src, entry, basePtr, 0); in writeMatrixTypeSrc()
1322 const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset; in writeMatrixTypeSrc()
[all …]
/external/deqp/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
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp601 void generateValue(const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
617 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx * entry.arrayStride : 0); in generateValue()
658 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
664 generateValue(entry, basePtr, rnd); in generateValues()
862 void generateValueSrc(std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr in generateValueSrc() argument
867 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.ar… in generateValueSrc()
929 const char* apiName, const UniformLayout& layout, const void* basePtr, deUint32 unusedMask) in generateCompareSrc() argument
946 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
953 generateValueSrc(src, entry, basePtr, 0); in generateCompareSrc()
966 (string(apiName) + op).c_str(), layout, basePtr, unusedMask); in generateCompareSrc()
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp624 void generateValue (const UniformLayoutEntry& entry, void* basePtr, de::Random& rnd) in generateValue() argument
638 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
671 void* basePtr = blockPointers.find(blockNdx)->second; in generateValues() local
677 generateValue(entry, basePtr, rnd); in generateValues()
942 …Src (std::ostringstream& src, const UniformLayoutEntry& entry, const void* basePtr, int elementNdx) in generateValueSrc() argument
947 …const deUint8* elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx*entry.ar… in generateValueSrc()
1000 …* srcName, const char* apiName, const UniformLayout& layout, const void* basePtr, deUint32 unusedM… in generateCompareSrc() argument
1017 generateValueSrc(src, entry, basePtr, elemNdx); in generateCompareSrc()
1024 generateValueSrc(src, entry, basePtr, 0); in generateCompareSrc()
1035 …Type, (string(srcName) + op).c_str(), (string(apiName) + op).c_str(), layout, basePtr, unusedMask); in generateCompareSrc()
[all …]
DglsDrawTest.cpp1050 const deUint8* basePtr = DE_NULL; in bindAttribute() local
1057 basePtr = DE_NULL; in bindAttribute()
1064 basePtr = (const deUint8*)m_data; in bindAttribute()
1080 …m_ctx.vertexAttribPointer(loc, size, inputTypeToGL(m_inputType), m_normalize, m_stride, basePtr + … in bindAttribute()
1086 …m_ctx.vertexAttribIPointer(loc, m_componentCount, inputTypeToGL(m_inputType), m_stride, basePtr + … in bindAttribute()
1097 …nter(loc, m_componentCount, inputTypeToGL(m_inputType), m_normalize, m_stride, basePtr + m_offset); in bindAttribute()
/external/swiftshader/src/Pipeline/
DSpirvShaderImage.cpp599 auto basePtr = SIMD::Pointer(imageBase, imageSizeInBytes); in EmitImageRead() local
600 …auto texelPtr = GetTexelAddress(state, basePtr, coordinate, imageType, binding, texelSize, sampleI… in EmitImageRead()
981 auto basePtr = SIMD::Pointer(imageBase, imageSizeInBytes); in EmitImageWrite() local
982 …auto texelPtr = GetTexelAddress(state, basePtr, coordinate, imageType, binding, texelSize, 0, fals… in EmitImageWrite()
1016 auto basePtr = SIMD::Pointer(imageBase, imageSizeInBytes); in EmitImageTexelPointer() local
1017 …auto ptr = GetTexelAddress(state, basePtr, coordinate, imageType, binding, sizeof(uint32_t), 0, fa… in EmitImageTexelPointer()
/external/deqp/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.cpp780 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); in ImageStoreTestInstance() local
786 …deUint32* valuePtr = reinterpret_cast<deUint32*>(basePtr + layerNdx * m_constantsBufferChunkSizeBy… in ImageStoreTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleSampleLocationsExtTests.cpp1207 …tatic UVec2& renderSize (void* const basePtr) { return *reinterpret_cast<UVec2*> (static_cast<de… in renderSize() argument
1208 static UVec2& gridSize (void* const basePtr) { return *reinterpret_cast<UVec2*> (static_cast<deUi… in gridSize() argument
1209 …eUint32& samplesPerPixel (void* const basePtr) { return *reinterpret_cast<deUint32*> (static_cast<… in samplesPerPixel() argument
1212 static T* sampleData (void* const basePtr) { DE_STATIC_ASSERT(sizeof(T) == sizeof(Vec2)); in sampleData() argument
1213 return reinterpret_cast<T*> (static_cast<deUint8*>(basePtr) + STATIC_SIZE); } in sampleData()
/external/deqp/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()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp731 void generateValue (const BufferVarLayoutEntry& entry, int unsizedArraySize, void* basePtr, de::Ran… in generateValue() argument
750 deUint8* const topElemPtr = (deUint8*)basePtr + entry.offset + topElemNdx*topLevelStride; in generateValue()
1955 deUint8* basePtr = storage.data.empty() ? DE_NULL : &storage.data[0]; in initRefDataStorage() local
1959 DE_ASSERT(totalSize == 0 || basePtr); in initRefDataStorage()
1968 …storage.pointers[blockNdx] = getBlockDataPtr(layout, blockLayout, basePtr + curOffset, bufferSize); in initRefDataStorage()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp769 void generateValue (const BufferVarLayoutEntry& entry, int unsizedArraySize, void* basePtr, de::Ran… in generateValue() argument
788 deUint8* const topElemPtr = (deUint8*)basePtr + entry.offset + topElemNdx*topLevelStride; in generateValue()
2066 deUint8* basePtr = storage.data.empty() ? DE_NULL : &storage.data[0]; in initRefDataStorage() local
2070 DE_ASSERT(totalSize == 0 || basePtr); in initRefDataStorage()
2079 …storage.pointers[blockNdx] = getBlockDataPtr(layout, blockLayout, basePtr + curOffset, bufferSize); in initRefDataStorage()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp720 deUint8* const basePtr = (deUint8*)colorBuffer.getDataPtr(); in executeRGBA8ColorWrite() local
728 …deUint8* dstPtr = basePtr + fragSampleNdx*fragStride + frag.pixelCoord.x()*xStride + frag.pixe… in executeRGBA8ColorWrite()