(GPU.cpp) Combine some case statements