[Mesa-dev] [PATCH 1/7] mesa: add support for immutable textures to teximagemultisample()

Eric Anholt eric at anholt.net
Mon Mar 18 09:21:37 PDT 2013


Chris Forbes <chrisf at ijw.co.nz> writes:

> The new entrypoints will come later, but this adds the actual logic for
> supporting immutable multisample textures:
>
> - The immutability flag is set as desired.
> - Attempting to modify an immutable multisample texture produces
>   INVALID_OPERATION.
>
> Note: The extension spec does not mention adding this behavior to
> TexImage*Multisample, but it seems like the reasonable thing to do.
>
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>

You should also be calling tex_storage_error_check() in the immutable
case, which covers a bunch of cases from p258 of the 4.2 core spec.

Other than that, this series is:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130318/518d4ff8/attachment.pgp>


More information about the mesa-dev mailing list