wined3d: Record register usage only once.

This commit is contained in:
Henri Verbeet 2009-05-08 18:10:00 +02:00 committed by Alexandre Julliard
parent 68ccd08952
commit d2409581e0
1 changed files with 0 additions and 2 deletions

View File

@ -619,8 +619,6 @@ HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct wined3
struct wined3d_shader_src_param src_param, src_rel_addr;
fe->shader_read_src_param(fe_data, &pToken, &src_param, &src_rel_addr);
shader_record_register_usage(This, reg_maps, src_param.reg.type,
src_param.reg.idx, !!src_param.reg.rel_addr, pshader);
switch(get_instr_regcount(ins.handler_idx, i))
{
case 4: