mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
panfrost: Don't set dirty_mask for constant buffers
It is unused. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11700>
This commit is contained in:
parent
f94c796741
commit
d0e90c336d
3 changed files with 0 additions and 5 deletions
|
|
@ -1242,8 +1242,6 @@ panfrost_emit_const_buf(struct panfrost_batch *batch,
|
|||
}
|
||||
}
|
||||
|
||||
buf->dirty_mask = 0;
|
||||
|
||||
if (ss->info.push.count == 0)
|
||||
return ubos.gpu;
|
||||
|
||||
|
|
|
|||
|
|
@ -1282,12 +1282,10 @@ panfrost_set_constant_buffer(
|
|||
|
||||
if (unlikely(!buf)) {
|
||||
pbuf->enabled_mask &= ~mask;
|
||||
pbuf->dirty_mask &= ~mask;
|
||||
return;
|
||||
}
|
||||
|
||||
pbuf->enabled_mask |= mask;
|
||||
pbuf->dirty_mask |= mask;
|
||||
ctx->dirty_shader[shader] |= PAN_DIRTY_STAGE_CONST;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ enum pan_dirty_shader {
|
|||
struct panfrost_constant_buffer {
|
||||
struct pipe_constant_buffer cb[PIPE_MAX_CONSTANT_BUFFERS];
|
||||
uint32_t enabled_mask;
|
||||
uint32_t dirty_mask;
|
||||
};
|
||||
|
||||
struct panfrost_query {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue