radv: set fmask_surf_index on fmask surfaces.
authorDave Airlie <airlied@redhat.com>
Tue, 1 May 2018 02:32:02 +0000 (12:32 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 May 2018 20:01:42 +0000 (06:01 +1000)
commite66f64c2855604c6148e8e865a65411ff0c3ba02
tree518dda4209fbe2136f6de9ec93c56214b3d73608
parentf298ed93d9ded6ef355cf6381b49a845c76084b0
radv: set fmask_surf_index on fmask surfaces.

This is needed for gfx9 and later for all fmask surface index.

(Mentioned by Marek on irc)

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_image.c