@@ -612,8 +612,6 @@ typedef struct _plGraphicsI
612612 void (*set_roles) (plCommandBuffer*, const plPassResources*);
613613 void (*end_render_pass) (plCommandBuffer*);
614614 void (*change_texture_role)(plCommandBuffer*, plTextureHandle, plPassResourceRole, plPassResourceAccess, plPassResourceRole, plPassResourceAccess);
615- void (*set_attachment_mapping)(plCommandBuffer*, uint32_t uCount, const uint32_t * puColorAttachmentIndices);
616-
617615 // render encoder: draw stream (preferred system)
618616 // Notes:
619617 // - call reset_draw_stream(...) with the maximum number of possible calls to
@@ -1131,11 +1129,6 @@ typedef struct _plShaderDesc
11311129
11321130 // new
11331131 plRenderAttachmentFormatInfo tRenderAttachmentFormatInfo;
1134- uint32_t uColorAttachmentCount;
1135- uint32_t uColorInputAttachmentCount;
1136- uint32_t auColorAttachmentIndices[PL_MAX_RENDER_TARGETS ];
1137- uint32_t auColorInputAttachmentIndices[PL_MAX_RENDER_TARGETS ];
1138- uint32_t uDepthInputAttachmentIndex;
11391132
11401133 // [INTERNAL]
11411134 uint32_t _uVertexConstantCount;
@@ -1161,6 +1154,7 @@ typedef struct _plRenderAttachment
11611154 plStoreOp tStoreOp;
11621155 plTextureUsage tUsage;
11631156 plTextureHandle tTexture;
1157+ plTextureHandle tResolveTexture;
11641158 plVec4 tClearColor;
11651159 float fClearZ;
11661160 uint32_t uClearStencil;
@@ -1431,8 +1425,7 @@ enum _plTextureUsage
14311425 PL_TEXTURE_USAGE_COLOR_ATTACHMENT = 1 << 1 ,
14321426 PL_TEXTURE_USAGE_DEPTH_STENCIL_ATTACHMENT = 1 << 2 ,
14331427 PL_TEXTURE_USAGE_PRESENT = 1 << 3 ,
1434- PL_TEXTURE_USAGE_INPUT_ATTACHMENT = 1 << 4 ,
1435- PL_TEXTURE_USAGE_STORAGE = 1 << 5
1428+ PL_TEXTURE_USAGE_STORAGE = 1 << 4
14361429};
14371430
14381431enum _plBufferUsage
@@ -1536,8 +1529,7 @@ enum _plPassResourceRole
15361529 PL_PASS_RESOURCE_ROLE_STORAGE = 1 << 1 , // storage texture/buffer read/write
15371530 PL_PASS_RESOURCE_ROLE_ATTACHMENT = 1 << 2 , // render target/depth
15381531 PL_PASS_RESOURCE_ROLE_TRANSFER = 1 << 3 , // copy/mipmap
1539- PL_PASS_RESOURCE_ROLE_PRESENT = 1 << 4 ,
1540- PL_PASS_RESOURCE_ROLE_INPUT_ATTACHMENT = 1 << 5 ,
1532+ PL_PASS_RESOURCE_ROLE_PRESENT = 1 << 4
15411533};
15421534
15431535enum _plCullMode
0 commit comments