diff options
author | Rob Clark <[email protected]> | 2019-07-31 18:01:07 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-08-13 08:08:07 -0700 |
commit | b9d3f39728fbab614c3bfa5b972a8a312dfec2c4 (patch) | |
tree | a9f0eb499179c65ebfe48e16ef91e9bb9786b338 /src/gallium/drivers/freedreno/a2xx | |
parent | ec0ec641d8ec381224d0fe3e392b68a944520d59 (diff) |
freedreno/a2xx: add fd2_emit_init_screen()
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_emit.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_screen.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c index 03329dc9591..3ed7bb6e141 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c @@ -564,6 +564,11 @@ fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring) } void +fd2_emit_init_screen(struct pipe_screen *pscreen) +{ +} + +void fd2_emit_init(struct pipe_context *pctx) { struct fd_context *ctx = fd_context(pctx); diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_emit.h b/src/gallium/drivers/freedreno/a2xx/fd2_emit.h index f1676532ad5..50131708983 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_emit.h +++ b/src/gallium/drivers/freedreno/a2xx/fd2_emit.h @@ -44,6 +44,7 @@ void fd2_emit_state_binning(struct fd_context *ctx, const enum fd_dirty_3d_state void fd2_emit_state(struct fd_context *ctx, const enum fd_dirty_3d_state dirty); void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring); +void fd2_emit_init_screen(struct pipe_screen *pscreen); void fd2_emit_init(struct pipe_context *pctx); static inline void diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_screen.c b/src/gallium/drivers/freedreno/a2xx/fd2_screen.c index 0c02c6a7e05..cd57af11ac5 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_screen.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_screen.c @@ -29,6 +29,7 @@ #include "fd2_screen.h" #include "fd2_context.h" +#include "fd2_emit.h" #include "fd2_util.h" #include "fd2_resource.h" @@ -125,4 +126,6 @@ fd2_screen_init(struct pipe_screen *pscreen) screen->perfcntr_groups = a2xx_perfcntr_groups; screen->num_perfcntr_groups = a2xx_num_perfcntr_groups; } + + fd2_emit_init_screen(pscreen); } |