mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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 b570c4229f)
This commit is contained in:
parent
15118b45a0
commit
367241ec64
1 changed files with 2 additions and 0 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue