Skip to content

Commit

Permalink
collapse redundant cases into default, return Invalid instead of empt…
Browse files Browse the repository at this point in the history
…y string:
  • Loading branch information
bob80905 committed Jan 24, 2024
1 parent 7dec32b commit 4dcddfb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/HLSL/DxilValidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2142,12 +2142,8 @@ std::string GetLaunchTypeStr(DXIL::NodeLaunchType LT) {
return "Coalescing";
case DXIL::NodeLaunchType::Thread:
return "Thread";
case DXIL::NodeLaunchType::Invalid:
case DXIL::NodeLaunchType::LastEntry:
return "";

default:
return "";
return "Invalid";
}
}

Expand Down

0 comments on commit 4dcddfb

Please sign in to comment.