mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
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)
|
||||
{
|
||||
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;
|
||||
|
@ -5,6 +5,7 @@ namespace rsx
|
||||
{
|
||||
enum class vertex_base_type : u8
|
||||
{
|
||||
invalid,
|
||||
s1, ///< signed byte
|
||||
f, ///< float
|
||||
sf, ///< half float
|
||||
|
Loading…
Reference in New Issue
Block a user