[vk] properly disable for qualcomm
This commit is contained in:
parent
327560329b
commit
6dcb5da7f8
1 changed files with 5 additions and 0 deletions
|
@ -448,6 +448,11 @@ public:
|
|||
|
||||
/// Returns true if VK_KHR_shader_float_controls is enabled.
|
||||
bool IsKhrShaderFloatControlsSupported() const {
|
||||
const bool is_qualcomm =
|
||||
properties.driver.driverID == VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
|
||||
if (is_qualcomm) {
|
||||
return false;
|
||||
}
|
||||
return extensions.shader_float_controls;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue