nv50: hook up forgotten short constant buffer upload method
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 29 May 2012 18:13:55 +0000 (20:13 +0200)
committerMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 29 May 2012 18:24:45 +0000 (20:24 +0200)
Fixes crash in xorg st.

src/gallium/drivers/nv50/nv50_context.c

index 1e6bbaf8eb81911a12eaf7a16e04254510d93b6d..952dc03b1a3f0640a58f76346e411fc0fafd6aee 100644 (file)
@@ -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;