Overview of the vISA RA Validation Tool
masterThe vISA RA (Register Assignment) Validation Tool is a GTReplay tool designed to detect incorrect register assignments in shaders. It works by monitoring the byte values of virtual variables.
How it works:
- It stores the byte values of every virtual variable after each Definition (Def) by inspecting the physical register state.
- At every Use, it performs a byte-by-byte comparison between the stored values and the current physical register state.
- If a mismatch is found, it reports an error, indicating that a Def to one virtual variable clobbered the values of another due to overlapping live ranges.