KhronosGroup/MoltenVK

Add support for VkLogicOp

Open

#374 aperta il 8 dic 2018

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Objective-C++ (514 fork)github user discovery
EnhancementHelp wanted

Metriche repository

Star
 (5666 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

MoltenVK currently does not support the VkLogicOp member of the VkPipelineColorBlendStateCreateInfo structure, for the understandable reason that Metal has no equivalent functionality. However I make extensive use of AND, OR and XOR logical operations in my applications and the loss of this feature would be a very serious problem for me (currently I am using glLogicOp in OpenGL and hoping Apple doesn't drop OpenGL support in MacOS any time soon!).

It has been suggested that a workaround might be possible in MoltenVK by implementing the logical operations in a shader, is this something on the radar?

Guida contributor