[PATCH] wined3d: Display state in state_undefined

Stefan Dösinger stefan at codeweavers.com
Tue Feb 16 17:28:42 CST 2010

On Tuesday 16 February 2010 22:18:50 Henri Verbeet wrote:
> Tweening is indeed unimplemented. We should probably catch
> unimplemented render states in IWineD3DDeviceImpl_SetRenderState()
> though.
No, the pipeline part that would implement this(vertex) should set a state 
handler that prints a WARN for each defined but unimplemented stage. 
SetRenderState is not a good place for this, for the following reasons:

* Some pipelines implement some states while others do not
* Some pipelines implement states depending on some GL extensions(e.g. 
* The pipeline interface already provides an indirection layer that allows us 
to catch unsupported state sets without a performance penalty.

Originally I intended to catch unsupported states with representative 0, but 
that had other issues, so we'll have to explicitly mark unsupported states

More information about the wine-devel mailing list