[Mesa-dev] Removing unused opcodes (TGSI, Mesa IR)

Marek Olšák maraeo at gmail.com
Thu Nov 13 09:06:03 PST 2014

This looks good to me. Other candidates for removal:

SUB (same as ADD with the Negate bit inverted)
CLAMP (same as MIN+MAX), some drivers don't implement this
ABS (same as MOV with the Abs bit set)


On Thu, Nov 13, 2014 at 2:18 AM, Eric Anholt <eric at anholt.net> wrote:
> This series removes a bunch of unused opcodes, mostly from TGSI.  It
> doesn't go as far as we could possibly go -- while I welcome discussion
> for future patch series deleting more, I hope that discussion doesn't
> derail the review process for these changes.
> I haven't messed with the subroutine stuff, since I don't know what people
> are planning with that.  I also haven't messed with the pack/unpack
> opcodes in TGSI, since they might be useful for some of the GLSL packing
> stuff.
> Testing status: compile-tested ilo/r600/softpipe, touch-tested softpipe.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

More information about the mesa-dev mailing list