diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-04-21 18:09:14 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-04-21 18:09:14 +0000 |
commit | 05a6f2fd484bab59c6e6a381f58808adc26619f1 (patch) | |
tree | 6e946ed3619b65fbf5d9f77d5e214dcf40eedbfe /src/mesa/shader/nvvertexec.h | |
parent | 6164ae2b5a7ad00181aa2a80634e80e58c8c3fb6 (diff) |
Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive. Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
Diffstat (limited to 'src/mesa/shader/nvvertexec.h')
-rw-r--r-- | src/mesa/shader/nvvertexec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/shader/nvvertexec.h b/src/mesa/shader/nvvertexec.h index 0e4b60ec9e..e6e5a3ad7a 100644 --- a/src/mesa/shader/nvvertexec.h +++ b/src/mesa/shader/nvvertexec.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 5.1 + * Version: 6.1 * - * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -29,10 +29,10 @@ #define NVVERTEXEC_H extern void -_mesa_init_vp_registers(GLcontext *ctx); +_mesa_init_vp_per_vertex_registers(GLcontext *ctx); extern void -_mesa_init_tracked_matrices(GLcontext *ctx); +_mesa_init_vp_per_primitive_registers(GLcontext *ctx); extern void _mesa_exec_vertex_program(GLcontext *ctx, const struct vertex_program *program); |