wgpu/naga/xtask/src
Imbris 6d7975eb3b [naga hlsl-out glsl-out] Work around backend loop/switch bugs.
Introduce a new module, `naga:🔙:continue_forward`, containing
shared code for rendering Naga `Continue` statements as backend
`break` statements and assignments to introduced `bool` locals.
See the module's documentation for details.

- [hlsl-out] Transform degenerate single body switches into `do-while`
  loops. Properly render `Continue` statements enclosed by
  `Switch` statements enclosed by `Loop` statements.

- [glsl-out] Transform degenerate single body switches into `do-while`
  loops.

Improve `naga xtask validate spv` error message.

Fixes #4485.
Fixes #4514.
2024-07-23 18:12:19 -07:00
..
cli.rs [naga xtask] Add and use ValidateSubcommand::all. 2023-12-27 13:07:09 -08:00
fs.rs Move naga to subfolder 2023-10-25 14:25:04 -04:00
glob.rs [naga xtask] Collect validation jobs in a Vec before running them. 2023-12-27 13:07:09 -08:00
jobserver.rs [naga xtask] Run validation jobs in parallel, using jobserver. 2023-12-27 13:07:09 -08:00
main.rs [naga xtask] Run validation jobs in parallel, using jobserver. 2023-12-27 13:07:09 -08:00
path.rs Move naga to subfolder 2023-10-25 14:25:04 -04:00
process.rs [naga xtask] Produce output only when an error occurs. 2023-12-27 13:07:09 -08:00
result.rs Move naga to subfolder 2023-10-25 14:25:04 -04:00
validate.rs [naga hlsl-out glsl-out] Work around backend loop/switch bugs. 2024-07-23 18:12:19 -07:00