radv: fix VK_KHR_shader_float_controls dependency on GFX6-7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 Oct 2019 13:16:07 +0000 (15:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Oct 2019 05:49:20 +0000 (07:49 +0200)
commit2bf8a9b33790614041df26a1a9327449cf3bb3f3
treeb94824dec8e4e99a5cc7221829e0a3db857ebe5a
parente137b3a9b71a2711c1f68c8a8b9c0a7407fbcc4b
radv: fix VK_KHR_shader_float_controls dependency on GFX6-7

From the Vulkan spec 1.1.126 :
   "VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR specifies
    that shader float controls for 32-bit floating point can be set
    independently; other bit widths must be set identically to each
    other."

Forgot to update this when I enabled that extension recently.

Fixes dEQP-VK.spirv_assembly.instruction.compute.float_controls.independence_settings.independence_setting

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