diff options
author | Richard Sandiford <[email protected]> | 2014-07-22 10:51:18 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-09-17 13:20:08 +1000 |
commit | ccdbcd9586fac41bf209fd40d7512d8192c5dad0 (patch) | |
tree | 8dcd4d138ee242cbde17ea37a681b126c239e78a /src/glx | |
parent | be6ef203aafd52fce532c8dae47be75f1d5252a0 (diff) |
st/mesa: Fix handling of LA and RG formats for big-endian
MESA_FORMAT_LnAn puts the luminance in the least significant part of
the containing integer, which is equivalent to PIPE_FORMAT_LAnn.
PIPE_FORMAT_LnAn puts the luminance first in memory.
This patch fixes up the mesa<->gallium mapping accordingly.
Signed-off-by: Richard Sandiford <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions