summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcin Slusarz <[email protected]>2012-05-29 20:13:55 +0200
committerMarcin Slusarz <[email protected]>2012-05-29 20:24:45 +0200
commit89241336276deeef525b35bf5dc7db345a18a3e1 (patch)
treef62da0e7ea3880a64127060daedfbcbd83e6575c /src
parent83169900fb96f1a51d8292e66c203c64a82e204d (diff)
nv50: hook up forgotten short constant buffer upload method
Fixes crash in xorg st.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index 1e6bbaf8eb8..952dc03b1a3 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -140,6 +140,7 @@ nv50_create(struct pipe_screen *pscreen, void *priv)
nv50->base.screen = &screen->base;
nv50->base.copy_data = nv50_m2mf_copy_linear;
nv50->base.push_data = nv50_sifc_linear_u8;
+ nv50->base.push_cb = nv50_cb_push;
nv50->screen = screen;
pipe->screen = pscreen;