diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-02-19 03:35:02 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-02-19 10:13:11 +0100 |
commit | c7fcaf231466ee602d3973b1cb01d3f03cc072e9 (patch) | |
tree | 3c3640839ff698d6c5e8f9177ee1c087795b1701 /src/amd/vulkan | |
parent | e12cf3f9bf4d71579360cb6735c1023bf39aaad3 (diff) |
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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Acked-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 75149c5ba1a..57d55b34e36 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -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: |