[Mesa-dev] [PATCH] i965: Delete the fabulous target_to_target() function.
Eric Anholt
eric at anholt.net
Fri Feb 21 16:04:28 PST 2014
Kenneth Graunke <kenneth at whitecape.org> writes:
> gl_texture_object's Target field is never a cube face enumeration, so
> target_to_target is just the identity function. Aptly named, at least.
>
> I verified this by putting an assert(!"ZOMG, CUBES!") in the cube face
> case, and running Piglit. Nothing ever hit it. Beyond that, I
> inspected the code in mesa/main.
>
> This could probably also be deleted from i915, but I haven't tested
> there.
I feel like long ago there was something in teximage handling that used
it, but that was at least back into the i915tex days.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140221/ce61c86a/attachment.pgp>
More information about the mesa-dev
mailing list