Browse Source

i965: Load NV program matrices when required.

tags/mesa_7_6_rc1
Eric Anholt 16 years ago
parent
commit
9018a7dd17
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/mesa/drivers/dri/i965/brw_curbe.c

+ 3
- 0
src/mesa/drivers/dri/i965/brw_curbe.c View File

@@ -248,6 +248,9 @@ static void prepare_constant_buffer(struct brw_context *brw)
GLuint offset = brw->curbe.vs_start * 16;
GLuint nr = brw->vs.prog_data->nr_params / 4;

if (brw->vertex_program->IsNVProgram)
_mesa_load_tracked_matrices(ctx);

/* Updates the ParamaterValues[i] pointers for all parameters of the
* basic type of PROGRAM_STATE_VAR.
*/

Loading…
Cancel
Save