Skip to content

Commit 985e7b2

Browse files
author
Alexander Johnston
committed
[SPIRV] Add todo to update instruction check when possible
1 parent 2cfaedb commit 985e7b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,6 +3146,8 @@ bool SPIRVInstructionSelector::selectDpdCoarse(Register ResVReg,
31463146
const SPIRVType *ResType,
31473147
MachineInstr &I,
31483148
const unsigned DPdOpCode) const {
3149+
// TODO: This should check specifically for Fragment Execution Model, but STI
3150+
// doesn't provide that information yet.
31493151
if (!STI.isShader()) {
31503152
std::string DiagMsg;
31513153
raw_string_ostream OS(DiagMsg);

0 commit comments

Comments
 (0)