vk: Fix Linux Vega float16_t workaround

- It was disabling float16_t for non Vega cards
This commit is contained in:
Malcolm Jestadt 2019-07-12 03:33:17 -04:00 committed by kd-11
parent ae055f6792
commit 94af3b3f03

View file

@ -543,7 +543,7 @@ private:
}
#ifndef _WIN32
if (get_name().find("VEGA"))
if (get_name().find("VEGA") != std::string::npos)
{
LOG_WARNING(RSX, "float16_t does not work correctly on VEGA hardware for both RADV and AMDVLK. Using float32_t fallback instead.");
shader_types_support.allow_float16 = false;