radv: set the LayerId output usage mask if FS needs it
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Jul 2019 11:03:49 +0000 (13:03 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Jul 2019 13:17:08 +0000 (15:17 +0200)
commitbd86ded02712c90071fbfb71f71b4135be6b668c
treec057ee7deec8ce84614cf318bb0f54e245e8fd40
parent53d64753e16063c97286e82c6eeb8e46a88f63d1
radv: set the LayerId output usage mask if FS needs it

When the stage preceding FS doesn't export it the fragment shader
might read it, even if it's 0.

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