summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/atifragshader.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2015-06-11 16:44:45 -0700
committerAnuj Phogat <[email protected]>2015-07-24 10:48:58 -0700
commitbbbefec7323d0a338346233ab4ab715bcf4e1b78 (patch)
treef72cafbbea43a6c48b68d46951e5c93475ba7cf8 /src/mesa/main/atifragshader.h
parentca4e17e03e9aeaa04fe6bb04bfe2d6f97991005b (diff)
mesa: Set green, blue channels to zero only for formats with these components
This is an optimization which avoids setting pixel transfer operations when not required. _mesa_ReadPixels falls back to slower path if transfer operations are set. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/main/atifragshader.h')
0 files changed, 0 insertions, 0 deletions