/*
* Direct3D wine internal header: D3D equivalent types
*
* Copyright 2002-2003 Jason Edmeades
* Copyright 2002-2003 Raphael Junqueira
* Copyright 2005 Oliver Stieber
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __WINE_WINED3D_TYPES_INTERNAL_H
#define __WINE_WINED3D_TYPES_INTERNAL_H
/* WineD3D pixel format flags */
/** DCL usage masks **/
#define WINED3DSP_DCL_USAGE_SHIFT 0
/** DCL sampler texture type **/
typedef enum _WINED3DSAMPLER_TEXTURE_TYPE {
/** Register number mask **/
/** Register type masks **/
/** Register types **/
typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE {
WINED3DSPR_TEMP = 0,
/* RASTOUT register offsets */
typedef enum _WINED3DVS_RASTOUT_OFFSETS {
WINED3DSRO_POSITION = 0,
/** Source register modifiers **/
#define WINED3DSP_NOSWIZZLE \
typedef enum _WINED3DSHADER_PARAM_SRCMOD_TYPE {
/** Destination register modifiers **/
typedef enum _WINED3DSHADER_PARAM_DSTMOD_TYPE {
/** Register addressing modes **/
typedef enum _WINED3DSHADER_ADDRESSMODE_TYPE {
/** Opcode types */
typedef enum _WINED3DSHADER_INSTRUCTION_OPCODE_TYPE {
WINED3DSIO_NOP = 0,
/** opcode-related masks **/
((((commentSize) << WINED3DSI_COMMENTSIZE_SHIFT) & WINED3DSI_COMMENTSIZE_MASK) | WINED3DSIO_COMMENT)
/* Undocumented opcode control to identify projective texture lookups in ps 2.0 and later */
/** Shader version tokens, and shader end tokens **/
/* Multithreaded flag. Removed from the public header to signal that IWineD3D::CreateDevice ignores it */
#endif