summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-26 12:02:26 -0700
committerEric Anholt <[email protected]>2010-08-26 14:55:44 -0700
commitc1dfdcb93a8991788032d4906c5bf1a5b48cdc48 (patch)
treeb0dcc4585a8a6dede61e8dcb8b46394b76fd7656 /src/mesa/drivers/dri/i965/brw_wm.h
parent3a8ad33dde2f059b82ebf09f5cffa66c86f2e734 (diff)
i965: Add new pass to split vectors into scalar variables
Combined with the previous pass, this lets other optimization passes do their work thanks to ir_tree_grafting. Still have regression in instruction count with INTEL_NEW_FS, but register count is even better.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index 438da1af622..6a761e723b4 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -466,5 +466,6 @@ struct gl_shader *brw_new_shader(GLcontext *ctx, GLuint name, GLuint type);
struct gl_shader_program *brw_new_shader_program(GLcontext *ctx, GLuint name);
GLboolean brw_do_channel_expressions(struct exec_list *instructions);
+GLboolean brw_do_vector_splitting(struct exec_list *instructions);
#endif