draw: only fill in / compare the part of the translate key we're using.
[mesa.git] / src / gallium / auxiliary / translate / translate.h
index 6c15d7e4dc7bb3e56a7805ed0af21d79f8c6d317..de6f09d18a299ba4014ff6b948f1f504e3cf9c89 100644 (file)
 struct translate_element 
 {
    enum pipe_format input_format;
-   unsigned input_buffer;
-   unsigned input_offset;
-
    enum pipe_format output_format;
+   unsigned input_buffer;
+   unsigned input_offset;       /* can't really reduce the size of these */
    unsigned output_offset;
 };