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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user