Yuri Kunde Schlesner
a0b1957425
VideoCore: Move Regs to its own file
9 years ago
Yuri Kunde Schlesner
08df8f7d7a
VideoCore: Split shader regs from Regs struct
9 years ago
Yuri Kunde Schlesner
90d220d1b3
VideoCore: Split geometry pipeline regs from Regs struct
9 years ago
Yuri Kunde Schlesner
b4306bed74
VideoCore: Split lighting regs from Regs struct
9 years ago
Yuri Kunde Schlesner
6f9218c8ec
VideoCore: Split framebuffer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
1242f42a09
VideoCore: Split texturing regs from Regs struct
9 years ago
Yuri Kunde Schlesner
d3928b7f9a
VideoCore: Split rasterizer regs from Regs struct
9 years ago
Yuri Kunde Schlesner
114222b11e
Pica/Texture: Simplify/cleanup texture tile addressing
9 years ago
Yuri Kunde Schlesner
bf1614c693
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.
9 years ago
Yuri Kunde Schlesner
067b9b54bd
VideoCore: Consistently use shader configuration to load attributes
9 years ago
Yuri Kunde Schlesner
e05770fec4
VideoCore: Use correct register for immediate mode attribute count
9 years ago
Yuri Kunde Schlesner
07b51a7da0
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.
9 years ago
Yuri Kunde Schlesner
90fd00648c
clang-format: Fix coding style
9 years ago
James Rowe
2d1eb1ae01
Minor formatting change
9 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Yuri Kunde Schlesner
e1b005a568
PICA: Scissor fixes and cleanups
10 years ago
Subv
4a9e0e5430
PICA: Implement scissor test
10 years ago
Jannik Vogel
0d7d513c54
Pica: Add fog state
10 years ago
Jannik Vogel
d18118b305
Pica: Name LightSrc.config register
10 years ago
Jannik Vogel
16a0830caa
Pica: Name lighting.config0 and .config1 registers
10 years ago
Jannik Vogel
02a17627f5
Pica: Add texture type to state
10 years ago
Jannik Vogel
da761012b9
Pica: Implement W-Buffer in SW rasterizer
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Sam Spilsbury
79efd312a9
pica: Handle default lighting case
10 years ago
tfarley
459035a108
HWRasterizer: Texture forwarding
10 years ago
Jannik Vogel
ca9fb9d1d5
Rasterizer: Respect buffer-write allow registers
10 years ago
Yuri Kunde Schlesner
8c337f1d29
Pica: Improve accuracy of immediate-mode support
This partially fixes Etrian Odyssey IV.
10 years ago
Lioncash
f8c709aaca
core/video_core: Make NumIds functions constexpr
10 years ago
Lioncash
d04e1ad75c
core/video_core: Don't cast away const in subscript operators
Not to say these subscript operators aren't totally ugly as is.
10 years ago
Jannik Vogel
0957931bc4
PICA: Fix viewport offset
10 years ago
Jannik Vogel
3941f74688
Respect vs output map
10 years ago
Dwayne Slater
141fe87a0f
Add immediate mode vertex submission
10 years ago
bunnei
a5f5751b75
pica: Cleanup lighting register definitions and documentation.
10 years ago
bunnei
4e22e5544a
gl_rasterizer: Initial implementation of bump mapping.
10 years ago
bunnei
ff25eb8cc9
gl_shader_gen: Implement lighting red, green, and blue reflection.
10 years ago
bunnei
d376a783ea
gl_shader_gen: Implement fragment lighting fresnel effect.
10 years ago
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
81511f08fa
renderer_opengl: Initial implementation of basic specular lighting.
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
bunnei
44a1dcc088
gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.
10 years ago