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:
committed by
Marge Bot
parent
94f4fc12ea
commit
b0624f4034
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user