mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
rtasm: quieten sse_enabled debug
This commit is contained in:
parent
73c2711bb1
commit
73706deef5
1 changed files with 10 additions and 1 deletions
|
|
@ -32,7 +32,16 @@
|
|||
|
||||
static boolean rtasm_sse_enabled(void)
|
||||
{
|
||||
return !debug_get_bool_option("GALLIUM_NOSSE", FALSE);
|
||||
static boolean firsttime = 1;
|
||||
static boolean enabled;
|
||||
|
||||
/* This gets called quite often at the moment:
|
||||
*/
|
||||
if (firsttime) {
|
||||
enabled = !debug_get_bool_option("GALLIUM_NOSSE", FALSE);
|
||||
firsttime = FALSE;
|
||||
}
|
||||
return enabled;
|
||||
}
|
||||
|
||||
int rtasm_cpu_has_sse(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue