Skip to content

i965: Call util_cpu_detect() early in screen creation

Jordan Justen requested to merge jljusten/mesa:i965-util_cpu_detect into master

Fixes: a9618e7c ("util: Add accessor for util_cpu_caps")

This helps to avoid this assertion on i965 with debug builds:

I didn't reproduce this locally, but @robclark recommended this change, and it seems to help:

Adding this change, the

Cc: @kwg

Merge request reports