From: Brian Paul Date: Wed, 15 Oct 2008 16:37:49 +0000 (-0600) Subject: gallium: temporariliy revert softpipe shader optimization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7f06dae20c173a0edbb1d310b5f6b06068a61b0;p=mesa.git gallium: temporariliy revert softpipe shader optimization --- diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c index 4fea71c3140..89429c100e1 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,