mesa: Add the remaining from/to types for GL_EXT_texture_integer (and R/RG).
authorEric Anholt <eric@anholt.net>
Fri, 20 Jan 2012 20:50:34 +0000 (12:50 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 25 Jan 2012 00:35:47 +0000 (16:35 -0800)
commitd6c58545a1da8c83f0aad296a5e9e31a7c77cfe4
tree2d7a50a49df7022e86401ec9229efebca0075ec0
parent08acd4bd61430beb20a74af23de9f63c8f077467
mesa: Add the remaining from/to types for GL_EXT_texture_integer (and R/RG).

This aborts and crashes in intel oglconform's int-textures into being
just rendering failures.  Clamping isn't handled yet.

v2: Add missing "break".
v3: Drop the int/uint distinction, since they don't need different clamping.
NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com> (v2)
src/mesa/main/pack.c
src/mesa/main/pack_tmp.h [new file with mode: 0644]