Skip to content

r300: simplify search for free temporary and get rid of destination register reuse

Back when we had a stupid register allocator we did a lot of tricks to optimize the register usage. Now that we have a nice register allocator both for vertex and fragment shaders, this is no longer needed. This MR simplifies the search for free temporary (skipping a whole program search each time we need one) and gets rid of us trying to do register reuse. Regalloc can sort it all out later.

Signed-off-by: Pavel Ondračka pavel.ondracka@gmail.com

Merge request reports