archshift
89241b3e89
Shader JIT: ifdef out reference to ifdef'd out shader_map
shader_map was only defined on x86 architectures, but was cleared on shutdown
with no ifdef protection. Ifdef this out so non-x86 architectures can be built.
11 years ago
Yuri Kunde Schlesner
424b0fa646
Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
11 years ago
Yuri Kunde Schlesner
9023d7a1d4
Shader JIT: Tiny micro-optimization in DPH
11 years ago
Yuri Kunde Schlesner
9a4a0cc8e0
Shaders: Fix multiplications between 0.0 and inf
The PICA200 semantics for multiplication are so that when multiplying
inf by exactly 0.0, the result is 0.0, instead of NaN, as defined by
IEEE. This is relied upon by games.
Fixes #1024 (missing OoT interface items)
11 years ago
Yuri Kunde Schlesner
8b0a7e7afe
Shaders: Explicitly conform to PICA semantics in MAX/MIN
11 years ago
Yuri Kunde Schlesner
c0959ca635
Shader JIT: Add name to second scratch register (XMM4)
11 years ago
Lioncash
33955e171b
shader_jit: Replace two MDisp usages with MatR
11 years ago
Yuri Kunde Schlesner
f02539e59d
Shader JIT: Fix CMP NaN behavior to match hardware
11 years ago
aroulin
8367db5dcd
Shader: Use std::sqrt for float instead of sqrt
11 years ago
aroulin
2bcee80587
Shader: RCP and RSQ computes only the 1st component
11 years ago
aroulin
fd789c6858
Shader: implement DPH/DPHI in JIT
11 years ago
aroulin
677a97c8bf
Shader: implement DPH/DPHI in interpreter
Tests revealed that the component with w=1 is
SRC1 and not SRC2, it is now fixed on 3dbrew.
11 years ago
aroulin
d1c8dcd844
Shader: implement SGE, SGEI and SLT in JIT
11 years ago
aroulin
76afa48b0c
Shader: implement SGE, SGEI in interpreter
11 years ago
aroulin
12e2cb045f
Shader: Save caller-saved registers in JIT before a CALL
11 years ago
aroulin
28f5cdc0dd
Shader: implement EX2 and LG2 in JIT
11 years ago
aroulin
7ca01b779f
Shader: implement EX2 and LG2 in interpreter
11 years ago
Tony Wasserka
ca1fea38dc
Build fix for Debug configurations.
11 years ago
Tony Wasserka
1c1a9ab09b
Introduce a shader tracer to allow inspection of input/output values for each processed instruction.
11 years ago
Tony Wasserka
41dda548cd
citra-qt: Improve shader debugger.
Now supports dumping the current shader and recognizes a larger number of output semantics.
11 years ago
bunnei
5c7e9ffce7
Shader: Use a POD struct for registers.
11 years ago
bunnei
4ffc095fa3
Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.
11 years ago
bunnei
e019e69016
Common: Cleanup CPU capability detection code.
11 years ago
bunnei
15e9a59ad0
Common: Move cpu_detect to x64 directory.
11 years ago
bunnei
f9e3228caa
x64: Refactor to remove fake interfaces and general cleanups.
11 years ago
bunnei
fe33a705de
JIT: Support negative address offsets.
11 years ago
bunnei
c03924e60e
Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
- Config: Add an option for selecting to use shader JIT or interpreter.
- Qt: Add a menu option for enabling/disabling the shader JIT.
11 years ago
bunnei
be08c22685
Common: Added MurmurHash3 hash function for general-purpose use.
11 years ago
bunnei
5794310781
Shader: Define a common interface for running vertex shader programs.
11 years ago
bunnei
2d100ebae3
Shader: Move shader code to its own subdirectory, "shader".
11 years ago