radv: enable FMASK for color attachments only

The reason behind this is that FMASK requires CMASK and also that
FMASK for non color attachments looks unnecessary. It's currently
much easier to add this simple check because the driver tries to
always enable DCC first and if we enable FMASK only if CMASK, we
might loose some FMASK compressions.

This helps fixing some new robustness2 tests which fails because
only FMASK is enabled.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <mesa/mesa!4783>
55 jobs for master
latest
Status Job ID Name Coverage
  Container
manual #2478367
aarch64 manual
arm_build
manual #2478368
aarch64 manual
arm_test
manual #2478369
windows shell 1809 mesa manual
windows_build_vs2019
manual #2478363
manual
x86_build
manual #2478366
manual
x86_build_old
manual #2478364
manual
x86_test-gl
manual #2478365
manual
x86_test-vk
 
  Meson X86 64
created #2478373
meson-clang
created #2478372
meson-classic
created #2478374
meson-clover
created #2478375
meson-clover-old-llvm
created #2478371
meson-gallium
created #2478370
meson-testing
created #2478376
meson-vulkan
 
  Scons
created #2478377
allowed to fail
scons-win64
 
  Meson Misc
created #2478379
aarch64
meson-arm64
created #2478380
aarch64
meson-arm64-build-test
created #2478378
aarch64
meson-armhf
created #2478382
meson-i386
created #2478385
meson-mingw32-x86_64
created #2478384
kvm
meson-ppc64el
created #2478383
kvm
meson-s390x
created #2478381
windows docker 1809 mesa
meson-windows-vs2019
 
  Llvmpipe
created #2478389
llvmpipe-gles2
created #2478390
llvmpipe-traces
created #2478387
piglit-glslparser
created #2478386
piglit-quick_gl
created #2478388
piglit-quick_shader
 
  Softpipe
created #2478391
softpipe-gles2
created #2478394
softpipe-gles31 1/4
created #2478392
softpipe-gles3 1/2
created #2478395
softpipe-gles31 2/4
created #2478396
softpipe-gles31 3/4
created #2478397
softpipe-gles31 4/4
created #2478393
softpipe-gles3 2/2
 
  Freedreno
created #2478402
google-freedreno-db410c
arm64_a306_gles2
created #2478403
google-freedreno-db410c
arm64_a306_gles3
created #2478404
google-freedreno-db820c
arm64_a530_gles2
created #2478405
google-freedreno-db820c
arm64_a530_gles3
created #2478406
google-freedreno-db820c
arm64_a530_gles31
created #2478398
mesa-cheza
arm64_a630_gles2
created #2478400
mesa-cheza
arm64_a630_gles3
created #2478399
mesa-cheza
arm64_a630_gles31
created #2478401
mesa-cheza
arm64_a630_gles31_options
 
  Panfrost
created #2478407
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #2478408
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #2478409
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #2478410
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64
 
  Radv
created #2478412
radv-fossils
created #2478413
polaris10 manual
radv-polaris10-traces
created #2478411
polaris10 manual
radv_polaris10_vkcts
 
  Virgl
created #2478414
virgl-gles2
created #2478415
virgl-gles3
created #2478416
virgl-gles31
created #2478417
virgl-traces