mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
meh
This commit is contained in:
parent
2c393d35f0
commit
98c174edc4
520 changed files with 74815 additions and 58942 deletions
|
@ -149,11 +149,14 @@ static void ReadVertexAttribute(T* dst, DataReader src, const AttributeFormat& f
|
|||
dst[i_dst] = ReadNormalized<T, s16>(src.Read<s16, swap>());
|
||||
break;
|
||||
case ComponentFormat::Float:
|
||||
case ComponentFormat::InvalidFloat5:
|
||||
case ComponentFormat::InvalidFloat6:
|
||||
case ComponentFormat::InvalidFloat7:
|
||||
dst[i_dst] = ReadNormalized<T, float>(src.Read<float, swap>());
|
||||
break;
|
||||
}
|
||||
|
||||
ASSERT_MSG(VIDEO, !format.integer || format.type != ComponentFormat::Float,
|
||||
ASSERT_MSG(VIDEO, !format.integer || (format.type < ComponentFormat::Float),
|
||||
"only non-float values are allowed to be streamed as integer");
|
||||
}
|
||||
for (; i < components; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue