diff options
author | Gert Wollny <[email protected]> | 2018-04-27 18:04:01 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-05-04 10:47:46 -0700 |
commit | e695a35f40b085d524ccc9cc910dd49e1a864485 (patch) | |
tree | 0219007f65b85cfbe9706af6dd7ce5bd067f6f30 /src/mesa/main/framebuffer.c | |
parent | 5c075b085585b1629022d40ce7af9448c7d0e906 (diff) |
mesa/main/readpix: Correct handling of packed floating point values
Make sure that clamping in the pixel transfer operations is enabled/disabled
for packed floating point values just like it is done for single normal and
half precision floating point values.
This fixes a series of CTS tests with virgl that use r11f_g11f_b10f
buffers as target, and where virglrenderer reads these surfaces back
using the format GL_UNSIGNED_INT_10F_11F_11F_REV.
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
0 files changed, 0 insertions, 0 deletions