mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01:00
Markdown fixes.
This commit is contained in:
1 parent
490f1f4153
commit
022f041292
3 files changed
+3
-3
No files matched your search
@@ -123,7 +123,7 @@ macro_rules! link_to_wgpu_docs {
|
||||
macro_rules! link_to_wgpu_item {
|
||||
($kind:ident $name:ident) => {
|
||||
$crate::link_to_wgpu_docs!(
|
||||
[concat!("`", stringify!($name), "`")]: concat!("$kind.", stringify!($name), ".html")
|
||||
[concat!("`", stringify!($name), "`")]: concat!(stringify!($kind), ".", stringify!($name), ".html")
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ impl Queue {
|
||||
///
|
||||
/// Returns zero if timestamp queries are unsupported.
|
||||
///
|
||||
/// Timestamp values are represented in nanosecond values on WebGPU, see `<https://gpuweb.github.io/gpuweb/#timestamp>`
|
||||
/// Timestamp values are represented in nanosecond values on WebGPU, see <https://gpuweb.github.io/gpuweb/#timestamp>
|
||||
/// Therefore, this is always 1.0 on the web, but on wgpu-core a manual conversion is required.
|
||||
pub fn get_timestamp_period(&self) -> f32 {
|
||||
self.inner.get_timestamp_period()
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@
|
||||
//! complicated cases.
|
||||
//!
|
||||
//! - **`wgpu_core`** --- Enabled when there is any non-webgpu backend enabled on the platform.
|
||||
//! - **`naga`** --- Enabled when target `glsl` or `spirv`` input is enabled, or when `wgpu_core` is enabled.
|
||||
//! - **`naga`** --- Enabled when target `glsl` or `spirv` input is enabled, or when `wgpu_core` is enabled.
|
||||
//!
|
||||
|
||||
#![no_std]
|
||||
|
||||
Reference in new issue
Block a user