mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
66cebe0a4c
* Moving away from 'registers' explicitly being stored, we now have a single variable array where the shader representation is responsible for allocating it. * In DXBC we calculate the number of each type of mutable variable (temps, indexable temps, and outputs) and assign slots linearly. * We also update some naming - high-level variables aren't "locals" since they could be globals too, and debugging variables aren't "registers" but simply the variables we use for debugging which may be more complex than float4 for other APIs. * The local variable matching by string name is unnecessary for this change but will be more useful in future after further refactors where there isn't a single list of variables to index into at the upper level.