Displaying 5 results from an estimated 5 matches for "pipe_texture_1d".
2014 Sep 01
0
[PATCH] nvc0: don't make 1d staging textures linear
...index 2f3cba8..3baa752 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c
@@ -261,7 +261,6 @@ nvc0_miptree_create(struct pipe_screen *pscreen,
if (pt->usage == PIPE_USAGE_STAGING) {
switch (pt->target) {
- case PIPE_TEXTURE_1D:
case PIPE_TEXTURE_2D:
case PIPE_TEXTURE_RECT:
if (pt->last_level == 0 &&
--
1.8.5.5
2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...C */
> + address += view->pipe.u.tex.first_layer * mt->layer_stride;
> + depth = view->pipe.u.tex.last_layer - view->pipe.u.tex.first_layer + 1;
> + }
> + tic[1] = address;
> + tic[2] |= address >> 32;
> +
> + switch (target) {
> + case PIPE_TEXTURE_1D:
> + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_ONE_D;
> + break;
> + case PIPE_TEXTURE_2D:
> + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_TWO_D;
> + break;
> + case PIPE_TEXTURE_RECT:
> + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_TWO_D;
> + break;
> + cas...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...39;t seem to be a base layer field in TIC */
+ address += view->pipe.u.tex.first_layer * mt->layer_stride;
+ depth = view->pipe.u.tex.last_layer - view->pipe.u.tex.first_layer + 1;
+ }
+ tic[1] = address;
+ tic[2] |= address >> 32;
+
+ switch (target) {
+ case PIPE_TEXTURE_1D:
+ tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_ONE_D;
+ break;
+ case PIPE_TEXTURE_2D:
+ tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_TWO_D;
+ break;
+ case PIPE_TEXTURE_RECT:
+ tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_TWO_D;
+ break;
+ case PIPE_TEXTURE_3D:
+ tic[4] |= GM107_TIC...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...view->pipe.u.tex.first_layer * mt->layer_stride;
>> + depth = view->pipe.u.tex.last_layer - view->pipe.u.tex.first_layer + 1;
>> + }
>> + tic[1] = address;
>> + tic[2] |= address >> 32;
>> +
>> + switch (target) {
>> + case PIPE_TEXTURE_1D:
>> + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_ONE_D;
>> + break;
>> + case PIPE_TEXTURE_2D:
>> + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_TWO_D;
>> + break;
>> + case PIPE_TEXTURE_RECT:
>> + tic[4] |= GM107_TIC2_4_TEXTURE_TYPE_TWO_D;
>...
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