gallium: add another value check to util_fast_pow()
[mesa.git] / src / gallium / drivers / softpipe / sp_texture.h
index 779a9d8fc970c0bf070886fe312858b44aa4a235..bf437a7c61842ebed4d80c27ca3282d1fb045bbf 100644 (file)
@@ -42,11 +42,13 @@ struct softpipe_texture
    struct pipe_texture base;
 
    unsigned long level_offset[PIPE_MAX_TEXTURE_LEVELS];
-   unsigned long pitch[PIPE_MAX_TEXTURE_LEVELS];
+   unsigned long stride[PIPE_MAX_TEXTURE_LEVELS];
 
    /* The data is held here:
     */
    struct pipe_buffer *buffer;
+
+   boolean modified;
 };