Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 429 of file shader_sm1.c.
Referenced by shader_sm1_read_opcode().
{ /* Shaders >= 2.0 may contain address tokens, but fortunately they * have a useful length mask - use it here. Shaders 1.0 contain no such tokens */ return (priv->shader_version.major >= 2) ? ((opcode_token & WINED3DSI_INSTLENGTH_MASK) >> WINED3DSI_INSTLENGTH_SHIFT) : opcode_info->param_count; }