diff options
author | Richard Sandiford <[email protected]> | 2014-07-22 11:02:11 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-09-17 13:20:08 +1000 |
commit | 2e49559c7727370839c28992c304f843db77c31a (patch) | |
tree | af6fc906b842ecbd88b0eea1442e36e0f3755e5c /src/glx/indirect_vertex_array_priv.h | |
parent | ccdbcd9586fac41bf209fd40d7512d8192c5dad0 (diff) |
st/mesa: Fix handling of 8888 SNORM and SRGB formats for big-endian
MESA_FORMAT_x8y8z8w8 puts the x channel in the least significant part of
the containing 32-bit integer, which is equivalent to PIPE_FORMAT_xyzw8888.
PIPE_FORMAT_x8y8z8w8 puts the x channel first in memory.
This patch fixes up the mesa<->gallium mapping accordingly.
Signed-off-by: Richard Sandiford <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/indirect_vertex_array_priv.h')
0 files changed, 0 insertions, 0 deletions