Do not kill pipeline when fragment shader is invalid.
This commit is contained in:
parent
00e84bbf11
commit
93ff3564b1
@ -287,7 +287,6 @@ MTLRenderPipelineDescriptor* MVKGraphicsPipeline::getMTLRenderPipelineDescriptor
|
||||
id<MTLFunction> mtlFunction = mvkShdrMod->getMTLFunction(&shaderContext, pSS->pSpecializationInfo, _pipelineCache).mtlFunction;
|
||||
if ( !mtlFunction ) {
|
||||
setConfigurationResult(mvkNotifyErrorWithText(VK_ERROR_INITIALIZATION_FAILED, "Fragment shader function could not be compiled into pipeline. See previous error."));
|
||||
return nil;
|
||||
}
|
||||
plDesc.fragmentFunction = mtlFunction;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user