Skip to content

Commit f37e8e9

Browse files
jaladreipsigcbot
authored andcommitted
Change the isBindless check for raytracing shaders
Change the isBindless check for raytracing shaders
1 parent 800e36d commit f37e8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/common/MDFrameWork.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ void IGC::serialize(const IGC::ModuleMetaData &moduleMD, Module* module)
531531

532532
bool IGC::isBindless(const IGC::FunctionMetaData &funcMD)
533533
{
534-
return funcMD.functionType == IGC::CallableShader;
534+
return funcMD.rtInfo.callableShaderType != RayGen;
535535
}
536536

537537
bool IGC::isContinuation(const IGC::FunctionMetaData& funcMD)

0 commit comments

Comments
 (0)