projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601769a
)
i965: Load NV program matrices when required.
author
Eric Anholt
<eric@anholt.net>
Thu, 24 Sep 2009 17:40:32 +0000
(10:40 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 24 Sep 2009 20:34:06 +0000
(13:34 -0700)
src/mesa/drivers/dri/i965/brw_curbe.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_curbe.c
b/src/mesa/drivers/dri/i965/brw_curbe.c
index 0b0e6931a06ae996c7b32f573ef53f8a55071efa..4be6c77aa1e359d571c1653a30c693d61c7f2790 100644
(file)
--- 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.
*/