summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64/xform4.S
diff options
context:
space:
mode:
authorHaixia Shi <[email protected]>2016-04-07 11:05:09 -0700
committerKenneth Graunke <[email protected]>2016-04-12 14:06:45 -0700
commit35ade36c88e5aaa0b18c3cc911d9a4de3a60a80b (patch)
treed0399648f0dae3dfe502b13275f2e43364247d6d /src/mesa/x86-64/xform4.S
parente303e88a9c86ce9b08c34919982729bf234fe995 (diff)
dri/i965: fix incorrect rgbFormat in intelCreateBuffer().
It is incorrect to assume that pixel format is always in BGR byte order. We need to check bitmask parameters (such as |redMask|) to determine whether the RGB or BGR byte order is requested. v2: reformat code to stay within 80 character per line limit. v3: just fix the byte order problem first and investigate SRGB later. v4: rebased on top of the GLES3 sRGB workaround fix. v5: rebased on top of the GLES3 sRGB workaround fix v2. Signed-off-by: Haixia Shi <[email protected]> Reviewed-by: Stéphane Marchesin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/x86-64/xform4.S')
0 files changed, 0 insertions, 0 deletions