OSDN Git Service

svga: add support for FS sample mask output
authorBrian Paul <brianp@vmware.com>
Tue, 1 Aug 2017 03:12:07 +0000 (21:12 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit9de5bdb341ea6dc1c7b64a1d6ffc3b2a1a4386d1
tree003c5101c7300c66ab0f86c5cf1a4366fc26462e
parent0a219dd91808d0d78ef45f439eab2f908ff44ed2
svga: add support for FS sample mask output

This, with the previous work for sample position/id query, allows
us to enable per-sample shading for VGPU 10.1.

Note that quite a few Piglit arb_sample_shading tests still do not
pass, but many do.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_tgsi_vgpu10.c