summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2015-05-12 05:46:04 -0700
committerAnuj Phogat <[email protected]>2015-07-24 10:48:58 -0700
commitaa40546b2de4cd572af02d31fd5c7d4045505ea2 (patch)
tree742f636d3db6389567e20747a33d13783f47d799 /src/mesa/main/readpix.c
parentbe405ee334ec758a2609d8780221f4f1a1ed3343 (diff)
meta: Fix reading luminance texture as rgba in _mesa_meta_pbo_GetTexSubImage()
After recent addition of pbo testing in piglit test getteximage-luminance, it fails on i965. This patch makes a sub test pass. This patch adds a clear color operation to meta pbo path, which I think is better than falling back to software path. V2: Fix color mask for GL_LUMINANCE_ALPHA Cc: <[email protected]> Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/main/readpix.c')
0 files changed, 0 insertions, 0 deletions