Mesa (master): i965/fs: Change incorrect use of 'struct fs_reg' to simply ' fs_reg'.

Kenneth Graunke kwg at kemper.freedesktop.org
Fri Aug 19 23:29:25 PDT 2011


Module: Mesa
Branch: master
Commit: eb86bb55f5faef67c21604db19210c6788592679
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb86bb55f5faef67c21604db19210c6788592679

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Aug 18 14:05:11 2011 -0700

i965/fs: Change incorrect use of 'struct fs_reg' to simply 'fs_reg'.

It's actually a class.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index 2dc9132..33ad127 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -510,7 +510,7 @@ fs_visitor::emit_assignment_writes(fs_reg &l, fs_reg &r,
 void
 fs_visitor::visit(ir_assignment *ir)
 {
-   struct fs_reg l, r;
+   fs_reg l, r;
    fs_inst *inst;
 
    /* FINISHME: arrays on the lhs */



More information about the mesa-commit mailing list