Skip to content

Commit 2797137

Browse files
committed
adapt code to new pattern since #129689
1 parent b621913 commit 2797137

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ getExecutionModel(const SPIRVSubtarget &STI, const Function &F) {
282282
return SPIRV::ExecutionModel::GLCompute;
283283
if (value == "vertex")
284284
return SPIRV::ExecutionModel::Vertex;
285+
if (value == "pixel")
286+
return SPIRV::ExecutionModel::Fragment;
285287

286288
report_fatal_error(
287289
"This HLSL entry point is not supported by this backend.");

0 commit comments

Comments
 (0)