mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Vulkan: Uber shader support
This commit is contained in:
@ -16,16 +16,8 @@ class VertexFormat : public ::NativeVertexFormat
|
||||
public:
|
||||
VertexFormat(const PortableVertexDeclaration& in_vtx_decl);
|
||||
|
||||
// Creates or obtains a pointer to a VertexFormat representing decl.
|
||||
// If this results in a VertexFormat being created, if the game later uses a matching vertex
|
||||
// declaration, the one that was previously created will be used.
|
||||
static VertexFormat* GetOrCreateMatchingFormat(const PortableVertexDeclaration& decl);
|
||||
|
||||
// Passed to pipeline state creation
|
||||
const VkPipelineVertexInputStateCreateInfo& GetVertexInputStateInfo() const
|
||||
{
|
||||
return m_input_state_info;
|
||||
}
|
||||
const VkPipelineVertexInputStateCreateInfo& GetVertexInputStateInfo() const;
|
||||
|
||||
// Converting PortableVertexDeclaration -> Vulkan types
|
||||
void MapAttributes();
|
||||
|
Reference in New Issue
Block a user