Displaying 6 results from an estimated 6 matches for "first_element".
2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...near 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;
> + ti...
2008 May 10
0
[LLVMdev] Python bindings available.
...obal
variables, arguments, basic blocks, and instructions.
In Ocaml, we coded it up using a variant type, like (Before element |
At_end parent). The basic operations for forward iteration are
Parent.begin and Element.succ, which were implemented like this:
Parent.begin =
if this.first_element is null
return At_end this
else
return Before this.first_element
Element.succ =
if this.next_element is null
return At_end this.parent
else
return Before this.next_element
Then the user could build many IR navigation algorithms. The si...
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] |= GM107_TIC2_4_TEXTURE_TYPE_ONE_D_BUFFER;
+ tic[4] |= width & 0xffff;
+...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...e */
>> + 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_BUFFE...
2008 May 10
4
[LLVMdev] Python bindings available.
Hi all,
I'd like to announce the availability of Python bindings for LLVM.
It is built over llvm-c, and currently exposes enough APIs to build an
in-memory IR (and dump it!). It needs LLVM 2.3 latest and Python 2.5
(2.4 should be sufficient, but I haven't tested). Tested only on
Linux/i386.
Would love to hear your comments.
[Needless to say, it's all work in progress, but mostly it
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