Mesa (master): nv50: hook up forgotten short constant buffer upload method

Marcin Åšlusarz mslusarz at kemper.freedesktop.org
Tue May 29 18:27:52 UTC 2012


Module: Mesa
Branch: master
Commit: 89241336276deeef525b35bf5dc7db345a18a3e1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89241336276deeef525b35bf5dc7db345a18a3e1

Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date:   Tue May 29 20:13:55 2012 +0200

nv50: hook up forgotten short constant buffer upload method

Fixes crash in xorg st.

---

 src/gallium/drivers/nv50/nv50_context.c |    1 +
 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 1e6bbaf..952dc03 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;




More information about the mesa-commit mailing list