Miscellaneous API changes + more MSAA fixes #26
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "TheSpydog/Refresh:api-changes"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Breaking API Changes
REFRESH_SAMPLECOUNT_16/32/64
, since hardware support for these sample counts is generally poor (and completely non-existent with MoltenVK and certain consoles).sampleCount
parameter fromRefresh_TextureCreateInfo
.sampleCount
parameter fromRefresh_ColorAttachmentDescription
. The existence of this parameter meant you had to sync up three different sample count values (render pass, pipeline, and color attachment description) whenever you wanted to use multisampling. However, Vulkan requires that all color attachments in a given pipeline must match the pipeline's sample count anyway, so we can assume all color attachments will use the pipeline's sample count.renderArea
parameter fromRefresh_BeginRenderPass()
since it didn't serve much practical purpose and slightly complicated things on the MoonWorks managed side.Behavior Changes
STORE
, even ifREFRESH_STORE_OP_DONTCARE
is specified. The one exception is internal multisample textures -- ifDONTCARE
is used, those textures will be discarded to save on bandwidth. (Their resolve textures will still be stored.)Refresh_ColorAttachmentDescription.sampleCount
.Bug Fixes