Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

nv20_vtxprog.c File Reference

#include <stdio.h>
#include <string.h>
#include "shader_common.h"
#include "nv20_shader.h"

Include dependency graph for nv20_vtxprog.c:


Functions

ShaderRegSwz NV20VPTXSwizzle (int hwswz)
static int NV20VPHasMergedInst (ShaderFunc *shader)
static int NV20VPIsLastInst (ShaderFunc *shader)
static int NV20VPGetOffsetNext (ShaderFunc *shader)
static struct _op_xlatNV20VPGetOPTXRec (ShaderFunc *shader, int merged)
static int NV20VPGetOpcodeSlot (ShaderFunc *shader, int merged)
static ShaderOpcode NV20VPGetOpcode (ShaderFunc *shader, int merged)
static ShaderOpcode NV20VPGetOpcodeHW (ShaderFunc *shader, int slot)
static ShaderRegFile NV20VPGetDestFile (ShaderFunc *shader, int merged)
static unsigned int NV20VPGetDestID (ShaderFunc *shader, int merged)
static unsigned int NV20VPGetDestMask (ShaderFunc *shader, int merged)
static unsigned int NV20VPGetSourceHW (ShaderFunc *shader, int merged, int pos)
static ShaderRegFile NV20VPGetSourceFile (ShaderFunc *shader, int merged, int pos)
static int NV20VPGetSourceID (ShaderFunc *shader, int merged, int pos)
static int NV20VPGetSourceNegate (ShaderFunc *shader, int merged, int pos)
static int NV20VPGetSourceAbs (ShaderFunc *shader, int merged, int pos)
static ShaderRegSwz NV20VPGetSourceSwizzle (ShaderFunc *shader, int merged, int pos)
static int NV20VPGetSourceIndexed (ShaderFunc *shader, int merged, int pos)
static int NV20VPGetAddressRegID (ShaderFunc *shader)
static ShaderSwzComp NV20VPGetAddressRegSwizzle (ShaderFunc *shader)
void NV20VPInitShaderFuncs (ShaderFunc *shader)

Variables

unsigned int NVVP_TX_VOP_COUNT = 16
unsigned int NVVP_TX_SOP_COUNT = 16
_op_xlat NVVP_TX_VOP [32]
_op_xlat NVVP_TX_SOP [32]
ShaderSwzComp NV20VP_TX_SWIZZLE [4] = { SSC_X, SSC_Y, SSC_Z, SSC_W }

Function Documentation

static int NV20VPGetAddressRegID ShaderFunc shader  )  [static]
 

static ShaderSwzComp NV20VPGetAddressRegSwizzle ShaderFunc shader  )  [static]
 

static ShaderRegFile NV20VPGetDestFile ShaderFunc shader,
int  merged
[static]
 

static unsigned int NV20VPGetDestID ShaderFunc shader,
int  merged
[static]
 

static unsigned int NV20VPGetDestMask ShaderFunc shader,
int  merged
[static]
 

static int NV20VPGetOffsetNext ShaderFunc shader  )  [static]
 

static ShaderOpcode NV20VPGetOpcode ShaderFunc shader,
int  merged
[static]
 

static ShaderOpcode NV20VPGetOpcodeHW ShaderFunc shader,
int  slot
[static]
 

static int NV20VPGetOpcodeSlot ShaderFunc shader,
int  merged
[static]
 

static struct _op_xlat* NV20VPGetOPTXRec ShaderFunc shader,
int  merged
[static]
 

static int NV20VPGetSourceAbs ShaderFunc shader,
int  merged,
int  pos
[static]
 

static ShaderRegFile NV20VPGetSourceFile ShaderFunc shader,
int  merged,
int  pos
[static]
 

static unsigned int NV20VPGetSourceHW ShaderFunc shader,
int  merged,
int  pos
[static]
 

static int NV20VPGetSourceID ShaderFunc shader,
int  merged,
int  pos
[static]
 

static int NV20VPGetSourceIndexed ShaderFunc shader,
int  merged,
int  pos
[static]
 

static int NV20VPGetSourceNegate ShaderFunc shader,
int  merged,
int  pos
[static]
 

static ShaderRegSwz NV20VPGetSourceSwizzle ShaderFunc shader,
int  merged,
int  pos
[static]
 

static int NV20VPHasMergedInst ShaderFunc shader  )  [static]
 

void NV20VPInitShaderFuncs ShaderFunc shader  ) 
 

static int NV20VPIsLastInst ShaderFunc shader  )  [static]
 

ShaderRegSwz NV20VPTXSwizzle int  hwswz  ) 
 


Variable Documentation

ShaderSwzComp NV20VP_TX_SWIZZLE[4] = { SSC_X, SSC_Y, SSC_Z, SSC_W }
 

struct _op_xlat NVVP_TX_SOP[32]
 

unsigned int NVVP_TX_SOP_COUNT = 16
 

struct _op_xlat NVVP_TX_VOP[32]
 

unsigned int NVVP_TX_VOP_COUNT = 16
 


Generated on Sat Aug 19 20:40:53 2006 for Renouveau by  doxygen 1.4.4