mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
freedreno: Don't open-code setting dirty CS state
There is actually no issue with setting FD_DIRTY_PROG, since all state is marked dirty when we switch from compute to 3d. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20975>
This commit is contained in:
parent
5a37cd8569
commit
1faf7133d4
1 changed files with 1 additions and 2 deletions
|
|
@ -707,8 +707,7 @@ fd_bind_compute_state(struct pipe_context *pctx, void *state) in_dt
|
|||
{
|
||||
struct fd_context *ctx = fd_context(pctx);
|
||||
ctx->compute = state;
|
||||
/* NOTE: Don't mark FD_DIRTY_PROG for compute specific state */
|
||||
ctx->dirty_shader[PIPE_SHADER_COMPUTE] |= FD_DIRTY_SHADER_PROG;
|
||||
fd_context_dirty_shader(ctx, PIPE_SHADER_COMPUTE, FD_DIRTY_SHADER_PROG);
|
||||
}
|
||||
|
||||
/* TODO pipe_context::set_compute_resources() should DIAF and clover
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue