From: Eric Anholt Date: Thu, 24 Sep 2009 17:40:32 +0000 (-0700) Subject: i965: Load NV program matrices when required. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9018a7dd175caa9a0fbf940b7e66aa9411d2d965;p=mesa.git i965: Load NV program matrices when required. --- diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c index 0b0e6931a06..4be6c77aa1e 100644 --- a/src/mesa/drivers/dri/i965/brw_curbe.c +++ b/src/mesa/drivers/dri/i965/brw_curbe.c @@ -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. */