diff options
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_emit.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_screen.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c index 568978a8a7b..7ee4487194d 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c @@ -946,6 +946,11 @@ fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring) } void +fd3_emit_init_screen(struct pipe_screen *pscreen) +{ +} + +void fd3_emit_init(struct pipe_context *pctx) { struct fd_context *ctx = fd_context(pctx); diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h index ece4dabadc2..88a3692efbe 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h +++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h @@ -92,6 +92,7 @@ void fd3_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, void fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring); +void fd3_emit_init_screen(struct pipe_screen *pscreen); void fd3_emit_init(struct pipe_context *pctx); static inline void diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_screen.c b/src/gallium/drivers/freedreno/a3xx/fd3_screen.c index 03fee1001dd..1c059104b59 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_screen.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_screen.c @@ -30,6 +30,7 @@ #include "fd3_screen.h" #include "fd3_context.h" #include "fd3_format.h" +#include "fd3_emit.h" #include "fd3_resource.h" #include "ir3/ir3_compiler.h" @@ -107,6 +108,7 @@ fd3_screen_init(struct pipe_screen *pscreen) screen->compiler = ir3_compiler_create(screen->dev, screen->gpu_id); pscreen->context_create = fd3_context_create; pscreen->is_format_supported = fd3_screen_is_format_supported; + fd3_emit_init_screen(pscreen); screen->setup_slices = fd3_setup_slices; if (fd_mesa_debug & FD_DBG_TTILE) |