radv/winsys: remove the radv_amdgpu_winsys_bo::ws indirection
This saves a 64-bit pointer from radv_amdgpu_winsys_bo and it's also common to pass a winsys pointer as the first parameter. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8859>
This commit is contained in:
@@ -873,7 +873,7 @@ radv_trap_handler_finish(struct radv_device *device)
|
||||
radv_shader_variant_destroy(device, device->trap_handler_shader);
|
||||
|
||||
if (unlikely(device->tma_bo))
|
||||
ws->buffer_destroy(device->tma_bo);
|
||||
ws->buffer_destroy(ws, device->tma_bo);
|
||||
}
|
||||
|
||||
static struct radv_shader_variant *
|
||||
|
Reference in New Issue
Block a user