freedreno/a5xx: add fd5_emit_init_screen()
authorRob Clark <robdclark@chromium.org>
Thu, 1 Aug 2019 01:12:00 +0000 (18:12 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 13 Aug 2019 15:11:25 +0000 (08:11 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
src/gallium/drivers/freedreno/a5xx/fd5_emit.h
src/gallium/drivers/freedreno/a5xx/fd5_screen.c

index 67ec23ebbbef0abe0058215bb46db7472b90256e..ab375c4c01ee86121d2cf5ecbd17ed47dcb2fb7e 100644 (file)
@@ -1119,6 +1119,11 @@ fd5_mem_to_mem(struct fd_ringbuffer *ring, struct pipe_resource *dst,
        }
 }
 
+void
+fd5_emit_init_screen(struct pipe_screen *pscreen)
+{
+}
+
 void
 fd5_emit_init(struct pipe_context *pctx)
 {
index 70ac550fc1d4c019187649e4bbd0d5c601d2de30..90a6f48405c80755000bccec86be6b36e1dcfc38 100644 (file)
@@ -198,6 +198,7 @@ void fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
 
 void fd5_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
 
+void fd5_emit_init_screen(struct pipe_screen *pscreen);
 void fd5_emit_init(struct pipe_context *pctx);
 
 static inline void
index 92e4a94ff0e6db938a05d30311cea2c7e0d906e4..14f8ab77221121e27f6c7f7e2b75c98caa38d23d 100644 (file)
@@ -31,6 +31,7 @@
 #include "fd5_blitter.h"
 #include "fd5_context.h"
 #include "fd5_format.h"
+#include "fd5_emit.h"
 #include "fd5_resource.h"
 
 #include "ir3/ir3_compiler.h"
@@ -140,4 +141,6 @@ fd5_screen_init(struct pipe_screen *pscreen)
                screen->perfcntr_groups = a5xx_perfcntr_groups;
                screen->num_perfcntr_groups = a5xx_num_perfcntr_groups;
        }
+
+       fd5_emit_init_screen(pscreen);
 }