update some type names
This commit is contained in:
parent
c5f9aa7750
commit
59651a076d
|
@ -176,7 +176,7 @@ _mesa_init_vp_per_primitive_registers(GLcontext *ctx)
|
|||
* For debugging. Dump the current vertex program machine registers.
|
||||
*/
|
||||
void
|
||||
_mesa_dump_vp_state( const struct vertex_program_state *state )
|
||||
_mesa_dump_vp_state( const struct gl_vertex_program_state *state )
|
||||
{
|
||||
int i;
|
||||
_mesa_printf("VertexIn:\n");
|
||||
|
@ -228,7 +228,7 @@ _mesa_dump_vp_state( const struct vertex_program_state *state )
|
|||
*/
|
||||
static INLINE const GLfloat *
|
||||
get_register_pointer( const struct vp_src_register *source,
|
||||
const struct vertex_program_state *state )
|
||||
const struct gl_vertex_program_state *state )
|
||||
{
|
||||
if (source->RelAddr) {
|
||||
const GLint reg = source->Index + state->AddressReg[0];
|
||||
|
@ -274,7 +274,7 @@ get_register_pointer( const struct vp_src_register *source,
|
|||
*/
|
||||
static INLINE void
|
||||
fetch_vector4( const struct vp_src_register *source,
|
||||
const struct vertex_program_state *state,
|
||||
const struct gl_vertex_program_state *state,
|
||||
GLfloat result[4] )
|
||||
{
|
||||
const GLfloat *src = get_register_pointer(source, state);
|
||||
|
@ -300,7 +300,7 @@ fetch_vector4( const struct vp_src_register *source,
|
|||
*/
|
||||
static INLINE void
|
||||
fetch_vector1( const struct vp_src_register *source,
|
||||
const struct vertex_program_state *state,
|
||||
const struct gl_vertex_program_state *state,
|
||||
GLfloat result[4] )
|
||||
{
|
||||
const GLfloat *src = get_register_pointer(source, state);
|
||||
|
@ -319,7 +319,7 @@ fetch_vector1( const struct vp_src_register *source,
|
|||
*/
|
||||
static void
|
||||
store_vector4( const struct vp_dst_register *dest,
|
||||
struct vertex_program_state *state,
|
||||
struct gl_vertex_program_state *state,
|
||||
const GLfloat value[4] )
|
||||
{
|
||||
GLfloat *dst;
|
||||
|
@ -377,7 +377,7 @@ store_vector4( const struct vp_dst_register *dest,
|
|||
void
|
||||
_mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program)
|
||||
{
|
||||
struct vertex_program_state *state = &ctx->VertexProgram;
|
||||
struct gl_vertex_program_state *state = &ctx->VertexProgram;
|
||||
const struct vp_instruction *inst;
|
||||
|
||||
ctx->_CurrentProgram = GL_VERTEX_PROGRAM_ARB; /* or NV, doesn't matter */
|
||||
|
|
|
@ -38,6 +38,6 @@ extern void
|
|||
_mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program);
|
||||
|
||||
extern void
|
||||
_mesa_dump_vp_state( const struct vertex_program_state *state );
|
||||
_mesa_dump_vp_state( const struct gl_vertex_program_state *state );
|
||||
|
||||
#endif
|
||||
|
|
|
@ -78,11 +78,13 @@ _mesa_LinkProgramARB (GLhandleARB programObj)
|
|||
{
|
||||
}
|
||||
|
||||
#if 0
|
||||
GLboolean
|
||||
_mesa_use_program_object( GLcontext *ctx, struct gl_program_object *pobj )
|
||||
{
|
||||
return GL_FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_UseProgramObjectARB (GLhandleARB programObj)
|
||||
|
|
Loading…
Reference in New Issue