From db9d076ffa1053930ee280cbfaa771da030c682a Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 12 Jul 2021 12:42:43 -0700 Subject: [PATCH] Docs: `get_timestamp_period` is now a method on `Queue`, not `Device`. --- wgpu/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index bfdfaaf125..67979bcbd1 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -2245,7 +2245,7 @@ impl CommandEncoder { /// Issue a timestamp command at this point in the queue. /// The timestamp will be written to the specified query set, at the specified index. /// - /// Must be multiplied by [`Device::get_timestamp_period`] to get + /// Must be multiplied by [`Queue::get_timestamp_period`] to get /// the value in nanoseconds. Absolute values have no meaning, /// but timestamps can be subtracted to get the time it takes /// for a string of operations to complete. @@ -2651,7 +2651,7 @@ impl<'a> RenderPass<'a> { /// Issue a timestamp command at this point in the queue. The /// timestamp will be written to the specified query set, at the specified index. /// - /// Must be multiplied by [`Device::get_timestamp_period`] to get + /// Must be multiplied by [`Queue::get_timestamp_period`] to get /// the value in nanoseconds. Absolute values have no meaning, /// but timestamps can be subtracted to get the time it takes /// for a string of operations to complete. @@ -2757,7 +2757,7 @@ impl<'a> ComputePass<'a> { impl<'a> ComputePass<'a> { /// Issue a timestamp command at this point in the queue. The timestamp will be written to the specified query set, at the specified index. /// - /// Must be multiplied by [`Device::get_timestamp_period`] to get + /// Must be multiplied by [`Queue::get_timestamp_period`] to get /// the value in nanoseconds. Absolute values have no meaning, /// but timestamps can be subtracted to get the time it takes /// for a string of operations to complete.