summaryrefslogtreecommitdiffstats
path: root/src/glx/vertarr.c
diff options
context:
space:
mode:
authorRichard Sandiford <[email protected]>2014-07-22 10:51:18 +0100
committerDave Airlie <[email protected]>2014-09-17 13:20:08 +1000
commitccdbcd9586fac41bf209fd40d7512d8192c5dad0 (patch)
tree8dcd4d138ee242cbde17ea37a681b126c239e78a /src/glx/vertarr.c
parentbe6ef203aafd52fce532c8dae47be75f1d5252a0 (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/vertarr.c')
0 files changed, 0 insertions, 0 deletions