Commit fa62d9d3 authored by Ivan Gyurdiev's avatar Ivan Gyurdiev Committed by Alexandre Julliard

wined3d: Parameter trace corrections.

parent 3d905baf
......@@ -388,6 +388,15 @@ void shader_dump_param(
TRACE("oD%lu", reg);
break;
case D3DSPR_TEXCRDOUT:
/* Vertex shaders >= 3.0 use general purpose output registers
* (D3DSPR_OUTPUT), which can include an address token */
if (D3DSHADER_VERSION_MAJOR(This->baseShader.hex_version) >= 3) {
TRACE("o");
shader_dump_arr_entry(iface, param, addr_token, input);
}
else
TRACE("oT%lu", reg);
break;
case D3DSPR_CONSTINT:
......@@ -403,13 +412,15 @@ void shader_dump_param(
break;
case D3DSPR_LOOP:
TRACE("aL");
shader_dump_arr_entry(iface, param, addr_token, input);
break;
case D3DSPR_SAMPLER:
TRACE("s%lu", reg);
break;
case D3DSPR_PREDICATE:
TRACE("p%lu", reg);
break;
default:
TRACE("unhandled_rtype(%lx)", regtype);
TRACE("unhandled_rtype(%#lx)", regtype);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment