dolphin/Source/Core/VideoCommon/VertexLoader_Position.h
Pierre Bourdon 494a60e41b VertexLoader: Change VtxDesc to use u64 instead of u32
This is required to make packing consistent between compilers: with u32, MSVC
would not allocate a bitfield that spans two u32s (it would leave a "hole").
2014-09-01 11:18:02 +02:00

20 lines
411 B
C++

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
class VertexLoader_Position {
public:
// Init
static void Init();
// GetSize
static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements);
// GetFunction
static TPipelineFunction GetFunction(u64 _type, unsigned int _format, unsigned int _elements);
};