aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2020-02-11 08:02:12 -0600
committerMarge Bot <[email protected]>2020-03-07 04:51:28 +0000
commit4610d69e37fd9472b88fcc7f1bad6530242aa105 (patch)
tree0a056d2a778596e360d9c1b6296b0f3fbfdcee74 /src/intel
parent28c243e9ece55d0dda0cf065b2496c9f1ff05c79 (diff)
anv: Delete some pointless break statements
They immediately follow returns. Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3777>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/genX_cmd_buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index 298718e5c2a..5ee82b1df6e 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -2901,7 +2901,6 @@ get_push_range_address(struct anv_cmd_buffer *cmd_buffer,
struct anv_descriptor_set *set =
gfx_state->base.descriptors[range->index];
return anv_descriptor_set_address(cmd_buffer, set);
- break;
}
case ANV_DESCRIPTOR_SET_PUSH_CONSTANTS: {
@@ -2911,7 +2910,6 @@ get_push_range_address(struct anv_cmd_buffer *cmd_buffer,
.bo = cmd_buffer->device->dynamic_state_pool.block_pool.bo,
.offset = state.offset,
};
- break;
}
default: {