layers: Add queue bit checks.

For each command check to make sure if the queue bits are set
correctly for that command.
2 files changed