diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h index b65495de9fc..afd6fd83a86 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.h +++ b/src/gallium/drivers/freedreno/freedreno_screen.h @@ -94,6 +94,14 @@ struct fd_screen { uint32_t (*setup_slices)(struct fd_resource *rsc); unsigned (*tile_mode)(const struct pipe_resource *prsc); + /* constant emit: (note currently not used/needed for a2xx) */ + void (*emit_const)(struct fd_ringbuffer *ring, gl_shader_stage type, + uint32_t regid, uint32_t offset, uint32_t sizedwords, + const uint32_t *dwords, struct pipe_resource *prsc); + /* emit bo addresses as constant: */ + void (*emit_const_bo)(struct fd_ringbuffer *ring, gl_shader_stage type, boolean write, + uint32_t regid, uint32_t num, struct pipe_resource **prscs, uint32_t *offsets); + int64_t cpu_gpu_time_delta; struct fd_batch_cache batch_cache; |