Yuri Kunde Schlesner
553e672777
VideoCore: Split u64 Pica reg unions into 2 separate u32 unions
This eliminates UB when aliasing it with the array of u32 regs, and
is compatible with non-LE architectures.
10 years ago
Yuri Kunde Schlesner
bfb1531352
VideoCore: Force enum sizes to u32 in LightingRegs
All enums that are used with BitField must have their type forced to u32
to ensure correctness.
10 years ago
Yuri Kunde Schlesner
af65e1c0a0
OpenGL: Remove unused duplicate of IsPassThroughTevStage
This copy was left behind when the shader generation code was moved to a
separate file.
10 years ago
Yuri Kunde Schlesner
60fc0b086f
VideoCore: Split regs.h inclusions
10 years ago
Yuri Kunde Schlesner
f241bb72f5
Pica/Regs: Use binary search to look up reg names
This gets rid of the static unordered_map. Also changes the return type
const char*, avoiding unnecessary allocations (the result was only used
by calling .c_str() on it.)
10 years ago
Yuri Kunde Schlesner
602f57da38
VideoCore: Use union to index into Regs struct
Also remove some unused members.
10 years ago
Lectem
f146a6d45a
Use std::array<u8,2> instead of u8[2] to fix MSVC build
10 years ago
Lectem
2ee472b9c7
fix wwylele's comment and use typename in templates
10 years ago
Yuri Kunde Schlesner
5759d94b5c
VideoCore: Move Regs to its own file
10 years ago
Yuri Kunde Schlesner
f7c7f422c6
VideoCore: Split shader regs from Regs struct
10 years ago
Yuri Kunde Schlesner
8fca90b5d5
VideoCore: Split geometry pipeline regs from Regs struct
10 years ago
Yuri Kunde Schlesner
f443c7e5b0
VideoCore: Split lighting regs from Regs struct
10 years ago
Yuri Kunde Schlesner
23713d5dee
VideoCore: Split framebuffer regs from Regs struct
10 years ago
Yuri Kunde Schlesner
9017093f58
VideoCore: Split texturing regs from Regs struct
10 years ago
Yuri Kunde Schlesner
000e78144c
VideoCore: Split rasterizer regs from Regs struct
10 years ago
Yuri Kunde Schlesner
c74787a11c
Pica/Texture: Move part of ETC1 decoding to new file and cleanups
10 years ago
Yuri Kunde Schlesner
09a750e866
Pica/Texture: Simplify/cleanup texture tile addressing
10 years ago
Yuri Kunde Schlesner
a1c9ac7845
VideoCore: Move LookupTexture out of debug_utils.h
10 years ago
MerryMage
e2815408fd
arm_dynarmic: Update memory interface
10 years ago
MerryMage
2b36d4c9d7
arm_dynarmic: CP15 support
10 years ago
wwylele
6dc1d6e568
ShaderJIT: add 16 dummy bytes at the bottom of the stack
10 years ago
mailwl
a53714acd3
GSP_GPU::StoreDataCache stubbed ( #2428 )
10 years ago
noah the goodra
a0874d9b64
removed the possibly uneeded cast on values.gdbstub_port
as far as i could tell this cast is unneeded because [GDBStub::SetServerPort](https://github.com/citra-emu/citra/blob/master/src/core/gdbstub/gdbstub.cpp#L897 ) takes a u16 and [values.gdbstub_port](https://github.com/citra-emu/citra/blob/master/src/core/settings.h#L116 ) is already a u16
10 years ago
noah the goodra
6c41d87a9d
removal of the -1 case in the configure_input switch
this case is unneeded because no enumeration value can possibly correspond to it
10 years ago
mailwl
d0bf7df5ba
HLE/Applets: Stub Mint (eShop) Applet ( #2463 )
This allows Phoenix Wright - Dual Destinies to boot.
10 years ago
Weiyi Wang
0b9c59ff22
Common/x64: remove legacy emitter and abi ( #2504 )
These are not used any more since we moved shader JIT to xbyak.
10 years ago
Merry
f7e96dc068
shader_jit_x64_compiler: esi and edi should be persistent ( #2500 )
10 years ago
noah the goodra
a2d0e2d807
file_util: Fixed implicit type conversion warning ( #2503 )
10 years ago
mailwl
0b0c5672c8
Core: update Kernel Config Memory to latest version (11.2)
10 years ago
Jake Merdich
ff28080091
Support looping HLE audio ( #2422 )
* Support looping HLE audio
* DSP: Fix dirty bit clears, handle nonmonotonically incrementing IDs
* DSP: Add start offset support
10 years ago
Yuri Kunde Schlesner
37a4ea046d
VideoCore: Make PrimitiveAssembler const-correct
10 years ago
Yuri Kunde Schlesner
dcdffabfe6
VideoCore: Extract swrast-specific data from OutputVertex
10 years ago
Yuri Kunde Schlesner
8ed9f9d49f
VideoCore/Shader: Clean up OutputVertex::FromAttributeBuffer
This also fixes a long-standing but neverthless harmless memory
corruption bug, whech the padding of the OutputVertex struct would get
corrupted by unused attributes.
10 years ago
Yuri Kunde Schlesner
d36ec905b1
Common: Optimize BitSet iterator
10 years ago
Yuri Kunde Schlesner
92bf5c88e6
VideoCore: Split shader output writing from semantic loading
10 years ago
Yuri Kunde Schlesner
335df895b9
VideoCore: Consistently use shader configuration to load attributes
10 years ago
Yuri Kunde Schlesner
fccb28d2e9
VideoCore: Use correct register for immediate mode attribute count
10 years ago
Yuri Kunde Schlesner
ab6954e942
VideoCore: Rename some types to more accurate names
10 years ago
Yuri Kunde Schlesner
bbc7844021
VideoCore: Change misleading register names
A few registers had names such as "count" or "number" when they actually
contained the maximum (that is, count - 1). This can easily lead to hard
to notice off by one errors.
10 years ago
Kloen
eee37b857b
video_core: gl_rasterizer_cache.cpp removed unused type alias
10 years ago
Kloen
6a3a3964b0
video_core: gl_rasterizer.cpp removed unused type alias
10 years ago
Kloen
b3a0b1489b
core: inline CPU, 132 warnings fixed on GCC
10 years ago
Kloen
28da285031
citra: add missing control paths for ResultStatus on rom load. Fix warning about unhandled enumeration values on OSX
10 years ago
Kloen
2ca3beb9d3
core: fix err_f.cpp warning about unhandled enumeration value on OSX
10 years ago
Kloen
f352a741d3
core: fix savedata_archive.cpp warnings about unhandled enumeration values on OSX
10 years ago
Kloen
c4f9cd3559
core: fix archive_sdmc.cpp warnings about unhandled enumeration value on OSX
10 years ago
Kloen
f14a53abd0
core: fix archive_extsavedata.cpp warning on OSX
10 years ago
Kloen
4652d70572
video_core: silence unused-local-typedef boost related warning on GCC
10 years ago
Kloen
ff7d68d743
core: emu_window.cpp, fix conversion warnings from float to s16 on MSVC
10 years ago
Kloen
818b1730a9
common: add <cstddef> to hash.h
10 years ago