RSX: fix unknown vertex base type (#2120)

This commit is contained in:
raven02 2016-09-04 14:36:37 +08:00 committed by GitHub
parent 5f15c661c6
commit ebf54d6acd
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ rsx::vertex_base_type rsx::to_vertex_base_type(u8 in)
{
switch (in)
{
case 0: return rsx::vertex_base_type::invalid;
case 1: return rsx::vertex_base_type::s1;
case 2: return rsx::vertex_base_type::f;
case 3: return rsx::vertex_base_type::sf;

View File

@ -5,6 +5,7 @@ namespace rsx
{
enum class vertex_base_type : u8
{
invalid,
s1, ///< signed byte
f, ///< float
sf, ///< half float