core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

atifragshader.h File Reference

#include "main/mtypes.h"

Data Structures

struct  ati_fs_opcode_st
struct  atifragshader_src_register
struct  atifragshader_dst_register
struct  atifs_instruction
struct  atifs_setupinst

Defines

#define MAX_NUM_INSTRUCTIONS_PER_PASS_ATI   8
#define MAX_NUM_PASSES_ATI   2
#define MAX_NUM_FRAGMENT_REGISTERS_ATI   6
#define ATI_FRAGMENT_SHADER_COLOR_OP   0
#define ATI_FRAGMENT_SHADER_ALPHA_OP   1
#define ATI_FRAGMENT_SHADER_PASS_OP   2
#define ATI_FRAGMENT_SHADER_SAMPLE_OP   3

Functions

struct ati_fragment_shader_mesa_new_ati_fragment_shader (GLcontext *ctx, GLuint id)
 Allocate and initialize a new ATI fragment shader object.
void _mesa_delete_ati_fragment_shader (GLcontext *ctx, struct ati_fragment_shader *s)
 Delete the given ati fragment shader.
GLuint GLAPIENTRY _mesa_GenFragmentShadersATI (GLuint range)
void GLAPIENTRY _mesa_BindFragmentShaderATI (GLuint id)
void GLAPIENTRY _mesa_DeleteFragmentShaderATI (GLuint id)
void GLAPIENTRY _mesa_BeginFragmentShaderATI (void)
void GLAPIENTRY _mesa_EndFragmentShaderATI (void)
void GLAPIENTRY _mesa_PassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle)
void GLAPIENTRY _mesa_SampleMapATI (GLuint dst, GLuint interp, GLenum swizzle)
void GLAPIENTRY _mesa_ColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod)
void GLAPIENTRY _mesa_ColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod)
void GLAPIENTRY _mesa_ColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod)
void GLAPIENTRY _mesa_AlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod)
void GLAPIENTRY _mesa_AlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod)
void GLAPIENTRY _mesa_AlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod)
void GLAPIENTRY _mesa_SetFragmentShaderConstantATI (GLuint dst, const GLfloat *value)

Variables

struct ati_fs_opcode_st ati_fs_opcodes []


Define Documentation

#define ATI_FRAGMENT_SHADER_ALPHA_OP   1

#define ATI_FRAGMENT_SHADER_COLOR_OP   0

#define ATI_FRAGMENT_SHADER_PASS_OP   2

#define ATI_FRAGMENT_SHADER_SAMPLE_OP   3

#define MAX_NUM_FRAGMENT_REGISTERS_ATI   6

#define MAX_NUM_INSTRUCTIONS_PER_PASS_ATI   8

#define MAX_NUM_PASSES_ATI   2


Function Documentation

void GLAPIENTRY _mesa_AlphaFragmentOp1ATI ( GLenum  op,
GLuint  dst,
GLuint  dstMod,
GLuint  arg1,
GLuint  arg1Rep,
GLuint  arg1Mod 
)

void GLAPIENTRY _mesa_AlphaFragmentOp2ATI ( GLenum  op,
GLuint  dst,
GLuint  dstMod,
GLuint  arg1,
GLuint  arg1Rep,
GLuint  arg1Mod,
GLuint  arg2,
GLuint  arg2Rep,
GLuint  arg2Mod 
)

void GLAPIENTRY _mesa_AlphaFragmentOp3ATI ( GLenum  op,
GLuint  dst,
GLuint  dstMod,
GLuint  arg1,
GLuint  arg1Rep,
GLuint  arg1Mod,
GLuint  arg2,
GLuint  arg2Rep,
GLuint  arg2Mod,
GLuint  arg3,
GLuint  arg3Rep,
GLuint  arg3Mod 
)

void GLAPIENTRY _mesa_BeginFragmentShaderATI ( void   ) 

void GLAPIENTRY _mesa_BindFragmentShaderATI ( GLuint  id  ) 

void GLAPIENTRY _mesa_ColorFragmentOp1ATI ( GLenum  op,
GLuint  dst,
GLuint  dstMask,
GLuint  dstMod,
GLuint  arg1,
GLuint  arg1Rep,
GLuint  arg1Mod 
)

void GLAPIENTRY _mesa_ColorFragmentOp2ATI ( GLenum  op,
GLuint  dst,
GLuint  dstMask,
GLuint  dstMod,
GLuint  arg1,
GLuint  arg1Rep,
GLuint  arg1Mod,
GLuint  arg2,
GLuint  arg2Rep,
GLuint  arg2Mod 
)

void GLAPIENTRY _mesa_ColorFragmentOp3ATI ( GLenum  op,
GLuint  dst,
GLuint  dstMask,
GLuint  dstMod,
GLuint  arg1,
GLuint  arg1Rep,
GLuint  arg1Mod,
GLuint  arg2,
GLuint  arg2Rep,
GLuint  arg2Mod,
GLuint  arg3,
GLuint  arg3Rep,
GLuint  arg3Mod 
)

void _mesa_delete_ati_fragment_shader ( GLcontext ctx,
struct ati_fragment_shader s 
)

Delete the given ati fragment shader.

void GLAPIENTRY _mesa_DeleteFragmentShaderATI ( GLuint  id  ) 

void GLAPIENTRY _mesa_EndFragmentShaderATI ( void   ) 

GLuint GLAPIENTRY _mesa_GenFragmentShadersATI ( GLuint  range  ) 

struct ati_fragment_shader* _mesa_new_ati_fragment_shader ( GLcontext ctx,
GLuint  id 
) [read]

Allocate and initialize a new ATI fragment shader object.

void GLAPIENTRY _mesa_PassTexCoordATI ( GLuint  dst,
GLuint  coord,
GLenum  swizzle 
)

void GLAPIENTRY _mesa_SampleMapATI ( GLuint  dst,
GLuint  interp,
GLenum  swizzle 
)

void GLAPIENTRY _mesa_SetFragmentShaderConstantATI ( GLuint  dst,
const GLfloat *  value 
)


Variable Documentation

struct ati_fs_opcode_st ati_fs_opcodes[]


Generated on Sun Sep 27 06:48:02 2009 for Mesa Vertex and Fragment Program code by  doxygen 1.5.4