Re: [Mesa-dev] [PATCH V2 04/22] i965: refactor format munging for separate stencil

2014-02-21 Thread Chris Forbes
They do -- you can create views of any format that is legal for TexStorage*. Each of the formats not listed in the table in the ARB_texture_view spec has its own equivalence class, so no casting is possible. This is still useful if you want to restrict levels or layers, or vary texture parameters.

Re: [Mesa-dev] [PATCH V2 04/22] i965: refactor format munging for separate stencil

2014-02-21 Thread Eric Anholt
Chris Forbes writes: > We will need this for munging the view's format. But texture views don't allow internalformats involving depth or stencil (or ETC in the next commit), right? pgpO1mRYJ0lhW.pgp Description: PGP signature ___ mesa-dev mailing lis

[Mesa-dev] [PATCH V2 04/22] i965: refactor format munging for separate stencil

2014-02-20 Thread Chris Forbes
We will need this for munging the view's format. Signed-off-by: Chris Forbes --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 31 --- src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 3 +++ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/mesa/driver