diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 20:44:23 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 20:44:23 +0100 |
| commit | c6b33c5e9b2325ca472dab8c4b64d1dab7b2885a (patch) | |
| tree | bdd7ad7a253562a5860fb9db20a9179931401672 /tools/seq_compiler.cc | |
| parent | 4a55151d1a30f03ce1aa67e4c952ff6759c480c9 (diff) | |
fix(gpu): resolve multiple WebGPU validation and runtime errors
- Fixed 'Invalid sample count 0' and 'Invalid anisotropic clamp: 0' by ensuring explicit pipeline and sampler states.
- Resolved WGSL parsing errors by replacing swizzle assignments in compute shaders.
- Fixed 'Texture destroyed' error in render_frame by reordering command submission and resource presentation/release.
- Added WGPU_DEPTH_SLICE_UNDEFINED for Windows compatibility and ensured consistent resolveTarget initialization.
- Cleaned up PassthroughEffect bind group layout mismatch and redundant string helper definitions.
- Verified all tests pass and applied consistent formatting.
Diffstat (limited to 'tools/seq_compiler.cc')
| -rw-r--r-- | tools/seq_compiler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/seq_compiler.cc b/tools/seq_compiler.cc index afc4a62..4846244 100644 --- a/tools/seq_compiler.cc +++ b/tools/seq_compiler.cc @@ -33,7 +33,8 @@ std::string trim(const std::string &str) { int main(int argc, char *argv[]) { if (argc != 3) { std::cerr << "Usage: " << argv[0] << " <input.seq> <output.cc>\n"; - std::cerr << "Example: " << argv[0] << " assets/demo.seq src/generated/timeline.cc\n"; + std::cerr << "Example: " << argv[0] + << " assets/demo.seq src/generated/timeline.cc\n"; return 1; } |
