search for: util_format_description

Displaying 6 results from an estimated 6 matches for "util_format_description".

2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...lium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -43,6 +43,7 @@ nvc0_screen_is_format_supported(struct pipe_screen *pscreen, unsigned sample_count, unsigned bindings) { + const struct util_format_description *desc = util_format_description(format); if (sample_count > 8) return false; if (!(0x117 & (1 << sample_count))) /* 0, 1, 2, 4 or 8 */ @@ -55,6 +56,15 @@ nvc0_screen_is_format_supported(struct pipe_screen *pscreen, if (util_format_get_blocksizebits(format) == 3 *...
2016 Feb 15
2
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...ct pipe_context *pipe, > + struct pipe_resource *texture, > + const struct pipe_sampler_view *templ, > + uint32_t flags, > + enum pipe_texture_target target) > +{ > + const struct util_format_description *desc; > + const struct nvc0_format *fmt; > + uint64_t address; > + uint32_t *tic; > + uint32_t swz[4]; > + uint32_t width, height; > + uint32_t depth; > + struct nv50_tic_entry *view; > + struct nv50_miptree *mt; > + bool tex_int; > + > + view =...
2015 Dec 19
0
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
..._screen.c > +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c > @@ -43,6 +43,7 @@ nvc0_screen_is_format_supported(struct pipe_screen *pscreen, > unsigned sample_count, > unsigned bindings) > { > + const struct util_format_description *desc = util_format_description(format); > if (sample_count > 8) > return false; > if (!(0x117 & (1 << sample_count))) /* 0, 1, 2, 4 or 8 */ > @@ -55,6 +56,15 @@ nvc0_screen_is_format_supported(struct pipe_screen *pscreen, > if (util_format_get_bloc...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...gm107_create_texture_view(struct pipe_context *pipe, + struct pipe_resource *texture, + const struct pipe_sampler_view *templ, + uint32_t flags, + enum pipe_texture_target target) +{ + const struct util_format_description *desc; + const struct nvc0_format *fmt; + uint64_t address; + uint32_t *tic; + uint32_t swz[4]; + uint32_t width, height; + uint32_t depth; + struct nv50_tic_entry *view; + struct nv50_miptree *mt; + bool tex_int; + + view = MALLOC_STRUCT(nv50_tic_entry); + if (!view) + r...
2016 Feb 15
0
[PATCH 23/23] nvc0: implement support for maxwell texture headers
...gt;> + struct pipe_resource *texture, >> + const struct pipe_sampler_view *templ, >> + uint32_t flags, >> + enum pipe_texture_target target) >> +{ >> + const struct util_format_description *desc; >> + const struct nvc0_format *fmt; >> + uint64_t address; >> + uint32_t *tic; >> + uint32_t swz[4]; >> + uint32_t width, height; >> + uint32_t depth; >> + struct nv50_tic_entry *view; >> + struct nv50_miptree *mt; >> +...
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