mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
e825af7b1b
The special case doesn't appear to make a significant difference in any games, and the current implementation has a (minor, fixable) issue that breaks Super Mario Sunshine (both with a failed assertion (https://bugs.dolphin-emu.org/issues/11742) and a rendering issue (https://bugs.dolphin-emu.org/issues/7476)). Hardware testing wasn't able to reproduce the special case, either, so it may just not exist. PR #9315 contains a fixed implementation of the special case on all video backends, and can serve as a basis for it being reintroduced if it is found to exist under more specific circumstances. For now, I don't see a reason to keep it present.
17 lines
537 B
C++
17 lines
537 B
C++
// Copyright 2009 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
struct InputVertexData;
|
|
struct OutputVertexData;
|
|
|
|
namespace TransformUnit
|
|
{
|
|
void TransformPosition(const InputVertexData* src, OutputVertexData* dst);
|
|
void TransformNormal(const InputVertexData* src, bool nbt, OutputVertexData* dst);
|
|
void TransformColor(const InputVertexData* src, OutputVertexData* dst);
|
|
void TransformTexCoord(const InputVertexData* src, OutputVertexData* dst);
|
|
} // namespace TransformUnit
|