vega: Rename pipe formats.
[mesa.git] / src / gallium / state_trackers / vega / paint.c
index d8f6299b2db0f99d5bbe8dbdb10ca73d038e1017..caf0c14b7453cfb697cf1fb9468b9304c5855607 100644 (file)
@@ -32,7 +32,7 @@
 #include "st_inlines.h"
 
 #include "pipe/p_compiler.h"
-#include "pipe/p_inlines.h"
+#include "util/u_inlines.h"
 
 #include "util/u_format.h"
 #include "util/u_memory.h"
@@ -151,7 +151,7 @@ static INLINE struct pipe_texture *create_gradient_texture(struct vg_paint *p)
 
    memset(&templ, 0, sizeof(templ));
    templ.target = PIPE_TEXTURE_1D;
-   templ.format = PIPE_FORMAT_A8R8G8B8_UNORM;
+   templ.format = PIPE_FORMAT_B8G8R8A8_UNORM;
    templ.last_level = 0;
    templ.width0 = 1024;
    templ.height0 = 1;