sna: Always enable the solid-cache and gradient-cache
Figuring out when it might not be used is simply too error prone. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
b7a96df9b0
commit
6172ff3e35
|
|
@ -428,7 +428,7 @@ bool sna_gradients_create(struct sna *sna)
|
|||
{
|
||||
DBG(("%s\n", __FUNCTION__));
|
||||
|
||||
if (!can_render(sna))
|
||||
if (unlikely(sna->kgem.wedged))
|
||||
return true;
|
||||
|
||||
if (!sna_alpha_cache_init(sna))
|
||||
|
|
|
|||
Loading…
Reference in New Issue