diff options
author | Eric Anholt <[email protected]> | 2013-04-29 14:21:14 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-05-02 15:54:26 -0700 |
commit | 63c8155b09bca7917631ec678a0d0db6e7965a1a (patch) | |
tree | b18feedb62ea17c477d1bd7f0a3a14d3e6e2bbb1 /src/mesa/drivers/dri/i965/brw_shader.h | |
parent | 74e670d0a39ee0e7b26a65ee727ff9245b052878 (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.h | 3 |
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); |