Yuri Kunde Schlesner
81004211dd
Pica: Improve accuracy of immediate-mode support
This partially fixes Etrian Odyssey IV.
10 years ago
Lioncash
c928b04eee
core/video_core: Make NumIds functions constexpr
10 years ago
Lioncash
39baad9926
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
964cfaea47
PICA: Fix viewport offset
10 years ago
Jannik Vogel
f746a00964
Respect vs output map
10 years ago
Dwayne Slater
6b775034dd
Add immediate mode vertex submission
10 years ago
bunnei
19557aaab3
pica: Cleanup lighting register definitions and documentation.
10 years ago
bunnei
9dfb223d26
gl_rasterizer: Initial implementation of bump mapping.
10 years ago
bunnei
348c9c9ff3
gl_shader_gen: Implement lighting red, green, and blue reflection.
10 years ago
bunnei
c37de30cfc
gl_shader_gen: Implement fragment lighting fresnel effect.
10 years ago
bunnei
0e67c21c9e
gl_shader_gen: Implement fragment lighting specular 1 component.
10 years ago
bunnei
781b046579
gl_shader_gen: Add support for D0 LUT scaling.
10 years ago
bunnei
3d89dacd56
gl_shader_gen: Refactor lighting config to match Pica register naming.
- Also implement D0 LUT enable.
10 years ago
bunnei
6307999116
pica: Cleanup and add some comments to lighting registers.
10 years ago
bunnei
6878ba7608
gl_rasterizer: Minor naming refactor on Pica register naming.
10 years ago
bunnei
bf89870437
renderer_opengl: Initial implementation of basic specular lighting.
10 years ago
bunnei
e9af70eaf3
renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.
10 years ago
bunnei
afbef52516
renderer_opengl: Implement diffuse component of HW fragment lighting.
10 years ago
bunnei
b003075570
pica: Implement decoding of basic fragment lighting components.
- Diffuse
- Distance attenuation
- float16/float20 types
- Vertex Shader 'view' output
10 years ago
bunnei
281bc90ad2
pica: Implement fragment lighting LUTs.
10 years ago
bunnei
4369767c72
pica: Add decodings for distance attenuation and LUT registers.
10 years ago
bunnei
38c7b20475
pica: Add pica_types module and move float24 definition.
10 years ago
bunnei
3c057bd3d8
gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.
10 years ago
Subv
e3f4233cef
Initial implementation of fragment shader generation with caching.
11 years ago
Lioncash
aec28ed91e
video_core: Reorganize headers
10 years ago
Yuri Kunde Schlesner
466e608c19
OpenGL: Remove ugly and endian-unsafe color pointer casts
11 years ago
Subv
58a04c0776
Pica: Added the primitive_restart register (0x25f) to the registers map.
10 years ago
Subv
149ea561a6
Pica: Add the vertex_offset register to the Pica registers map.
11 years ago
Subv
12a11472f1
GPU: Implemented register 0x22A.
This is the equivalent of the "first" parameter in glDrawArrays, it tells the GPU the vertex index at which to start rendering.
Register 0x22A doesn't affect indexed rendering.
11 years ago
Yuri Kunde Schlesner
eff10959de
fixup! Shaders: Fix multiplications between 0.0 and inf
11 years ago
Yuri Kunde Schlesner
630a850d4d
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
Subv
7c1f84a92b
SWRasterizer: Implemented stencil ops 6 and 7.
IncrementWrap and DecrementWrap, verified with hwtests.
11 years ago
Subv
fef1462371
SWRasterizer: Implemented stencil action 1 (GL_ZERO).
Verified with hwtests.
11 years ago
Subv
186873420f
GPU/Rasterizer: Corrected the stencil implementation.
Verified the behavior with hardware tests.
11 years ago
Tony Wasserka
4cb302c8ae
citra-qt: Improve shader debugger.
Now supports dumping the current shader and recognizes a larger number of output semantics.
11 years ago
Patrick Martin
5b65d95310
videocore: Added RG8 texture support
11 years ago
bunnei
3f69c2039d
Shader: Define a common interface for running vertex shader programs.
11 years ago
Yuri Kunde Schlesner
e130dac7de
Videocore: Don't reinitialize register name map on every query
This greatly speeds up the command list debug widget.
11 years ago
Subv
009e34f08a
GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.
11 years ago
Yuri Kunde Schlesner
ae985bf500
Pica: Correct switched S/T texture wrapping registers
This was found and hwtested by Lectem
11 years ago
Subv
3600c32483
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
Also added its name to the texture viewer widget
11 years ago
zawata
f7050021de
Video_Core: Finally fix pesky warning
11 years ago
Tony Wasserka
33568494af
Pica/Shader: Add geometry shader definitions.
11 years ago
Lectem
d08e9b29e2
VideoCore: Implement the DOT3_RGB combiner
11 years ago
Tony Wasserka
5e79706db2
Pica: Implement stencil testing.
11 years ago
Lectem
58d1c6398e
Added GL_CLAMP_TO_BORDER support
11 years ago
Emmanuel Gil Peyrot
22ae87530b
Common: Cleanup emu_window includes.
11 years ago
Yuri Kunde Schlesner
9b7d85a4f5
video_core: add extra braces around initializer
Trivial change and fixes several warnings in the clang build.
11 years ago
bunnei
33b9abb91e
Pica: Use zero for the SecondaryFragmentColor source.
- This is a workaround until we support fragment lighting.
11 years ago
bunnei
e6ace38815
Pica: Implement LogicOp function.
11 years ago