summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2017-05-30 15:54:38 +0200
committerThomas Hellstrom <[email protected]>2017-06-07 19:43:54 +0200
commit2c4ec3f93fcab3fddcbe132200b210e7def1facc (patch)
treed40f3ddb09ecacb7edc0ac105f5c4aa5fecca8ad /src/gallium/drivers/virgl
parentdf4d6003dc75395f8ded57fdf59046f0d008eea3 (diff)
svga: Always set the alpha value to 1 when sampling using an XRGB view
If the XRGB view is sampling from an ARGB svga format, change PIPE_SWIZZLE_W to PIPE_SWIZZLE_1 for all channels. Previously we unconditionally set PIPE_SWIZZLE_1 on the alpha channel which could be both insufficient and incorrect. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
0 files changed, 0 insertions, 0 deletions