summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2013-11-14 22:47:33 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-11-23 12:23:08 -0800
commit367241ec64c8140b0f1f5f6b452dc315684e4343 (patch)
tree822ac6d83ad93cff4e75bfef4b99f45270f9dc26 /src/mesa
parent15118b45a0648e99d8b6cd20f3c9a0f750b884ef (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 <vlee@freedesktop.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Cc: "10.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit b570c4229fe9c621b56bb9475d77a344039444d4)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp2
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 befea0a787d..e035c01f591 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 };