freedreno/a4xx: make _emit_const() static
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
af98c6c31d
commit
b8b800d18a
|
@ -87,7 +87,6 @@ fd4_draw(struct fd_batch *batch, struct fd_ringbuffer *ring,
|
|||
fd_reset_wfi(batch);
|
||||
}
|
||||
|
||||
|
||||
static inline enum a4xx_index_size
|
||||
fd4_size2indextype(unsigned index_size)
|
||||
{
|
||||
|
@ -100,6 +99,7 @@ fd4_size2indextype(unsigned index_size)
|
|||
assert(0);
|
||||
return INDEX4_SIZE_32_BIT;
|
||||
}
|
||||
|
||||
static inline void
|
||||
fd4_draw_emit(struct fd_batch *batch, struct fd_ringbuffer *ring,
|
||||
enum pc_di_primtype primtype,
|
||||
|
|
|
@ -54,7 +54,7 @@ static const enum adreno_state_block sb[] = {
|
|||
* prsc or dwords: buffer containing constant values
|
||||
* sizedwords: size of const value buffer
|
||||
*/
|
||||
void
|
||||
static void
|
||||
fd4_emit_const(struct fd_ringbuffer *ring, enum shader_t type,
|
||||
uint32_t regid, uint32_t offset, uint32_t sizedwords,
|
||||
const uint32_t *dwords, struct pipe_resource *prsc)
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
struct fd_ringbuffer;
|
||||
|
||||
void fd4_emit_const(struct fd_ringbuffer *ring, enum shader_t type,
|
||||
uint32_t regid, uint32_t offset, uint32_t sizedwords,
|
||||
const uint32_t *dwords, struct pipe_resource *prsc);
|
||||
|
||||
void fd4_emit_gmem_restore_tex(struct fd_ringbuffer *ring,
|
||||
unsigned nr_bufs, struct pipe_surface **bufs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue