summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-06-29 10:44:52 +0200
committerIago Toral Quiroga <[email protected]>2015-07-02 08:15:51 +0200
commit9d408a41a3ab2fe456ebf2f7af7bad8f6c4bca17 (patch)
tree8efc480af45dd2976e2e61924749dd939f3c2c69 /include
parentc3215ef204c0fdfc44230adbd423720169d44dcb (diff)
mesa/st: Add checks for signed/unsigned integer conversions in ReadPixels
These checks were in Mesa prior to commit fbba25bba, but they were not necessary for the purpose that Mesa intended (check if we could resolve ReadPixels via memcpy), so that commit took them away. Unfortunately, it seems that some Gallium drivers rely on these checks to make the decision of whether they should fallback to Mesa's implementation of ReadPixels correctly. Michel Dänzer reported that the following piglit test would fail on radeonsi after commit fbba25bba: spec@ext_texture_integer@fbo_integer_readpixels_sint_uint This patch puts the checks back in Gallium, where they are needed. Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions