bunnei
b07c7c26c6
gl_shader_gen: Implement fragment lighting specular 1 component.
10 years ago
bunnei
f878148e30
gl_shader_gen: Add support for D0 LUT scaling.
10 years ago
bunnei
481017a334
gl_shader_gen: Refactor lighting config to match Pica register naming.
- Also implement D0 LUT enable.
10 years ago
bunnei
1bb0aa6c01
pica: Cleanup and add some comments to lighting registers.
10 years ago
bunnei
2658c7f266
gl_rasterizer: Minor naming refactor on Pica register naming.
10 years ago
bunnei
f7510ba8f0
gl_shader_gen: Reorganize and cleanup lighting code.
- No functional difference.
10 years ago
bunnei
9cd5c49ee5
gl_shader_gen: Fix directional lights.
10 years ago
bunnei
aabc988463
gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light.
10 years ago
bunnei
14877aa76f
gl_shader_gen: View vector needs to be normalized when computing half angle vector.
10 years ago
bunnei
bb3014fb28
renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.
- Gets us LUT interpolation for free.
- Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
10 years ago
bunnei
81511f08fa
renderer_opengl: Initial implementation of basic specular lighting.
10 years ago
bunnei
49cd958486
renderer_opengl: Implement HW fragment lighting distance attenuation.
10 years ago
bunnei
11fba4e8d0
renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.
10 years ago
bunnei
07b07a2f24
renderer_opengl: Implement diffuse component of HW fragment lighting.
10 years ago
bunnei
3c3e328340
pica: Implement decoding of basic fragment lighting components.
- Diffuse
- Distance attenuation
- float16/float20 types
- Vertex Shader 'view' output
10 years ago
bunnei
8a9194f06e
pica: Implement fragment lighting LUTs.
10 years ago
bunnei
fe094ec9a0
pica: Add decodings for distance attenuation and LUT registers.
10 years ago
bunnei
d5edd881d3
pica: Add pica_types module and move float24 definition.
10 years ago
Lioncash
e9114a6976
backend: defaulted move constructor/assignment
10 years ago
tfarley
958e67ab53
hwrasterizer: Use proper cached fb addr/size
10 years ago
Yuri Kunde Schlesner
e82e3f64fd
OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging level
The nVidia driver is *extremely* spammy on this category, sending a
message on every buffer or texture upload, slowing down the emulator and
making the log useless.
10 years ago
Lioncash
c731d31b7c
services: Get rid of unnecessary includes
10 years ago
Lioncash
9bcfc35ba0
services: Update function tables
10 years ago
MerryMage
e614492dca
Memory: Implement MMIO
10 years ago
Lioncash
15d0530902
color: Make trivial helpers constexpr
10 years ago
Lioncash
f290c57dee
elf: Don't cast away const
10 years ago
Lioncash
fa95cad2f9
key_map: Use std::tie for comparisons
10 years ago
Lioncash
4a87f38e9c
archive_backend: Remove unnecessary const from return types
This doesn't return by reference so const isn't really necessary
10 years ago
Yuri Kunde Schlesner
c922298b37
Debugger: Use 3dbrew names for GPU registers
This list was imported from the 3dbrew wiki page and is pretty much
complete.
10 years ago
Yuri Kunde Schlesner
b4c68589f6
Shader: Implement "invert condition" feature of IFU instruction
If the bit 0 of the JMPU instruction is set, then the jump condition
will be inverted. That is, a jump will happen when the boolean is false
instead of when it is true.
10 years ago
Yuri Kunde Schlesner
d1096d9adc
Shader JIT: Fix off-by-one error when compiling JMPs
There was a mistake in the JMP code which meant that one instruction at
the destination would be skipped when the jump was taken. This commit
also changes the meaning of the culprit parameter to make it less
confusing and avoid similar mistakes in the future.
10 years ago
tfarley
ee33d54b6f
hwrasterizer: Use depth offset
10 years ago
rob turner
0d435fe4d8
ARM_Disasm::DisassembleMemHalf: actually use width in determining opcode name
10 years ago
Lioncash
3b682a824e
command_processor: Get rid of variable shadowing
10 years ago
Subv
d9c4c1622f
HLE/SVC: Implement UnmapMemoryBlock.
This implementation will need to be (almost completely) changed when we implement multiprocess support.
10 years ago
archshift
b1ebd54cb6
Change default gameListRootDir from "" to "."
Not much thought went into that one...
10 years ago
archshift
8e9fde2828
Gamelist: supply default settings for QSettings config
10 years ago
Lioncash
49e3979ae6
arm_dyncom_dec: Fix decoding of VMLS
Previously, all VMLS variants would misdecode as CDP
(which isn't necessarily wrong in itself, however
VMLS has it's own label of execution)
10 years ago
Lioncash
58a100d3b7
services: Update some function tables
10 years ago
Lioncash
4dcc5fe6ab
video_core: Make the renderer global a unique_ptr
10 years ago
Subv
9aa852982f
HLE/Timers: Reset OneShot timers when they are acquired instead of when they're triggered.
Closes #1139
10 years ago
Lioncash
d70ea5b6aa
swrasterizer: Add missing override specifier
10 years ago
Lioncash
a64af28cf2
core: Use unique_ptr for holding the interpreter instances
10 years ago
Lioncash
39609e9d6e
dyncom: Handle modifying the APSR via an MRC instruction
10 years ago
Subv
a2c2b28b54
SVC: Fixed ArbitrateAddress to behave as it does on hardware.
This was verified with hwtests that i plan to upload later on.
10 years ago
Lioncash
4ab2d11182
svc: Remove superfluous printf argument
10 years ago
Subv
2e01b5d390
HLE/Sockets: Fixed the buffer offset in recvfrom.
Closes #1277
10 years ago
LFsWang
d8d9d5d916
Add missing return values in ForeachDirectoryEntry
ForeachDirectoryEntry is changed by #1256 ,but return value at last line
was missing.
10 years ago
Lioncash
0908f894ca
dyncom: Remove PC dispatch from several instructions
These instructions aren't capable of using the PC as a destination
10 years ago
Yuri Kunde Schlesner
b7109a1113
VideoCore: Sync state after changing rasterizers
This fixes various bugs that appear in the HW rasterizer after switching
between it and the SW one during emulation.
10 years ago