summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstorage.h
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2017-12-07 13:51:22 +0100
committerBrian Paul <[email protected]>2018-01-24 10:23:00 -0700
commit51c0cee267206ae9de215b8e4f75c04a2fa251b2 (patch)
treef18a7f646b45f7838d64fdef9de7e066e7df593a /src/mesa/main/texstorage.h
parent517e34c62f18c6067781370401d26c8162dfde4c (diff)
mesa/st/glsl_to_tgsi: Add tracking of indirect addressing registers
So far indirect addressing was not tracked to estimate the temporary life time, and it was not needed, because code to load the address registers was always emitted eliminating the reladdr* handles in the past glsl-to.tgsi stages. Now, with Mareks patch allowing any 1D register to be used for addressing on some hardware this changed, and the tracking becomes necessary. Because the registers have no direct indication on whether the reladdr* was already loaded into an address register, the temporaries in reladdr* are always tracked as reads. This may result in a slight over-estimation of the lifetime in the cases when the load to the address register was emitted. v2: no changes v3: Use debug_log variable instead of directly writing to std::err in debugging output. v6: fix indention and typos Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> (v1) Signed-off-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src/mesa/main/texstorage.h')
0 files changed, 0 insertions, 0 deletions