mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 09:34:09 +01:00
Standardize some docs (#1660)
* Rewrite front/back doc summaries - Use line comments instead of block comments - Standardize language for each front/backend - Add reference link for each format - Minor punctuation changes * Add documentation for keywords module * Clarify contents of keywords module in summary * Refer to modules by their type name * Add basic summary for valid module * Adjust EarlyDepthTest and ConservativeDepth docs * Remove "in" from list * Adjust wording * Standardize format of docstrings * Adjust module links to be consistent with other links * Add summary for reserved keywords list * Remove extraneous doc spaces with `cargo fmt` * Correct spelling of whether and rewrite some lines * Fill out GLSL backend docs * Remove unnecessary link targets * Fill out DOT backend docs * Change module line comments to block comments * Remove unnecessary spaces * Fix mistake during rebasing
This commit is contained in:
1 parent
f63003cd36
commit
42bf3545c9
36 files changed
+393
-298
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
use std::fs;
|
||||
use std::{error::Error, fmt, io::Read, path::Path, str::FromStr};
|
||||
|
||||
/// Translate shaders to different formats
|
||||
/// Translate shaders to different formats.
|
||||
#[derive(argh::FromArgs, Debug, Clone)]
|
||||
struct Args {
|
||||
/// bitmask of the ValidationFlags to be used, use 0 to disable validation
|
||||
|
||||
Reference in new issue
Block a user