OSDN Git Service

freedreno/a4xx: fd4_util -> fd4_format
authorRob Clark <robclark@freedesktop.org>
Wed, 3 Dec 2014 23:02:38 +0000 (18:02 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 4 Dec 2014 21:01:37 +0000 (16:01 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
15 files changed:
src/gallium/drivers/freedreno/Makefile.sources
src/gallium/drivers/freedreno/a4xx/fd4_blend.c
src/gallium/drivers/freedreno/a4xx/fd4_draw.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.h
src/gallium/drivers/freedreno/a4xx/fd4_format.c [moved from src/gallium/drivers/freedreno/a4xx/fd4_util.c with 99% similarity]
src/gallium/drivers/freedreno/a4xx/fd4_format.h [moved from src/gallium/drivers/freedreno/a4xx/fd4_util.h with 100% similarity]
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a4xx/fd4_query.c
src/gallium/drivers/freedreno/a4xx/fd4_rasterizer.c
src/gallium/drivers/freedreno/a4xx/fd4_screen.c
src/gallium/drivers/freedreno/a4xx/fd4_texture.c
src/gallium/drivers/freedreno/a4xx/fd4_texture.h
src/gallium/drivers/freedreno/a4xx/fd4_zsa.c

index 81019db..4f7a053 100644 (file)
@@ -99,6 +99,8 @@ a4xx_SOURCES := \
        a4xx/fd4_draw.h \
        a4xx/fd4_emit.c \
        a4xx/fd4_emit.h \
+       a4xx/fd4_format.c \
+       a4xx/fd4_format.h \
        a4xx/fd4_gmem.c \
        a4xx/fd4_gmem.h \
        a4xx/fd4_program.c \
@@ -111,8 +113,6 @@ a4xx_SOURCES := \
        a4xx/fd4_screen.h \
        a4xx/fd4_texture.c \
        a4xx/fd4_texture.h \
-       a4xx/fd4_util.c \
-       a4xx/fd4_util.h \
        a4xx/fd4_zsa.c \
        a4xx/fd4_zsa.h
 
index bf2254a..b2d4949 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "fd4_blend.h"
 #include "fd4_context.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 static enum a4xx_rb_blend_opcode
 blend_func(unsigned func)
index 9a586c8..aa3df9f 100644 (file)
@@ -38,7 +38,7 @@
 #include "fd4_context.h"
 #include "fd4_emit.h"
 #include "fd4_program.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 #include "fd4_zsa.h"
 
 
index a1f53cf..c7be161 100644 (file)
@@ -40,7 +40,7 @@
 #include "fd4_program.h"
 #include "fd4_rasterizer.h"
 #include "fd4_texture.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 #include "fd4_zsa.h"
 
 /* regid:          base const register
index d133f01..cdfa0f4 100644 (file)
@@ -32,7 +32,7 @@
 #include "pipe/p_context.h"
 
 #include "freedreno_context.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 #include "fd4_program.h"
 #include "ir3_shader.h"
 
@@ -29,7 +29,7 @@
 #include "pipe/p_defines.h"
 #include "util/u_format.h"
 
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 /* convert pipe format to vertex buffer format: */
 enum a4xx_vtx_fmt
index ce0a8c1..89ae260 100644 (file)
@@ -41,7 +41,7 @@
 #include "fd4_draw.h"
 #include "fd4_emit.h"
 #include "fd4_program.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 #include "fd4_zsa.h"
 
 static const struct ir3_shader_key key = {
index 6518280..e085d88 100644 (file)
@@ -39,7 +39,7 @@
 #include "fd4_program.h"
 #include "fd4_emit.h"
 #include "fd4_texture.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 static void
 delete_shader_stateobj(struct fd4_shader_stateobj *so)
index 9a50626..6db1c11 100644 (file)
@@ -31,7 +31,7 @@
 #include "freedreno_util.h"
 
 #include "fd4_query.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 void fd4_query_context_init(struct pipe_context *pctx)
 {
index b363cb7..e54b606 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "fd4_rasterizer.h"
 #include "fd4_context.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 void *
 fd4_rasterizer_state_create(struct pipe_context *pctx,
index df5ac6e..cf697d4 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "fd4_screen.h"
 #include "fd4_context.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 static boolean
 fd4_screen_is_format_supported(struct pipe_screen *pscreen,
index 6523c71..2b826d6 100644 (file)
@@ -33,7 +33,7 @@
 #include "util/u_format.h"
 
 #include "fd4_texture.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 /* TODO do we need to emulate clamp-to-edge like a3xx? */
 static enum a4xx_tex_clamp
index 3592b10..07eb961 100644 (file)
@@ -35,7 +35,7 @@
 #include "freedreno_resource.h"
 
 #include "fd4_context.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 struct fd4_sampler_stateobj {
        struct pipe_sampler_state base;
index 59942dc..da0c2b7 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "fd4_zsa.h"
 #include "fd4_context.h"
-#include "fd4_util.h"
+#include "fd4_format.h"
 
 void *
 fd4_zsa_state_create(struct pipe_context *pctx,