[Mesa-dev] [RFC 10/10] i965: enable ASTC support for Skylake
Nanley Chery
nanleychery at gmail.com
Wed May 20 11:09:26 PDT 2015
On Tue, May 19, 2015 at 7:22 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>
> On Tue, May 19, 2015 at 10:16 PM, Matt Turner <mattst88 at gmail.com> wrote:
> > On Tue, May 19, 2015 at 5:48 PM, Nanley Chery <nanleychery at gmail.com> wrote:
> >> From: Nanley Chery <nanley.g.chery at intel.com>
> >>
> >> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> >> ---
> >> src/mesa/drivers/dri/i965/intel_extensions.c | 6 ++++++
> >> 1 file changed, 6 insertions(+)
> >>
> >> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> >> index 18b69a0..91ff6e4 100644
> >> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> >> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> >> @@ -354,6 +354,12 @@ intelInitExtensions(struct gl_context *ctx)
> >> ctx->Extensions.ARB_stencil_texturing = true;
> >> }
> >>
> >> + if (brw->gen >= 9) {
> >> + ctx->Extensions.KHR_texture_compression_astc_ldr = true;
> >> + ctx->Extensions.KHR_texture_compression_astc_hdr = true;
> >> + ctx->Extensions.OES_texture_compression_astc= true;
> >
> > Missing space before =
>
> Also missing 3d astc format support (for the OES ext).
Good catch. I should modify my patches to only deal with the KHR
extensions only, since those are the only ones I'm enabling at this
time.
- Nanley
More information about the mesa-dev
mailing list