diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 685154271e6..152e4078a69 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -524,7 +524,7 @@ class vec4_generator public: vec4_generator(struct brw_context *brw, struct brw_vs_compile *c, - struct gl_shader_program *prog, + struct gl_shader_program *shader_prog, void *mem_ctx); ~vec4_generator(); @@ -585,7 +585,7 @@ private: struct brw_compile *p; struct brw_vs_compile *c; - struct gl_shader_program *prog; + struct gl_shader_program *shader_prog; struct gl_shader *shader; const struct gl_vertex_program *vp; diff --git a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp index 963901c029a..9f985b0b8ad 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp @@ -134,14 +134,14 @@ vec4_instruction::get_src(int i) vec4_generator::vec4_generator(struct brw_context *brw, struct brw_vs_compile *c, - struct gl_shader_program *prog, + struct gl_shader_program *shader_prog, void *mem_ctx) - : brw(brw), c(c), prog(prog), mem_ctx(mem_ctx) + : brw(brw), c(c), shader_prog(shader_prog), mem_ctx(mem_ctx) { intel = &brw->intel; vp = &c->vp->program; - shader = prog ? prog->_LinkedShaders[MESA_SHADER_VERTEX] : NULL; + shader = shader_prog ? shader_prog->_LinkedShaders[MESA_SHADER_VERTEX] : NULL; p = rzalloc(mem_ctx, struct brw_compile); brw_init_compile(brw, p, mem_ctx); @@ -708,7 +708,7 @@ vec4_generator::generate_code(exec_list *instructions) if (unlikely(INTEL_DEBUG & DEBUG_VS)) { if (shader) { - printf("Native code for vertex shader %d:\n", prog->Name); + printf("Native code for vertex shader %d:\n", shader_prog->Name); } else { printf("Native code for vertex program %d:\n", c->vp->program.Base.Id); } |