Displaying 3 results from an estimated 3 matches for "ow40".
2015 May 26
2
[PATCH 2/2] nv30/draw: switch varying hookup logic to know about texcoords
...<< 9);
> r->vtxprog[attrib][2] = 0x0836106c;
> @@ -276,7 +278,12 @@ vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx)
> r->vtxprog[attrib][3] = 0x6041ff80 | (result + vroute[sem].vp40) << 2;
> }
>
> - *idx = vroute[sem].ow40 << result;
> + if (result < 8)
> + *idx = vroute[sem].ow40 << result;
> + else {
> + assert(sem == TGSI_SEMANTIC_TEXCOORD);
> + *idx = 0x00001000 << (result - 8);
> + }
> return TRUE;
> }
>
> @@ -330,7 +337,7 @@ nv30_...
2015 May 26
2
[PATCH 2/2] nv30/draw: switch varying hookup logic to know about texcoords
...0836106c;
>>> @@ -276,7 +278,12 @@ vroute_add(struct nv30_render *r, uint attrib, uint
>>> sem, uint *idx)
>>> r->vtxprog[attrib][3] = 0x6041ff80 | (result + vroute[sem].vp40)
>>> << 2;
>>> }
>>> - *idx = vroute[sem].ow40 << result;
>>> + if (result < 8)
>>> + *idx = vroute[sem].ow40 << result;
>>> + else {
>>> + assert(sem == TGSI_SEMANTIC_TEXCOORD);
>>> + *idx = 0x00001000 << (result - 8);
>>> + }
>>> ret...
2015 May 25
3
[PATCH 1/2] nv30/draw: rework some of the output vertex buffer logic
This makes the vertex buffer go to GART, not VRAM, and redoes the
mapping to not use the UNSYNCHRONIZED access (which is meaningless on a
VRAM buffer anyways). While we're at it, add some flushes for VBO data.
Moving the vertex buffer from VRAM to GART makes glxgears work fully
with NV30_SWTNL=1. The other changes just seem like a good idea. I'm not
sure *why* moving the buffer from VRAM