mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
RSX: fix unknown vertex base type (#2120)
This commit is contained in:
parent
5f15c661c6
commit
ebf54d6acd
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue