wined3d: shader_trace_init() shouldn't have side effects.

This moves setting baseShader.hex_version and baseShader.functionLength to
shader_get_registers_used(), where it's more appropriate.
4 files changed