Skip to content

ac: Don't negate strstr return values in ac_query_gpu_info

Michel Dänzer requested to merge daenzer/mesa:ac_query_gpu_info-strstr into master

strstr returns a pointer to the needle sub-string within the haystack string if the latter contains the former, or NULL otherwise. So this essentially always set info->is_pro_graphics = true, since probably no marketing name ever contains all of these sub-strings.

Fixes: b635dff2 "ac: fix detection of Pro graphics"

Merge request reports