Merge branch 'master' into master
This commit is contained in:
commit
2b19954d11
@ -343,7 +343,8 @@ 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
|
||||
|
||||
// Fragment shader - only add if rasterization is enabled
|
||||
for (uint32_t i = 0; i < pCreateInfo->stageCount; i++) {
|
||||
const VkPipelineShaderStageCreateInfo* pSS = &pCreateInfo->pStages[i];
|
||||
if (mvkAreFlagsEnabled(pSS->stage, VK_SHADER_STAGE_FRAGMENT_BIT) && !shaderContext.options.isRasterizationDisabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user