Skip to content

Instantly share code, notes, and snippets.

@TG199
TG199 / servo-build-error.txt
Created May 2, 2025 22:41
Internal compiler error when building Servo on Linux
./mach build -d
Compiling mozjs_sys v0.128.9-1 (https://github.com/servo/mozjs#d1525dfa)
Compiling mozjs v0.14.1 (https://github.com/servo/mozjs#d1525dfa)
thread 'rustc' panicked at compiler/rustc_codegen_ssa/src/back/archive.rs:472:29:
range end index 18750830 out of range for slice of length 18222157
stack backtrace:
0: 0x78a1324dc07a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::he089f96442833f67
1: 0x78a132c14d26 - core::fmt::write::h2f210ed4c94745cb
2: 0x78a133b0f7d1 - std::io::Write::write_fmt::h7de08171ab770fb2
@TG199
TG199 / rendering_engine.md
Created March 27, 2025 20:01 — forked from Erfan-Ahmadi/rendering_engine.md
Rendering Engine Development

1. What does the Rendering Engine Need?

  • Rendering Engine
    • Support for Multiple Graphics APIs : OpenGL | Vulkan | DirectX12 | DirectX11 | Metal
    • Content Export Pipeline : Create Maya/Max Plugins to export meshes based on Renderers needs. (Assimp Commercial Licence -> Pay)
    • Texture Compression Libraries
    • Material System : Artists Configure shaders, textures, parameters to import in game
    • Game-side Manager of Models/Materials/Lights
    • Good Visibility System (Frustum/Occlusion) (VisibilityBuffers?)
    • Multi-Threded Submission System to reduce cost of submission to GPU
  • Lighting/Shadow Rendering System