radv: Invert ring SGPR check.

I assume this wants to check if all pipelines use the same SGPR for
the rings.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
Bas Nieuwenhuizen
2017-02-19 03:35:02 +01:00
parent e12cf3f9bf
commit c7fcaf2314
+1 -1
View File
@@ -1900,7 +1900,7 @@ void radv_CmdBindPipeline(
if (cmd_buffer->ring_offsets_idx == -1)
cmd_buffer->ring_offsets_idx = loc->sgpr_idx;
else if (loc->sgpr_idx != -1)
assert(loc->sgpr_idx != cmd_buffer->ring_offsets_idx);
assert(loc->sgpr_idx == cmd_buffer->ring_offsets_idx);
}
break;
default: