// Popular Articles

#shader-debug
#812025-04-06

Three.js WebGPU vừa có error reporting tử tế: line, column, caret WGSL và hook onError

PR #33418 của Renaud Rohlinger bổ sung hai thứ mà WebGPURenderer thiếu bấy lâu nay: shader failure kèm line/column/source excerpt trong WGSL, và hook renderer.onError để app bắt uncaptured GPU error thay vì chỉ thấy trong devtools. Target milestone r185.

threejswebgpuwgsl
6 phút đọc