summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-15 10:37:49 -0600
committerBrian Paul <[email protected]>2008-10-15 12:00:48 -0600
commita7f06dae20c173a0edbb1d310b5f6b06068a61b0 (patch)
treefc9c0d7688c2f6d6110bbdc0ff78b598e700eb63 /src
parent9382a7100fd6de6e615dc661ed813bf43e24ec15 (diff)
gallium: temporariliy revert softpipe shader optimization
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_fs_exec.c3
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 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,