mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
freedreno/a4xx: add fd4_emit_init_screen()
Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
2f94de2372
commit
ec0ec641d8
3 changed files with 8 additions and 0 deletions
|
|
@ -932,6 +932,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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue