diff options
author | Vinson Lee <[email protected]> | 2013-11-14 22:47:33 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2013-11-15 18:29:34 -0800 |
commit | b570c4229fe9c621b56bb9475d77a344039444d4 (patch) | |
tree | 4610b4cbdb073cc7a099eaf257631091f41c8fc4 | |
parent | e5885c119de1e508099cc1111e1c9f8ff00fab88 (diff) |
i965: Add missing break in SHADER_OPCODE_GEN7_SCRATCH_READ case.
Fixes "Missing break in switch" defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Cc: "10.0" <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp index 39a5266d1c2..a4fae0d11f1 100644 --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp +++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp @@ -335,6 +335,8 @@ schedule_node::set_latency_gen7(bool is_haswell) * then around 140. Presumably this is cache hit vs miss. */ latency = 50; + break; + case SHADER_OPCODE_UNTYPED_ATOMIC: /* Test code: * mov(8) g112<1>ud 0x00000000ud { align1 WE_all 1Q }; |