Displaying 8 results from an estimated 8 matches for "nvc0_create_texture_view".
2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...ot;
> #include "nvc0/nvc0_resource.h"
> +#include "nvc0/gm107_texture.xml.h"
> #include "nv50/g80_texture.xml.h"
> #include "nv50/g80_defs.xml.h"
>
> @@ -59,12 +60,188 @@ nvc0_create_sampler_view(struct pipe_context *pipe,
> return nvc0_create_texture_view(pipe, res, templ, flags, templ->target);
> }
>
> -struct pipe_sampler_view *
> -nvc0_create_texture_view(struct pipe_context *pipe,
> - struct pipe_resource *texture,
> - const struct pipe_sampler_view *templ,
> -...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...lude "nvc0/nvc0_context.h"
#include "nvc0/nvc0_resource.h"
+#include "nvc0/gm107_texture.xml.h"
#include "nv50/g80_texture.xml.h"
#include "nv50/g80_defs.xml.h"
@@ -59,12 +60,188 @@ nvc0_create_sampler_view(struct pipe_context *pipe,
return nvc0_create_texture_view(pipe, res, templ, flags, templ->target);
}
-struct pipe_sampler_view *
-nvc0_create_texture_view(struct pipe_context *pipe,
- struct pipe_resource *texture,
- const struct pipe_sampler_view *templ,
- uint32_t flags,
-...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...;nvc0/nvc0_resource.h"
>> +#include "nvc0/gm107_texture.xml.h"
>> #include "nv50/g80_texture.xml.h"
>> #include "nv50/g80_defs.xml.h"
>>
>> @@ -59,12 +60,188 @@ nvc0_create_sampler_view(struct pipe_context *pipe,
>> return nvc0_create_texture_view(pipe, res, templ, flags, templ->target);
>> }
>>
>> -struct pipe_sampler_view *
>> -nvc0_create_texture_view(struct pipe_context *pipe,
>> - struct pipe_resource *texture,
>> - const struct pipe_sampler_view *te...
2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...|
PIPE_BIND_TRANSFER_WRITE |
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
index 74090ce..bc648fe 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
@@ -102,7 +102,9 @@ nvc0_create_texture_view(struct pipe_context *pipe,
desc = util_format_description(view->pipe.format);
- tic[0] = nvc0_format_table[view->pipe.format].tic;
+ tic[0] = nvc0_format_table[view->pipe.format].tic & 0x3f;
+ if (nvc0_format_table[view->pipe.format].tic & 0x40)
+ tic[0] |= 1U...
2014 Apr 30
0
[PATCH] nvc0: treat non-linear 2DRect textures the same as 2D
...1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
index 765cd2d..1b11bd0 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
@@ -173,7 +173,7 @@ nvc0_create_texture_view(struct pipe_context *pipe,
tic[2] |= NV50_TIC_2_TARGET_2D;
break;
case PIPE_TEXTURE_RECT:
- tic[2] |= NV50_TIC_2_TARGET_RECT;
+ tic[2] |= NV50_TIC_2_TARGET_2D;
break;
case PIPE_TEXTURE_3D:
tic[2] |= NV50_TIC_2_TARGET_3D;
--
1.8.3.2
2013 Aug 21
5
[Bug 68402] New: Some elements are only rendered in top-left area
https://bugs.freedesktop.org/show_bug.cgi?id=68402
Priority: medium
Bug ID: 68402
Assignee: nouveau at lists.freedesktop.org
Summary: Some elements are only rendered in top-left area
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: janmlynek0 at gmail.com
Hardware: All
2015 Dec 19
0
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...BIND_TRANSFER_WRITE |
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
> index 74090ce..bc648fe 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
> @@ -102,7 +102,9 @@ nvc0_create_texture_view(struct pipe_context *pipe,
>
> desc = util_format_description(view->pipe.format);
>
> - tic[0] = nvc0_format_table[view->pipe.format].tic;
> + tic[0] = nvc0_format_table[view->pipe.format].tic & 0x3f;
Naturally this needs to be ~0x40. Oops. Fixed locally.
>...
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