Commit 98cf9db6 authored by Sadrul Chowdhury's avatar Sadrul Chowdhury Committed by Commit Bot

gpu: Remove unnecessary bit-shifts of 0.

Change-Id: I6f561871d9f41994519274731bb766dddcad20e9
Reviewed-on: https://chromium-review.googlesource.com/1113823Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570156}
parent 837b3760
......@@ -25,8 +25,8 @@ namespace cmd {
} // namespace cmd
// Pack & unpack Command cmd_flags
#define CMD_FLAG_SET_TRACE_LEVEL(level) ((level & 3) << 0)
#define CMD_FLAG_GET_TRACE_LEVEL(cmd_flags) ((cmd_flags >> 0) & 3)
#define CMD_FLAG_SET_TRACE_LEVEL(level) (level & 3)
#define CMD_FLAG_GET_TRACE_LEVEL(cmd_flags) (cmd_flags & 3)
// Computes the number of command buffer entries needed for a certain size. In
// other words it rounds up to a multiple of entries.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment