mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
meh
This commit is contained in:
parent
2c393d35f0
commit
98c174edc4
520 changed files with 74815 additions and 58942 deletions
|
@ -116,7 +116,7 @@ void VertexLoaderARM64::ReadVertex(VertexComponentFormat attribute, ComponentFor
|
|||
|
||||
m_float_emit.LDUR(load_size, coords, reg, offset);
|
||||
|
||||
if (format != ComponentFormat::Float)
|
||||
if (format < ComponentFormat::Float)
|
||||
{
|
||||
// Extend and convert to float
|
||||
switch (format)
|
||||
|
@ -394,8 +394,8 @@ void VertexLoaderARM64::GenerateVertexLoader()
|
|||
|
||||
if (m_VtxDesc.low.Normal != VertexComponentFormat::NotPresent)
|
||||
{
|
||||
static constexpr Common::EnumMap<u8, static_cast<ComponentFormat>(7)> SCALE_MAP = {7, 6, 15, 14,
|
||||
0, 0, 0, 0};
|
||||
static constexpr Common::EnumMap<u8, ComponentFormat::InvalidFloat7> SCALE_MAP = {7, 6, 15, 14,
|
||||
0, 0, 0, 0};
|
||||
const u8 scaling_exponent = SCALE_MAP[m_VtxAttr.g0.NormalFormat];
|
||||
|
||||
// Normal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue