diff options
author | Rob Clark <[email protected]> | 2019-07-31 17:58:56 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-08-13 08:08:07 -0700 |
commit | ec0ec641d8ec381224d0fe3e392b68a944520d59 (patch) | |
tree | 97b07baf243f3a06062a0a9ab17464b1ef9496ea /src/gallium/drivers/freedreno | |
parent | 2f94de2372139864318b062008e5b51890829953 (diff) |
freedreno/a4xx: add fd4_emit_init_screen()
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_emit.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_emit.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_screen.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c index 6cf80e6a3f1..f670d4f8c4a 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c @@ -933,6 +933,11 @@ fd4_mem_to_mem(struct fd_ringbuffer *ring, struct pipe_resource *dst, } void +fd4_emit_init_screen(struct pipe_screen *pscreen) +{ +} + +void fd4_emit_init(struct pipe_context *pctx) { struct fd_context *ctx = fd_context(pctx); diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_emit.h b/src/gallium/drivers/freedreno/a4xx/fd4_emit.h index a78d83c5ee6..52d3caddb01 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_emit.h +++ b/src/gallium/drivers/freedreno/a4xx/fd4_emit.h @@ -101,6 +101,7 @@ void fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, void fd4_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring); +void fd4_emit_init_screen(struct pipe_screen *pscreen); void fd4_emit_init(struct pipe_context *pctx); static inline void diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_screen.c b/src/gallium/drivers/freedreno/a4xx/fd4_screen.c index 6e5e903f5d1..c775ebfd1fc 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_screen.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_screen.c @@ -29,6 +29,7 @@ #include "fd4_screen.h" #include "fd4_context.h" +#include "fd4_emit.h" #include "fd4_format.h" #include "ir3/ir3_compiler.h" @@ -110,4 +111,5 @@ fd4_screen_init(struct pipe_screen *pscreen) screen->compiler = ir3_compiler_create(screen->dev, screen->gpu_id); pscreen->context_create = fd4_context_create; pscreen->is_format_supported = fd4_screen_is_format_supported; + fd4_emit_init_screen(pscreen); } |