mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
radeonsi: remove no-op unref in si_set_constant_buffer
buffer is already NULL here Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11340>
This commit is contained in:
parent
a29ff4c67e
commit
42801731b8
1 changed files with 0 additions and 1 deletions
|
|
@ -1148,7 +1148,6 @@ static void si_set_constant_buffer(struct si_context *sctx, struct si_buffer_res
|
|||
}
|
||||
} else {
|
||||
if (take_ownership) {
|
||||
pipe_resource_reference(&buffer, NULL);
|
||||
buffer = input->buffer;
|
||||
} else {
|
||||
pipe_resource_reference(&buffer, input->buffer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue