On 09/08/2011 11:32 PM, Eric Anholt wrote:
> These were copy and pasted from the FS, and are never used.
> ---
>  src/mesa/drivers/dri/i965/brw_vec4.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h 
> b/src/mesa/drivers/dri/i965/brw_vec4.h
> index 3f116ee..0f85cdb 100644
> --- a/src/mesa/drivers/dri/i965/brw_vec4.h
> +++ b/src/mesa/drivers/dri/i965/brw_vec4.h
> @@ -83,9 +83,7 @@ public:
>     int reg_offset;
>     /** Register type.  BRW_REGISTER_TYPE_* */
>     int type;
> -   bool sechalf;
>     struct brw_reg fixed_hw_reg;
> -   int smear; /* -1, or a channel of the reg to smear to all channels. */
>  
>     /** Value for file == BRW_IMMMEDIATE_FILE */
>     union {

You might also want to move the imm union to src_reg instead of the base
class.  Immediates as dst_regs don't make a lot of sense...

Either way,
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to