Searched refs:cacheLine (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 74 Pointer<Byte> cacheLine = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate() 75 writeVertex(vertex, cacheLine); in generate() 579 void VertexRoutine::writeCache(Pointer<Byte> &cacheLine) in writeCache() argument 618 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 0) = v.x.x; in writeCache() 619 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 1) = v.x.y; in writeCache() 620 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 2) = v.x.z; in writeCache() 621 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 3) = v.x.w; in writeCache() 634 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 0, 16) = v.x; in writeCache() 635 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 1, 16) = v.y; in writeCache() 636 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 2, 16) = v.z; in writeCache() [all …]
|
D | VertexRoutine.hpp | 65 void writeCache(Pointer<Byte> &cacheLine); 66 void writeVertex(const Pointer<Byte> &vertex, Pointer<Byte> &cacheLine);
|