Mesa (master): tgsi: remove unused Flags member from full_instruction

Keith Whitwell keithw at kemper.freedesktop.org
Tue Dec 1 06:43:35 PST 2009


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

Author: Keith Whitwell <keithw at vmware.com>
Date:   Tue Nov 24 14:44:45 2009 +0000

tgsi: remove unused Flags member from full_instruction

---

 src/gallium/auxiliary/tgsi/tgsi_build.c |    2 --
 src/gallium/auxiliary/tgsi/tgsi_parse.h |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c
index ce9e72e..fbac265 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.c
@@ -483,8 +483,6 @@ tgsi_default_full_instruction( void )
       full_instruction.FullSrcRegisters[i] = tgsi_default_full_src_register();
    }
 
-   full_instruction.Flags = 0x0;
-
    return full_instruction;
 }
 
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.h b/src/gallium/auxiliary/tgsi/tgsi_parse.h
index ba9578c..c78d6e6 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_parse.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_parse.h
@@ -83,7 +83,6 @@ struct tgsi_full_instruction
    struct tgsi_instruction_texture     InstructionTexture;
    struct tgsi_full_dst_register       FullDstRegisters[TGSI_FULL_MAX_DST_REGISTERS];
    struct tgsi_full_src_register       FullSrcRegisters[TGSI_FULL_MAX_SRC_REGISTERS];
-   uint Flags;  /**< user-defined usage */
 };
 
 union tgsi_full_token



More information about the mesa-commit mailing list