rsx/common/gl: s32k is actually signed short unormalized.

gl fix
This commit is contained in:
Vincent Lejeune 2016-02-22 22:07:38 +01:00
parent 62246f75c8
commit a6ba47265f
4 changed files with 8 additions and 8 deletions

View file

@ -127,6 +127,7 @@ namespace rsx
switch (type)
{
case vertex_base_type::s1:
case vertex_base_type::s32k:
switch (size)
{
case 1:
@ -160,7 +161,6 @@ namespace rsx
return sizeof(u8) * 4;
}
throw EXCEPTION("Wrong vector size");
case vertex_base_type::s32k: return sizeof(u32) * size;
case vertex_base_type::cmp: return sizeof(u16) * 4;
case vertex_base_type::ub256: Expects(size == 4); return sizeof(u8) * 4;
}