wined3d: Add D3DVS_RASTOUT_OFFSETS to the WINED3D namespace.
This commit is contained in:
parent
997e670e12
commit
93b3106be2
|
@ -942,13 +942,13 @@ HRESULT WINAPI IWineD3DVertexShaderImpl_ExecuteSW(IWineD3DVertexShader* iface, W
|
|||
break;
|
||||
case WINED3DSPR_RASTOUT:
|
||||
switch (reg) {
|
||||
case D3DSRO_POSITION:
|
||||
case WINED3DSRO_POSITION:
|
||||
p[i] = &output->oPos;
|
||||
break;
|
||||
case D3DSRO_FOG:
|
||||
case WINED3DSRO_FOG:
|
||||
p[i] = &output->oFog;
|
||||
break;
|
||||
case D3DSRO_POINT_SIZE:
|
||||
case WINED3DSRO_POINT_SIZE:
|
||||
p[i] = &output->oPts;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -80,6 +80,15 @@ typedef enum _WINED3DSHADER_PARAM_REGISTER_TYPE {
|
|||
WINED3DSPR_FORCE_DWORD = 0x7FFFFFFF
|
||||
} WINED3DSHADER_PARAM_REGISTER_TYPE;
|
||||
|
||||
/* RASTOUT register offsets */
|
||||
typedef enum _WINED3DVS_RASTOUT_OFFSETS {
|
||||
WINED3DSRO_POSITION = 0,
|
||||
WINED3DSRO_FOG = 1,
|
||||
WINED3DSRO_POINT_SIZE = 2,
|
||||
|
||||
WINED3DSRO_FORCE_DWORD = 0x7FFFFFFF
|
||||
} WINED3DVS_RASTOUT_OFFSETS;
|
||||
|
||||
/** Source register modifiers **/
|
||||
#define WINED3DVS_SWIZZLE_SHIFT 16
|
||||
#define WINED3DVS_SWIZZLE_MASK (0xFF << WINED3DVS_SWIZZLE_SHIFT)
|
||||
|
|
Loading…
Reference in New Issue