Mesa (gallium-0.2): gallium: temporariliy revert softpipe shader optimization

Brian Paul brianp at kemper.freedesktop.org
Wed Oct 15 18:03:12 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: a7f06dae20c173a0edbb1d310b5f6b06068a61b0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7f06dae20c173a0edbb1d310b5f6b06068a61b0

Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Wed Oct 15 10:37:49 2008 -0600

gallium: temporariliy revert softpipe shader optimization

---

 src/gallium/drivers/softpipe/sp_fs_exec.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c
index 4fea71c..89429c1 100644
--- a/src/gallium/drivers/softpipe/sp_fs_exec.c
+++ b/src/gallium/drivers/softpipe/sp_fs_exec.c
@@ -102,7 +102,8 @@ exec_prepare( const struct sp_fragment_shader *base,
     * Bind tokens/shader to the interpreter's machine state.
     * Avoid redundant binding.
     */
-   if (spefs->machine_tokens != base->shader.tokens) {
+   /* XXX revisit this */
+   if (1 /* spefs->machine_tokens != base->shader.tokens*/) {
       tgsi_exec_machine_bind_shader( machine,
                                      base->shader.tokens,
                                      PIPE_MAX_SAMPLERS,




More information about the mesa-commit mailing list