diff options
author | Marek Olšák <[email protected]> | 2010-09-04 00:42:36 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-09-04 19:06:47 +0200 |
commit | 280665be7026c978acead9713c10271c36a571ee (patch) | |
tree | 6150da9464852e5a11e0258943bb572472e41006 /src/gallium/drivers/nvfx/nvfx_fragprog.c | |
parent | cbf7e827869baeddab19c249bcea7afe49bc0f74 (diff) |
Revert "ir_to_mesa: Load all the STATE_VAR elements of a builtin uniform to a temp."
This reverts commit 5ad74779cea07cc6a19a52874cdaef8b018e2f1b.
Sorry, but I had to revert this.
Any commit which needlessly increases the number of temporaries is wrong.
More temporaries mean less shader performance because of reduced parallelism
and therefore less efficient latency hiding. In this case, there is possible
performance degradation of every shader which uses GL state variables.
I cannot accept this.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_fragprog.c')
0 files changed, 0 insertions, 0 deletions