diff options
author | Rob Clark <[email protected]> | 2019-07-31 18:13:38 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-08-13 08:11:26 -0700 |
commit | 566f2281c5f1057a0de9633fad3a91906355731e (patch) | |
tree | b4edf145de29f371577f5fdd584904e4d5b111ca /src/gallium/drivers/freedreno | |
parent | e89255b0a5d5b5ce4a6b6d6a8203d68742202666 (diff) |
freedreno/a6xx: add fd6_emit_init_screen()
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_emit.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_screen.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index 181f647a2bb..fd2ceaa4730 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -1331,6 +1331,11 @@ fd6_framebuffer_barrier(struct fd_context *ctx) } void +fd6_emit_init_screen(struct pipe_screen *pscreen) +{ +} + +void fd6_emit_init(struct pipe_context *pctx) { struct fd_context *ctx = fd_context(pctx); diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h index 8c411328402..e46091a49bc 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h @@ -234,6 +234,7 @@ void fd6_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, void fd6_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring); +void fd6_emit_init_screen(struct pipe_screen *pscreen); void fd6_emit_init(struct pipe_context *pctx); static inline void diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_screen.c b/src/gallium/drivers/freedreno/a6xx/fd6_screen.c index 744737b5412..dddda98f121 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_screen.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_screen.c @@ -32,6 +32,7 @@ #include "fd6_screen.h" #include "fd6_blitter.h" #include "fd6_context.h" +#include "fd6_emit.h" #include "fd6_format.h" #include "fd6_resource.h" @@ -154,4 +155,6 @@ fd6_screen_init(struct pipe_screen *pscreen) screen->perfcntr_groups = a6xx_perfcntr_groups; screen->num_perfcntr_groups = a6xx_num_perfcntr_groups; } + + fd6_emit_init_screen(pscreen); } |