search for: last_element

Displaying 4 results from an estimated 4 matches for "last_element".

2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...0; > + > + /* check for linear storage type */ > + if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) { > + if (texture->target == PIPE_BUFFER) { > + assert(!(tic[5] & GM107_TIC2_5_NORMALIZED_COORDS)); > + width = view->pipe.u.buf.last_element - view->pipe.u.buf.first_element; > + address += > + view->pipe.u.buf.first_element * desc->block.bits / 8; > + tic[2] = GM107_TIC2_2_HEADER_VERSION_ONE_D_BUFFER; > + tic[3] |= width >> 16; > + tic[4] |= GM107_TIC2_4_TEXTURE_...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...ORDS; + else + tic[5] = 0; + + /* check for linear storage type */ + if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) { + if (texture->target == PIPE_BUFFER) { + assert(!(tic[5] & GM107_TIC2_5_NORMALIZED_COORDS)); + width = view->pipe.u.buf.last_element - view->pipe.u.buf.first_element; + address += + view->pipe.u.buf.first_element * desc->block.bits / 8; + tic[2] = GM107_TIC2_2_HEADER_VERSION_ONE_D_BUFFER; + tic[3] |= width >> 16; + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_ONE_D_BUFFER; +...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...+ /* check for linear storage type */ >> + if (unlikely(!nouveau_bo_memtype(nv04_resource(texture)->bo))) { >> + if (texture->target == PIPE_BUFFER) { >> + assert(!(tic[5] & GM107_TIC2_5_NORMALIZED_COORDS)); >> + width = view->pipe.u.buf.last_element - view->pipe.u.buf.first_element; >> + address += >> + view->pipe.u.buf.first_element * desc->block.bits / 8; >> + tic[2] = GM107_TIC2_2_HEADER_VERSION_ONE_D_BUFFER; >> + tic[3] |= width >> 16; >> + tic[4] |= G...
2016 Feb 15
24
[PATCH 01/23] nv50: import updated g80_defs.xml.h from rnndb
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- src/gallium/drivers/nouveau/nv50/g80_defs.xml.h | 279 ++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 src/gallium/drivers/nouveau/nv50/g80_defs.xml.h diff --git a/src/gallium/drivers/nouveau/nv50/g80_defs.xml.h