i915g: Fix some whitespace problems.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 00:59:26 +0000 (17:59 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 01:01:41 +0000 (18:01 -0700)
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_debug_private.h

index f16bb725a4bc0d0050db68aaf6594e1d67f2e1bd..0f66d13104f7d721fdeb97b3db826b18d353d81c 100644 (file)
@@ -50,18 +50,18 @@ struct i915_winsys_batchbuffer;
 
 #define I915_DYNAMIC_MODES4       0
 #define I915_DYNAMIC_DEPTHSCALE_0 1 /* just the header */
-#define I915_DYNAMIC_DEPTHSCALE_1 2 
+#define I915_DYNAMIC_DEPTHSCALE_1 2
 #define I915_DYNAMIC_IAB          3
 #define I915_DYNAMIC_BC_0         4 /* just the header */
 #define I915_DYNAMIC_BC_1         5
-#define I915_DYNAMIC_BFO_0        6 
+#define I915_DYNAMIC_BFO_0        6
 #define I915_DYNAMIC_BFO_1        7
-#define I915_DYNAMIC_STP_0        8 
-#define I915_DYNAMIC_STP_1        9 
-#define I915_DYNAMIC_SC_ENA_0     10 
-#define I915_DYNAMIC_SC_RECT_0    11 
-#define I915_DYNAMIC_SC_RECT_1    12 
-#define I915_DYNAMIC_SC_RECT_2    13 
+#define I915_DYNAMIC_STP_0        8
+#define I915_DYNAMIC_STP_1        9
+#define I915_DYNAMIC_SC_ENA_0     10
+#define I915_DYNAMIC_SC_RECT_0    11
+#define I915_DYNAMIC_SC_RECT_1    12
+#define I915_DYNAMIC_SC_RECT_2    13
 #define I915_MAX_DYNAMIC          14
 
 
@@ -78,7 +78,7 @@ struct i915_winsys_batchbuffer;
 /* These must mach the order of LI0_STATE_* bits, as they will be used
  * to generate hardware packets:
  */
-#define I915_CACHE_STATIC         0 
+#define I915_CACHE_STATIC         0
 #define I915_CACHE_DYNAMIC        1 /* handled specially */
 #define I915_CACHE_SAMPLER        2
 #define I915_CACHE_MAP            3
@@ -140,7 +140,7 @@ struct i915_cache_context;
 /* Use to calculate differences between state emitted to hardware and
  * current driver-calculated state.  
  */
-struct i915_state 
+struct i915_state
 {
    unsigned immediate[I915_MAX_IMMEDIATE];
    unsigned dynamic[I915_MAX_DYNAMIC];
index b3668d08482d90a067e65137fb4e030dcada7636..5345aaec12895b7608150241211a8dff7f450935 100644 (file)
@@ -31,7 +31,7 @@
 #ifndef I915_DEBUG_PRIVATE_H
 #define I915_DEBUG_PRIVATE_H
 
-struct debug_stream 
+struct debug_stream
 {
    unsigned offset;            /* current gtt offset */
    char *ptr;          /* pointer to gtt offset zero */
@@ -39,7 +39,7 @@ struct debug_stream
    unsigned print_addresses;
 };
 
-void i915_disassemble_program(struct debug_stream *stream, 
+void i915_disassemble_program(struct debug_stream *stream,
                              const unsigned *program, unsigned sz);
 
 #endif