Tony Wasserka
bc187be0c1
Pica/Rasterizer: Remove some redundant casts.
11 years ago
Tony Wasserka
9675d19b47
Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea.
11 years ago
Tony Wasserka
47543d62cf
Pica: Cleanup color conversion.
11 years ago
Tony Wasserka
614baa39d1
VideoCore: Remove some unused functions.
11 years ago
Tony Wasserka
d13bd327ba
Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping.
11 years ago
Tony Wasserka
195d73a385
Pica/Rasterizer: Clean up long code lines.
11 years ago
Tony Wasserka
40c7200841
Pica/VertexShader: Coding style fixes.
11 years ago
Tony Wasserka
323a56f898
Pica/CommandProcessor: Cleanups.
11 years ago
Tony Wasserka
b2d461020d
Pica/CommandProcessor: Workaround games not setting the input position's w component.
11 years ago
Tony Wasserka
18a5e888bb
GPU: Pseudo-implement horizontal scaling.
It's not really known how this actually works. Some testing has shown that this probably performs no filtering, and common usage in games suggests it's not actually resizing the image at all.
However, this patch does seem to fix some homebrew showing quasi-duplicated images while still keeping other applications in a working state.
11 years ago
Tony Wasserka
0f49424022
Pica/Rasterizer: Implement backface culling.
11 years ago
Tony Wasserka
3b78af904e
Pica/Rasterizer: Textures seem to be laid out flipped vertically.
Not sure if this is a correct fix. Probably should instead change the decoding logic itself.
11 years ago
Tony Wasserka
3da52ead9b
Pica/DebugUtils: Fix a bug in RGBA4 texture decoding.
11 years ago
Tony Wasserka
a7ae0330b1
Pica/Rasterizer: Implement alpha blending.
11 years ago
Tony Wasserka
e229ff8c83
Pica/Rasterizer: Implement depth testing.
11 years ago
Tony Wasserka
77bb58afeb
Pica/Rasterizer: Further enhance Tev support.
11 years ago
Tony Wasserka
36291bc3f6
Pica: Add output merger definitions.
11 years ago
Tony Wasserka
632655e292
Pica: Fix A4, IA4 and IA8 texture formats.
Both IA4 and IA8 had their component order mixed up. Additionally, IA4 used the wrong number of nibbles per texel. A4 skipped every second texel.
11 years ago
Tony Wasserka
b7a48c422a
Pica/CommandProcessor: Add support for integer uniforms.
11 years ago
Tony Wasserka
b03a97e0b8
citra-qt: Fix displaying RGBA5551 framebuffers.
(not that it matters at the moment, because this code is not used yet)
11 years ago
Tony Wasserka
e1144e364e
citra-qt: Always show pica framebuffers as RGBA8.
We actually don't really know yet how the format is encoded. Hence just use what works.
11 years ago
Lioncash
3cc4af99d1
dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAX
11 years ago
Chin
3aeb5970e5
Add citra icon to Windows executable and title bar
11 years ago
bunnei
631f13e462
dyncom: Massive refactor
11 years ago
Lioncash
5894c407c2
vfp: Get rid of a few warnings
11 years ago
Lioncash
6ce4b7b666
vfp: Implement VMOVBRRSS
11 years ago
Lioncash
cc9f458ad3
dyncom: Implement USAT16/SSAT16
11 years ago
darkf
5d10b212ec
Fix MSVC-related #defines and add CMakeLists comment
11 years ago
Subv
545ded954d
APT:A: Some style changes
11 years ago
purpasmart96
d5049cbba5
MemMap: Add support for DSP Read & Writes in the memory map
11 years ago
Subv
2c89d4d5cd
Archives: Implemented ExtSaveData and SharedExtSaveData
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively.
Also redirect some APT_A functions to their APT_U equivalents.
Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module.
Implemented formatting the savegame.
Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
11 years ago
bunnei
021fb42075
dyncom: Implement USAT/SSAT
11 years ago
bunnei
aa49019afb
dyncom: Various cleanups to match coding style, no functional changes.
11 years ago
Lioncash
d08d9f8747
dyncom: Fix SMLALXY's instruction labels
They were erroneously labeled as SMLAL.
11 years ago
Lioncash
e412c0fc46
dyncom: Implement QADD8/QSUB8
11 years ago
Lioncash
7ad400d5a7
armemu: Implement QADD8/QSUB8
11 years ago
Yuri Kunde Schlesner
8369ee5803
Rasterizer: Pre-divide vertex attributes by W
Execute the division-by-W for perspective-correct interpolation of
values in the clipper, moving them out of the rasterization inner loop.
11 years ago
Yuri Kunde Schlesner
fe186d3a59
GPU: Bitwise texture swizzling
Replace the loop-based texture address swizzling code by a bit-twiddling
implementation, providing a very small speed up. Also simplify
addressing code.
11 years ago
Yuri Kunde Schlesner
2012e1420f
Rasterizer: Common sub-expression elimination
Move the computation of some values out of loops so that they're not
constantly recalculated even when they don't change.
11 years ago
Yuri Kunde Schlesner
7e9bc85cc8
Clipper: Compact buffers on each clipping pass
Use a new buffer management scheme in the clipper that allows using a
bounded minimal amount of buffer space. Even though it copies more data
it is still slightly faster likely due to using less cache.
11 years ago
Yuri Kunde Schlesner
a320d1a5b4
Clipper: Avoid dynamic allocations
The triangle clipper was allocating its temporary input, output and work
buffers using a std::vector. Since this is a hot path, it's desirable to
use stack allocation instead.
11 years ago
Yuri Kunde Schlesner
d151d797b1
Vertex Shader: Zero OutputVertex to avoid denormals
Unused OutputVertex attributes were being left un-initialized. The
leftover garbage sometimes decoded as floating-point denormalized
values, causing fallbacks to microcode and massive slowdowns in the rest
of the rasterization pipeline even though the results were unused. By
zeroing the structure we ensure these attributes only contain harmless
zeros.
11 years ago
Lioncash
5c198686ce
dyncom: Implement UXTB16/UXTAB16
11 years ago
bunnei
3b9d181b8e
GPU: Implement frameskip and remove forced framebuffer swap hack.
11 years ago
Lioncash
9c7f2570f7
vfp: Actually make the code somewhat readable
11 years ago
bunnei
bf9b33aa9f
dyncom: Implement PKHBT and PKHTB.
11 years ago
bunnei
58cb62fe7b
armemu: Fix PKHTB to do an arithmetic shift and correctly decode immediate field.
11 years ago
xdec
e6162ed91e
Qt: we don't need to check if model is valid.
11 years ago
Lioncash
7d322b5c6f
dyncom: Implement USAD8/USADA8
11 years ago
Lioncash
6ce2a38ec4
armemu: Simplify SSAT/SSAT16/SXTB/SXTAB
11 years ago