Skip to content
Snippets Groups Projects
Commit fc7b7480 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

iris: Fix "Force Zero RTA Index Enable" setting again

In 2ca0d913, we began updating cso_fb->layers to the actual layer
count, rather than 0.  This fixed cases where we were setting "Force
Zero RTA Index Enable" even when doing layered rendering.  Sadly, it
also broke the check entirely: cso_fb->layers is now 1 for non-layered
cases, but the Force Zero RTA Index check was still comparing for 0.

Fixes: 2ca0d913 ("iris: Fix framebuffer layer count")
parent 717606f9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment