summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-04-29 14:21:14 -0700
committerEric Anholt <[email protected]>2013-05-02 15:54:26 -0700
commit63c8155b09bca7917631ec678a0d0db6e7965a1a (patch)
treeb18feedb62ea17c477d1bd7f0a3a14d3e6e2bbb1 /src/mesa/drivers/dri/i965/brw_shader.h
parent74e670d0a39ee0e7b26a65ee727ff9245b052878 (diff)
i965: Make dump_instructions be a virtual method of the visitor.
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 5189fdcb07e..4b2b399c62e 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -56,6 +56,9 @@ public:
* backend_instruction)
*/
exec_list instructions;
+
+ virtual void dump_instruction(backend_instruction *inst) = 0;
+ void dump_instructions();
};
int brw_type_for_base_type(const struct glsl_type *type);