diff options
author | Samuel Pitoiset <[email protected]> | 2016-04-25 23:14:03 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-04-29 00:44:08 +0200 |
commit | 9f92a8f00a55f4abc06c2f3c21b2dfd70905a30e (patch) | |
tree | 2954660e3fa938a8ff133d07313d65a6dbc942f8 /src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | |
parent | 124a5d4ca05de608bc2a1575c507bd2ba3c7bc64 (diff) |
nvc0: stick compute kernel arguments into uniform_bo
Having one buffer object for input kernel arguments coming from clover
and an other one for OpenGL user uniforms is unnecessary. Using the
uniform_bo object for both GL/CL uniforms avoids to declare a new BO.
This only affects compute programs but it should not hurt anything
because the states are dirtied and data will get reuploaded.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_screen.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index fbdfdd0853b..bfbfead617f 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -516,7 +516,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen) nouveau_bo_ref(NULL, &screen->txc); nouveau_bo_ref(NULL, &screen->fence.bo); nouveau_bo_ref(NULL, &screen->poly_cache); - nouveau_bo_ref(NULL, &screen->parm); nouveau_heap_destroy(&screen->lib_code); nouveau_heap_destroy(&screen->text_heap); |