mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
494a60e41b
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").
26 lines
568 B
C++
26 lines
568 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "VideoCommon/NativeVertexFormat.h"
|
|
|
|
class VertexLoader_TextCoord
|
|
{
|
|
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);
|
|
|
|
// GetDummyFunction
|
|
// It is important to synchronize tcIndex.
|
|
static TPipelineFunction GetDummyFunction();
|
|
};
|