summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 8f3976c0f9..e17bfb490c 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -901,9 +901,6 @@ llvmpipe_create_fs_state(struct pipe_context *pipe,
debug_printf("\n");
}
- /* Keep a copy of the tokens in shader->base.tokens */
- shader->base.tokens = tgsi_dup_tokens(templ->tokens);
-
return shader;
}