Skip to content
2 changes: 2 additions & 0 deletions llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3146,6 +3146,8 @@ bool SPIRVInstructionSelector::selectDpdCoarse(Register ResVReg,
const SPIRVType *ResType,
MachineInstr &I,
const unsigned DPdOpCode) const {
// TODO: This should check specifically for Fragment Execution Model, but STI
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typically we would put the issue number in the todo so #167562

// doesn't provide that information yet.
if (!STI.isShader()) {
std::string DiagMsg;
raw_string_ostream OS(DiagMsg);
Expand Down
Loading