diff options
author | Anuj Phogat <[email protected]> | 2015-05-12 05:46:04 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2015-07-24 10:48:58 -0700 |
commit | aa40546b2de4cd572af02d31fd5c7d4045505ea2 (patch) | |
tree | 742f636d3db6389567e20747a33d13783f47d799 /src/mesa/main/readpix.h | |
parent | be405ee334ec758a2609d8780221f4f1a1ed3343 (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.h')
0 files changed, 0 insertions, 0 deletions