mesa/pack: don't apply transfer operations to integer format buffers. (v3)
authorDave Airlie <airlied@redhat.com>
Mon, 12 Sep 2011 13:44:25 +0000 (14:44 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 13 Sep 2011 08:43:23 +0000 (09:43 +0100)
commit1ab4e221fddcb0c825e6f51a46a3c908dd58e52a
tree9beed22b4e380ba8d99814ef9e5ec237aec25cf4
parentf97acf40155a5d63a70ac6875df8128cb91d2369
mesa/pack: don't apply transfer operations to integer format buffers. (v3)

The EXT_texture_integer issues says:

Should pixel transfer operations be defined for the integer pixel
path?

RESOLVED: No.  Fragment shaders can achieve similar results
with more flexibility.  There is no need to aggrandize this
legacy mechanism.

v2: fix comments, fix unpack paths, use same comment/code
v3: fix last comment

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/pack.c