Merge pull request #51947 from AnilBK/redundant-assignments
[cppcheck] Remove some redundant assignments.
This commit is contained in:
commit
88db541705
5 changed files with 3 additions and 9 deletions
|
|
@ -7957,13 +7957,13 @@ void RenderingDeviceVulkan::compute_list_bind_uniform_set(ComputeListID p_list,
|
|||
|
||||
textures_to_storage[i]->used_in_compute = false;
|
||||
textures_to_storage[i]->used_in_raster = false;
|
||||
textures_to_storage[i]->used_in_compute = false;
|
||||
textures_to_storage[i]->used_in_transfer = false;
|
||||
|
||||
} else {
|
||||
src_access_flags = 0;
|
||||
textures_to_storage[i]->used_in_compute = false;
|
||||
textures_to_storage[i]->used_in_raster = false;
|
||||
textures_to_storage[i]->used_in_compute = false;
|
||||
textures_to_storage[i]->used_in_transfer = false;
|
||||
textures_to_storage[i]->used_in_frame = frames_drawn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue