gallium: temporariliy revert softpipe shader optimization
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2008 16:37:49 +0000 (10:37 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2008 18:00:48 +0000 (12:00 -0600)
src/gallium/drivers/softpipe/sp_fs_exec.c

index 4fea71c314004f1468a14a571fda161b57e9d47d..89429c100e1971fbba8e0989217f7b086490561d 100644 (file)
@@ -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,