mirror of https://github.com/RPCS3/rpcs3.git
RSX: fix unknown vertex base type (#2120)
This commit is contained in:
parent
5f15c661c6
commit
ebf54d6acd
|
@ -5,6 +5,7 @@ rsx::vertex_base_type rsx::to_vertex_base_type(u8 in)
|
||||||
{
|
{
|
||||||
switch (in)
|
switch (in)
|
||||||
{
|
{
|
||||||
|
case 0: return rsx::vertex_base_type::invalid;
|
||||||
case 1: return rsx::vertex_base_type::s1;
|
case 1: return rsx::vertex_base_type::s1;
|
||||||
case 2: return rsx::vertex_base_type::f;
|
case 2: return rsx::vertex_base_type::f;
|
||||||
case 3: return rsx::vertex_base_type::sf;
|
case 3: return rsx::vertex_base_type::sf;
|
||||||
|
|
|
@ -5,6 +5,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
enum class vertex_base_type : u8
|
enum class vertex_base_type : u8
|
||||||
{
|
{
|
||||||
|
invalid,
|
||||||
s1, ///< signed byte
|
s1, ///< signed byte
|
||||||
f, ///< float
|
f, ///< float
|
||||||
sf, ///< half float
|
sf, ///< half float
|
||||||
|
|
Loading…
Reference in New Issue