i965: use pack/unpackDouble lowering
[mesa.git] / src / gallium / drivers / nouveau / nouveau_statebuf.h
index 4f8bd7bdf1621ed0d76e9843fe54000743cf36c3..da5d7972d9cb05eeeb3b753d9ad54af37ef44bcc 100644 (file)
@@ -6,9 +6,9 @@
 
 struct nouveau_statebuf_builder
 {
-       uint32_t* p;
+   uint32_t* p;
 #ifdef DEBUG
-       uint32_t* pend;
+   uint32_t* pend;
 #endif
 };
 
@@ -20,9 +20,9 @@ struct nouveau_statebuf_builder
 #define sb_data(sb, v) *(sb).p++ = (v)
 #endif
 
-static INLINE uint32_t sb_header(unsigned subc, unsigned mthd, unsigned size)
+static inline uint32_t sb_header(unsigned subc, unsigned mthd, unsigned size)
 {
-       return (size << 18) | (subc << 13) | mthd;
+   return (size << 18) | (subc << 13) | mthd;
 }
 
 #define sb_method(sb, v, n)  sb_data(sb, sb_header(SUBC_3D(v), n));