search for: temparrayinfo

Displaying 1 result from an estimated 1 matches for "temparrayinfo".

2016 Jan 14
0
[PATCH] nv50/ir: rebase indirect temp arrays to 0, so that we use less lmem space
...en/nv50_ir_from_tgsi.cpp @@ -841,6 +841,11 @@ public: std::set<Location> locals; std::set<int> indirectTempArrays; + struct TempBase { + int oldBase, newBase; + }; + std::map<int, TempBase> indirectTempBases; + std::map<int, std::pair<int, int> > tempArrayInfo; std::vector<int> tempArrayId; int clipVertexOutput; @@ -949,9 +954,19 @@ bool Source::scanSource() } tgsi_parse_free(&parse); - // TODO: Compute based on relevant array sizes - if (indirectTempArrays.size()) - info->bin.tlsSpace += (scan.file_max[TGSI_FILE...