search for: nvc0_mt_choose_storage_typ

Displaying 2 results from an estimated 2 matches for "nvc0_mt_choose_storage_typ".

2014 Mar 05
1
[PATCH] nv50, nvc0: choose storage type after ms has been initialized
...rc/gallium/drivers/nouveau/nvc0/nvc0_miptree.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c @@ -277,13 +277,13 @@ nvc0_miptree_create(struct pipe_screen *pscreen, if (pt->bind & PIPE_BIND_LINEAR) pt->flags |= NOUVEAU_RESOURCE_FLAG_LINEAR; - bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(mt, compressed); - if (!nvc0_miptree_init_ms_mode(mt)) { FREE(mt); return NULL; } + bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(mt, compressed); + if (unlikely(pt->flags & NVC0_RESOURCE_FLAG_VIDEO)) { nvc0_miptree_init_layout_video(mt); } el...
2014 Sep 19
2
[PATCH 0/2] nv50, nvc0: fix weirdo zs formats and their blits
There were reports of issues with gallium-nine. It's unclear whether mesa/st uses these, the patches did not produce any piglit changes. However they seem right... Ilia Mirkin (2): nv50,nvc0: add missing depth/stencil formats to tile flag selection nv50,nvc0: fix 3d blit logic for odd depth/stencil formats src/gallium/drivers/nouveau/nv50/nv50_blit.h | 21 ++++++++++++++-------