@@ -467,6 +467,7 @@ pl__get_3d_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, p
467467 .atBlendStates = {
468468 {
469469 .bBlendEnabled = true,
470+ .uColorWriteMask = PL_COLOR_WRITE_MASK_ALL ,
470471 .tSrcColorFactor = PL_BLEND_FACTOR_SRC_ALPHA ,
471472 .tDstColorFactor = PL_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA ,
472473 .tColorOp = PL_BLEND_OP_ADD ,
@@ -513,6 +514,7 @@ pl__get_3d_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, p
513514 .atBlendStates = {
514515 {
515516 .bBlendEnabled = true,
517+ .uColorWriteMask = PL_COLOR_WRITE_MASK_ALL ,
516518 .tSrcColorFactor = PL_BLEND_FACTOR_SRC_ALPHA ,
517519 .tDstColorFactor = PL_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA ,
518520 .tColorOp = PL_BLEND_OP_ADD ,
@@ -581,6 +583,7 @@ pl__get_2d_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, u
581583 .atBlendStates = {
582584 {
583585 .bBlendEnabled = true,
586+ .uColorWriteMask = PL_COLOR_WRITE_MASK_ALL ,
584587 .tSrcColorFactor = PL_BLEND_FACTOR_SRC_ALPHA ,
585588 .tDstColorFactor = PL_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA ,
586589 .tColorOp = PL_BLEND_OP_ADD ,
@@ -598,7 +601,7 @@ pl__get_2d_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, u
598601 }
599602 },
600603 {
601- .atTextureBindings = {
604+ .atTextureBindings = {
602605 {.uSlot = 0 , .tStages = PL_SHADER_STAGE_FRAGMENT , .tType = PL_TEXTURE_BINDING_TYPE_SAMPLED }
603606 }
604607 }
@@ -636,6 +639,7 @@ pl__get_2d_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, u
636639 .atBlendStates = {
637640 {
638641 .bBlendEnabled = true,
642+ .uColorWriteMask = PL_COLOR_WRITE_MASK_ALL ,
639643 .tSrcColorFactor = PL_BLEND_FACTOR_SRC_ALPHA ,
640644 .tDstColorFactor = PL_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA ,
641645 .tColorOp = PL_BLEND_OP_ADD ,
@@ -653,13 +657,13 @@ pl__get_2d_pipeline(plRenderPassHandle tRenderPass, uint32_t uMSAASampleCount, u
653657 }
654658 },
655659 {
656- .atTextureBindings = {
660+ .atTextureBindings = {
657661 {.uSlot = 0 , .tStages = PL_SHADER_STAGE_FRAGMENT , .tType = PL_TEXTURE_BINDING_TYPE_SAMPLED }
658662 }
659663 }
660664 },
661665 .tMSAASampleCount = uMSAASampleCount
662- };
666+ };
663667 ptEntry -> tSecondaryPipeline = gptGfx -> create_shader (ptDevice , & tSecondaryShaderDesc );
664668 pl_temp_allocator_reset (& gptDrawBackendCtx -> tTempAllocator );
665669 return ptEntry ;
0 commit comments