freedreno: implements get_sample_position
authorHyunjun Ko <zzoon@igalia.com>
Wed, 7 Nov 2018 02:30:31 +0000 (11:30 +0900)
committerRob Clark <robdclark@gmail.com>
Tue, 27 Nov 2018 20:44:03 +0000 (15:44 -0500)
commit76945e4140833128759747dcd9cd335e423ebd25
treeeb37f12ae5711bbb24d0fb29a23fd6cd342baef2
parent5973a4d0b7df54264b7f314153363877bfe6b8ad
freedreno: implements get_sample_position

Since 1285f71d3e landed, it needs to provide apps with proper sample
position for MSAA.

Currently no way to query this to hw, these are taken from blob driver.

Fixes: dEQP-GLES31.functional.texture.multisample.samples_#.sample_position
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_resource.c