Refactor the fast path for pixel unpack buffers, and fix a few validation gaps with texture completeness.

TRAC #23997

Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
2 files changed