freedreno/a3xx: add fd3_emit_init_screen()
Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
b9d3f39728
commit
d256e3f34a
|
@ -945,6 +945,11 @@ fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring)
|
|||
fd_hw_query_enable(batch, ring);
|
||||
}
|
||||
|
||||
void
|
||||
fd3_emit_init_screen(struct pipe_screen *pscreen)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
fd3_emit_init(struct pipe_context *pctx)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue