zink: check for layout updates when unbinding samplerviews
not sure if it's a bug, but it should be consistent with shader image unbinding, so here it is Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21739>
This commit is contained in:
committed by
Marge Bot
parent
a4b1ae1f03
commit
d133f95084
@@ -1928,6 +1928,8 @@ unbind_samplerview(struct zink_context *ctx, gl_shader_stage stage, unsigned slo
|
||||
} else {
|
||||
unbind_descriptor_stage(res, stage);
|
||||
unbind_descriptor_reads(res, stage == MESA_SHADER_COMPUTE);
|
||||
if (!res->sampler_bind_count[stage == MESA_SHADER_COMPUTE])
|
||||
check_for_layout_update(ctx, res, stage == MESA_SHADER_COMPUTE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user