Cache index constants in SPV-out #651
Labels
area: back-end
Outputs of shader conversion
good first issue
Good for newcomers
kind: refactor
Making existing function faster or nicer
lang: SPIR-V
Binary SPIR-V input and output
For any
AccessIndex
expression, we need a constant ID. It would be great to re-use these instead of generating new IDs on every access. Seecreate_constant
in "src/back/spv/writer.rs"The text was updated successfully, but these errors were encountered: