tighten visibility and clear the remaining mechanical lint noise
This commit is contained in:
+2
-2
@@ -7,10 +7,10 @@ fn main() {
|
||||
}
|
||||
|
||||
/// Compile the HDR tonemap HLSL to bytecode at build time so we can embed it
|
||||
/// via include_bytes! and avoid a runtime dependency on d3dcompiler_47.dll.
|
||||
/// via `include_bytes`! and avoid a runtime dependency on `d3dcompiler_47.dll`.
|
||||
/// Looks for fxc.exe in the installed Windows SDK. If fxc is unavailable the
|
||||
/// .cso files are emitted empty and capture.rs falls back to runtime
|
||||
/// D3DCompile (so a clean checkout without the SDK still builds).
|
||||
/// `D3DCompile` (so a clean checkout without the SDK still builds).
|
||||
fn compile_shaders() {
|
||||
let out_dir = PathBuf::from(std::env::var("OUT_DIR").expect("OUT_DIR"));
|
||||
let shader_dir = PathBuf::from("shaders");
|
||||
|
||||
Reference in New Issue
Block a user