gallium: add red-alpha texture formats and a couple of util functions
authorMarek Olšák <maraeo@gmail.com>
Thu, 7 Feb 2013 03:33:52 +0000 (04:33 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 13 Feb 2013 01:13:10 +0000 (02:13 +0100)
commitcd41833b440a1fee14feca17485de4cc460a86c8
tree937ef56b5509c541ec66c3f3966c45b951b61aa9
parent974b482acaf62ced1e8981761a8bda252bd51fe1
gallium: add red-alpha texture formats and a couple of util functions

This is for glGetTexImage and it will be used for samplers only (which some
drivers already implement by reading util_format_description).

v2: incorporate Brian's suggestion

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_format.csv
src/gallium/auxiliary/util/u_format.h
src/gallium/include/pipe/p_format.h