Fix T47940: Custom bone shapes, select error w/ Open NVidia drivers
Latest nouveau drivers have a bug here, use occlusion queries.
This commit is contained in:
@@ -255,5 +255,8 @@ bool GPU_select_query_check_active(void)
|
|||||||
{
|
{
|
||||||
return ((U.gpu_select_method == USER_SELECT_USE_OCCLUSION_QUERY) ||
|
return ((U.gpu_select_method == USER_SELECT_USE_OCCLUSION_QUERY) ||
|
||||||
((U.gpu_select_method == USER_SELECT_AUTO) &&
|
((U.gpu_select_method == USER_SELECT_AUTO) &&
|
||||||
GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_ANY)));
|
(GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_ANY) ||
|
||||||
|
/* unsupported by nouveau, gallium 0.4, see: T47940 */
|
||||||
|
GPU_type_matches(GPU_DEVICE_NVIDIA, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE))));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user