diff options
author | Brian Paul <[email protected]> | 2006-07-20 16:49:57 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-07-20 16:49:57 +0000 |
commit | 122629f27925a9dc50029bebc5079f87f416a7e1 (patch) | |
tree | f8800f9e5f4fff6bbd6c6496d5c74f8685b63372 /src/mesa/shader/nvfragparse.c | |
parent | 459db7bd72131e63ed7687956819c4d0520972dd (diff) |
Some structure renaming. Prefix vertex/fragment-related structs with
"gl_" to match other structs.
Diffstat (limited to 'src/mesa/shader/nvfragparse.c')
-rw-r--r-- | src/mesa/shader/nvfragparse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/shader/nvfragparse.c b/src/mesa/shader/nvfragparse.c index 14de7cdd52b..364c7061ee1 100644 --- a/src/mesa/shader/nvfragparse.c +++ b/src/mesa/shader/nvfragparse.c @@ -146,9 +146,9 @@ struct parse_state { const GLubyte *start; /* start of program string */ const GLubyte *pos; /* current position */ const GLubyte *curLine; - struct fragment_program *program; /* current program */ + struct gl_fragment_program *program; /* current program */ - struct program_parameter_list *parameters; + struct gl_program_parameter_list *parameters; GLuint numInst; /* number of instructions parsed */ GLuint inputsRead; /* bitmask of input registers used */ @@ -1452,7 +1452,7 @@ Parse_InstructionSequence(struct parse_state *parseState, void _mesa_parse_nv_fragment_program(GLcontext *ctx, GLenum dstTarget, const GLubyte *str, GLsizei len, - struct fragment_program *program) + struct gl_fragment_program *program) { struct parse_state parseState; struct prog_instruction instBuffer[MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS]; @@ -1569,7 +1569,7 @@ _mesa_parse_nv_fragment_program(GLcontext *ctx, GLenum dstTarget, static void -PrintSrcReg(const struct fragment_program *program, +PrintSrcReg(const struct gl_fragment_program *program, const struct prog_src_register *src) { static const char comps[5] = "xyzw"; @@ -1731,7 +1731,7 @@ PrintDstReg(const struct prog_dst_register *dst) * Print (unparse) the given vertex program. Just for debugging. */ void -_mesa_print_nv_fragment_program(const struct fragment_program *program) +_mesa_print_nv_fragment_program(const struct gl_fragment_program *program) { const struct prog_instruction *inst; |