forked from 1b-agent/opencadstudio-upstream
fix(renderer): add automatic compat fallback
Use packed wire and texture-backed hatches on low-limit adapters. Refs #475
This commit is contained in:
1 parent
2ff37b088b
commit
91326e9a0c
5 files changed
+317
-256
No files matched your search
@@ -50,6 +50,11 @@ pub struct Cli {
|
||||
#[arg(long, visible_alias = "no-gpu")]
|
||||
pub safe_mode: bool,
|
||||
|
||||
/// Force the packed renderer path that avoids shader storage buffers.
|
||||
/// Normally selected automatically for adapters with insufficient limits.
|
||||
#[arg(long)]
|
||||
pub compat_renderer: bool,
|
||||
|
||||
/// Run the headless JSON automation server (stdin/stdout, or --port).
|
||||
#[arg(long)]
|
||||
pub serve: bool,
|
||||
@@ -90,6 +95,8 @@ pub struct GuiConfig {
|
||||
pub new: bool,
|
||||
/// Saving disabled for this session.
|
||||
pub read_only: bool,
|
||||
/// Force storage-buffer-free wire and hatch pipelines.
|
||||
pub compat_renderer: bool,
|
||||
/// Command lines to run once the editor is up.
|
||||
pub script_lines: Vec<String>,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user