0e67c21c9e
gl_shader_gen: Implement fragment lighting specular 1 component.
2016-02-05 17:19:16 -05:00
781b046579
gl_shader_gen: Add support for D0 LUT scaling.
2016-02-05 17:18:36 -05:00
3d89dacd56
gl_shader_gen: Refactor lighting config to match Pica register naming.
...
- Also implement D0 LUT enable.
2016-02-05 17:17:35 -05:00
6307999116
pica: Cleanup and add some comments to lighting registers.
2016-02-05 17:17:34 -05:00
6878ba7608
gl_rasterizer: Minor naming refactor on Pica register naming.
2016-02-05 17:17:33 -05:00
76f303538b
gl_shader_gen: Reorganize and cleanup lighting code.
...
- No functional difference.
2016-02-05 17:17:33 -05:00
5f3bad8fb1
gl_shader_gen: Fix directional lights.
2016-02-05 17:17:32 -05:00
bdc72d0904
gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light.
2016-02-05 17:17:32 -05:00
603b619cbe
gl_shader_gen: View vector needs to be normalized when computing half angle vector.
2016-02-05 17:17:31 -05:00
021cb0bced
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.
2016-02-05 17:17:31 -05:00
bf89870437
renderer_opengl: Initial implementation of basic specular lighting.
2016-02-05 17:17:30 -05:00
e34fa6365f
renderer_opengl: Implement HW fragment lighting distance attenuation.
2016-02-05 17:17:30 -05:00
e9af70eaf3
renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.
2016-02-05 17:17:29 -05:00
afbef52516
renderer_opengl: Implement diffuse component of HW fragment lighting.
2016-02-05 17:17:29 -05:00
b003075570
pica: Implement decoding of basic fragment lighting components.
...
- Diffuse
- Distance attenuation
- float16/float20 types
- Vertex Shader 'view' output
2016-02-05 17:17:28 -05:00
281bc90ad2
pica: Implement fragment lighting LUTs.
2016-02-05 17:17:27 -05:00
4369767c72
pica: Add decodings for distance attenuation and LUT registers.
2016-02-05 17:17:26 -05:00
38c7b20475
pica: Add pica_types module and move float24 definition.
2016-02-05 17:17:26 -05:00
69e2453649
Merge pull request #1391 from tfarley/hw-fb-sync-fix
...
hwrasterizer: Use proper cached framebuffer addr/size
2016-02-05 17:03:58 -05:00
7400100da7
Merge pull request #1392 from lioncash/move
...
backend: defaulted move constructor/assignment
2016-02-04 20:39:36 -08:00
c89e3d5951
backend: defaulted move constructor/assignment
2016-02-04 22:39:33 -05:00
a15f4d1590
hwrasterizer: Use proper cached fb addr/size
2016-02-03 15:52:34 -05:00
7497675a83
Merge pull request #1387 from lioncash/func
...
services: minor changes
2016-02-03 12:14:48 -05:00
30fd5d9e96
Merge pull request #1388 from yuriks/spammy-opengl-debug
...
OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging level
2016-02-03 01:57:22 -05:00
05356543d9
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.
2016-02-02 22:44:13 -08:00
0937bed8d8
services: Get rid of unnecessary includes
2016-02-02 01:40:23 -05:00
5e5bb0c32e
services: Update function tables
2016-02-01 21:49:44 -05:00
cd0b31fd73
Merge pull request #1377 from MerryMage/mmio
...
Memory: Implemented MMIO
2016-01-30 19:03:33 -05:00
2b93313348
Memory: Implement MMIO
2016-01-30 18:41:04 +00:00
3ab6d77c20
Merge pull request #1379 from lioncash/color
...
color: Make trivial helpers constexpr
2016-01-28 15:22:57 -05:00
60fe45813b
color: Make trivial helpers constexpr
2016-01-27 22:14:17 -05:00
a43f8d2fb7
Merge pull request #1367 from yuriks/jit-jmp
...
Shader JIT: Fix off-by-one error when compiling JMPs
2016-01-27 09:19:28 -05:00
c407b6ce2f
Merge pull request #1369 from yuriks/jmpu-inverted
...
Shader: Implement "invert condition" feature of IFU instruction
2016-01-26 09:58:16 -05:00
01cb800256
Merge pull request #1370 from yuriks/gpureg-names
...
Debugger: Use 3dbrew names for GPU registers
2016-01-25 13:37:12 -05:00
8b3994e9e4
Merge pull request #1373 from lioncash/cast
...
elf: Don't cast away const
2016-01-25 00:41:32 -08:00
a89e32b157
elf: Don't cast away const
2016-01-25 02:36:57 -05:00
cfaacc07dc
Merge pull request #1372 from lioncash/tie
...
key_map: Use std::tie for comparisons
2016-01-24 22:38:37 -08:00
3933b68c59
key_map: Use std::tie for comparisons
2016-01-25 01:19:21 -05:00
c4cc099617
Merge pull request #1371 from lioncash/return
...
archive_backend: Remove unnecessary const from return types
2016-01-24 21:55:58 -08:00
3ed5ecd67a
archive_backend: Remove unnecessary const from return types
...
This doesn't return by reference so const isn't really necessary
2016-01-25 00:14:53 -05:00
d01d1f7e01
Debugger: Use 3dbrew names for GPU registers
...
This list was imported from the 3dbrew wiki page and is pretty much
complete.
2016-01-24 20:29:44 -08:00
083d2d89a5
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.
2016-01-24 20:29:06 -08:00
c1071c1ff7
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.
2016-01-24 02:15:56 -08:00
0b6cc0592d
Merge pull request #1334 from tfarley/hw-depth-modifiers
...
hwrasterizer: Use depth offset
2016-01-20 22:27:33 -05:00
f53dbafdae
hwrasterizer: Use depth offset
2016-01-20 21:57:59 -05:00
1b9012aea0
Merge pull request #1363 from robturn/master
...
DisassembleMemHalf: actually use width in determining opcode name
2016-01-19 13:02:42 -05:00
d29578d467
ARM_Disasm::DisassembleMemHalf: actually use width in determining opcode name
2016-01-19 18:42:16 +01:00
2c663fbc3e
Merge pull request #1360 from lioncash/var
...
command_processor: Get rid of variable shadowing
2016-01-17 15:59:21 -05:00
4966568076
command_processor: Get rid of variable shadowing
2016-01-17 02:22:51 -05:00
7b2d034769
Update README.md
2016-01-15 23:30:22 -08:00