freedreno/a6xx: Rename fd6_emit_3d_state()
To better reflect this is emitting 3d state, and to avoid a name conflict in the next patch. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20572>
This commit is contained in:
@@ -301,7 +301,7 @@ fd6_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info,
|
|||||||
|
|
||||||
// TODO move fd6_emit_streamout.. I think..
|
// TODO move fd6_emit_streamout.. I think..
|
||||||
if (emit.dirty_groups)
|
if (emit.dirty_groups)
|
||||||
fd6_emit_state(ring, &emit);
|
fd6_emit_3d_state(ring, &emit);
|
||||||
|
|
||||||
/* for debug after a lock up, write a unique counter value
|
/* for debug after a lock up, write a unique counter value
|
||||||
* to scratch7 for each draw, to make it easier to match up
|
* to scratch7 for each draw, to make it easier to match up
|
||||||
|
@@ -802,7 +802,7 @@ fd6_emit_non_ring(struct fd_ringbuffer *ring, struct fd6_emit *emit) assert_dt
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
fd6_emit_state(struct fd_ringbuffer *ring, struct fd6_emit *emit)
|
fd6_emit_3d_state(struct fd_ringbuffer *ring, struct fd6_emit *emit)
|
||||||
{
|
{
|
||||||
struct fd_context *ctx = emit->ctx;
|
struct fd_context *ctx = emit->ctx;
|
||||||
struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer;
|
struct pipe_framebuffer_state *pfb = &ctx->batch->framebuffer;
|
||||||
|
@@ -281,8 +281,8 @@ void fd6_emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
|||||||
struct fd_texture_stateobj *tex,
|
struct fd_texture_stateobj *tex,
|
||||||
const struct ir3_shader_variant *v) assert_dt;
|
const struct ir3_shader_variant *v) assert_dt;
|
||||||
|
|
||||||
void fd6_emit_state(struct fd_ringbuffer *ring,
|
void fd6_emit_3d_state(struct fd_ringbuffer *ring,
|
||||||
struct fd6_emit *emit) assert_dt;
|
struct fd6_emit *emit) assert_dt;
|
||||||
|
|
||||||
void fd6_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
void fd6_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
||||||
struct ir3_shader_variant *cp) assert_dt;
|
struct ir3_shader_variant *cp) assert_dt;
|
||||||
|
Reference in New Issue
Block a user