http://bugs.winehq.org/show_bug.cgi?id=3945
------- Additional Comments From ivg2@cornell.edu 2006-27-04 14:18 ------- You're right, the register counting pass function does not properly handle NULL opcode which is a bug. The opcode is NULL, because it has not been documented as supported on Pixel Shaders v. 1.1.
{D3DSIO_TEXREG2GB,"texreg2gb","undefined", 2, pshader_texreg2gb, D3DPS_VERSION(1,2), D3DPS_VERSION(1,3)},