summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-05-20 09:45:47 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2015-05-28 17:07:00 -0700
commit8b9ecfff360711cffc41a0a062de5ad810f9cf2b (patch)
tree82961251dad9b7de699bb99e2a34453dcf6939c3 /src/mesa/drivers/dri/i965/brw_fs.h
parent99cb4233205edcfa1a1e2967eef7bb16ff19bec4 (diff)
downloadexternal_mesa3d-8b9ecfff360711cffc41a0a062de5ad810f9cf2b.zip
external_mesa3d-8b9ecfff360711cffc41a0a062de5ad810f9cf2b.tar.gz
external_mesa3d-8b9ecfff360711cffc41a0a062de5ad810f9cf2b.tar.bz2
i965: Make fs/vec4_visitor inherit from ir_visitor directly
This is using multiple inheritance in C++. However, ir_visitor is really just an interface with no data so it shouldn't be so bad. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index f63b149..6f16c31 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -66,7 +66,7 @@ namespace brw {
*
* Translates either GLSL IR or Mesa IR (for ARB_fragment_program) into FS IR.
*/
-class fs_visitor : public backend_shader
+class fs_visitor : public backend_shader, public ir_visitor
{
public:
const fs_reg reg_null_f;