mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
translate: fail on x86 rtasm fail
This commit is contained in:
parent
b17e123a8f
commit
d3db46eb82
1 changed files with 5 additions and 0 deletions
|
|
@ -597,7 +597,12 @@ struct translate *translate_sse2_create( const struct translate_key *key )
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
p->gen_run = (run_func)x86_get_func(&p->linear_func);
|
p->gen_run = (run_func)x86_get_func(&p->linear_func);
|
||||||
|
if (p->gen_run == NULL)
|
||||||
|
goto fail;
|
||||||
|
|
||||||
p->gen_run_elts = (run_elts_func)x86_get_func(&p->elt_func);
|
p->gen_run_elts = (run_elts_func)x86_get_func(&p->elt_func);
|
||||||
|
if (p->gen_run_elts == NULL)
|
||||||
|
goto fail;
|
||||||
|
|
||||||
return &p->translate;
|
return &p->translate;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue