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

Chris Forbes chrisf at ijw.co.nz
Fri Feb 21 21:02:32 PST 2014


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. [The interaction with
ARB_stencil_texturing is a good example of why you might want to]

On Sat, Feb 22, 2014 at 4:06 PM, Eric Anholt <eric at anholt.net> wrote:
> Chris Forbes <chrisf at ijw.co.nz> 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?


More information about the mesa-dev mailing list