c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * state block implementation
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * Copyright 2002 Raphael Junqueira
d7b41ca400354f0823f3c776bf7b2b43d2182821anish * Copyright 2004 Jason Edmeades
d7b41ca400354f0823f3c776bf7b2b43d2182821anish * Copyright 2005 Oliver Stieber
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * Copyright 2007 Stefan Dösinger for CodeWeavers
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * Copyright 2009 Henri Verbeet for CodeWeavers
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * This library is free software; you can redistribute it and/or
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * modify it under the terms of the GNU Lesser General Public
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * License as published by the Free Software Foundation; either
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * version 2.1 of the License, or (at your option) any later version.
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * This library is distributed in the hope that it will be useful,
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * but WITHOUT ANY WARRANTY; without even the implied warranty of
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * Lesser General Public License for more details.
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * You should have received a copy of the GNU Lesser General Public
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * License along with this library; if not, write to the Free Software
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * a choice of LGPL license versions is made available with the language indicating
d7b41ca400354f0823f3c776bf7b2b43d2182821anish * that LGPLv2 or any later version may be used, or where a choice of which version
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish * of the LGPL is applied is otherwise unspecified.
c69906bdd99a073749de104d2fa9cd6bf889f3c5anish/* Allocates the correct amount of space for pixel and vertex shader constants,
ae115bc77f6fcde83175c75b4206dc2e50747966mrj * along with their set/changed flags on the given stateblock object
c69906bdd99a073749de104d2fa9cd6bf889f3c5anishstatic HRESULT stateblock_allocate_shader_constants(IWineD3DStateBlockImpl *object)
return WINED3D_OK;
fail:
return E_OUTOFMEMORY;