Explicitly make default case break for Maxwell3D::HandleMethod

This being made implicit removes any confusion that all cases would need to be implemented and explicitly define that the CF should continue onto the 2nd switch-case when it cannot find any matches in the first one.
This commit is contained in:
PixelyIon 2021-11-16 15:31:21 +05:30
parent 612f324e78
commit d8890f13e1

View File

@ -377,6 +377,9 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
BOOST_PP_REPEAT(6, SET_SHADER_ENABLE_CALLBACK, 0) BOOST_PP_REPEAT(6, SET_SHADER_ENABLE_CALLBACK, 0)
static_assert(type::StageCount == 6 && type::StageCount < BOOST_PP_LIMIT_REPEAT); static_assert(type::StageCount == 6 && type::StageCount < BOOST_PP_LIMIT_REPEAT);
#undef SET_SHADER_ENABLE_CALLBACK #undef SET_SHADER_ENABLE_CALLBACK
default:
break;
} }
} }