Merge pull request #436 from cdavis5e/reenable-aux-buffer

Remove needless disablement of the fragment aux buffer.
This commit is contained in:
Bill Hollings 2018-12-31 15:43:14 -05:00 committed by GitHub
commit f80136c2fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -341,10 +341,6 @@ MTLRenderPipelineDescriptor* MVKGraphicsPipeline::getMTLRenderPipelineDescriptor
}
}
// bug fix by aerofly -> if no fragment shader is used and _needsFragmentAuxBuffer was true newBufferWithLength was trying to allocate zero bytes
// please verify this fix
_needsFragmentAuxBuffer = false;
// Fragment shader - only add if rasterization is enabled
for (uint32_t i = 0; i < pCreateInfo->stageCount; i++) {
const VkPipelineShaderStageCreateInfo* pSS = &pCreateInfo->pStages[i];