Introduce a shader tracer to allow inspection of input/output values for each processed instruction.

This commit is contained in:
Tony Wasserka 2015-07-12 01:57:59 +02:00
parent 2e3601f415
commit 33ba604fd9
10 changed files with 601 additions and 97 deletions

View file

@ -215,7 +215,7 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) {
unsigned int vertex_cache_pos = 0;
vertex_cache_ids.fill(-1);
Shader::UnitState shader_unit;
Shader::UnitState<false> shader_unit;
Shader::Setup(shader_unit);
for (unsigned int index = 0; index < regs.num_vertices; ++index)