mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
cso: use unbind_trailing for sampler view unbinds on context unbinds
this is a bit less noisy for drivers Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36025>
This commit is contained in:
parent
94f4fc12ea
commit
b0624f4034
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ cso_unbind_context(struct cso_context *cso)
|
|||
ctx->base.pipe->bind_sampler_states(ctx->base.pipe, sh, 0, maxsam, zeros);
|
||||
}
|
||||
if (maxview > 0) {
|
||||
ctx->base.pipe->set_sampler_views(ctx->base.pipe, sh, 0, maxview, 0, views);
|
||||
ctx->base.pipe->set_sampler_views(ctx->base.pipe, sh, 0, 0, maxview, views);
|
||||
}
|
||||
if (maxssbo > 0) {
|
||||
ctx->base.pipe->set_shader_buffers(ctx->base.pipe, sh, 0, maxssbo, ssbos, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue