ac/nir: add break statements in needs_view_index_sgpr()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Jan 2018 09:49:23 +0000 (10:49 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Jan 2018 12:59:52 +0000 (13:59 +0100)
commite1331c9d618e14c620387754839e0e681960b32e
treefd9e4df4e02b9c0eef6be663822215c4365e2a97
parent0663ae0aa1d5b8a1fb6e5da4a9f48ba99da72477
ac/nir: add break statements in needs_view_index_sgpr()

Previous code is correct but as the first case statement uses
a break, keep it consistent.

CID: 1428579
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c