Józef Kucia : wined3d: Use single function for STATE_CONSTANT_BUFFER.