Lioncash
|
7b2af63608
|
video_core: Don't cast away const
|
10 years ago |
Lioncash
|
6d9e7e962b
|
shader_interpreter: use std::inner_product for the dot product
Same thing, less code.
|
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
|
67d9455c24
|
PICA: Alignment happens locally in vertex
|
10 years ago |
Jannik Vogel
|
9e29ed3f66
|
PICA: Fix MAD/MADI encoding
|
10 years ago |
Jannik Vogel
|
0957931bc4
|
PICA: Fix viewport offset
|
10 years ago |
Jannik Vogel
|
5cf2de5ecf
|
PICA: Align vertex attributes
|
10 years ago |
bunnei
|
fcbcf16024
|
shader_jit_x64: Clear cache after code space fills up.
|
10 years ago |
bunnei
|
39b59df530
|
shader_jit_x64: Make assert outputs more useful & cleanup formatting.
|
10 years ago |
bunnei
|
a5d41a373e
|
shader: Update log message to use proper log class.
|
10 years ago |
Lioncash
|
f932c2f4ac
|
Common: Get rid of alignment macros
The gl rasterizer already uses alignas,
so we may as well move everything over.
|
10 years ago |
Lioncash
|
451cd3e77d
|
renderer_base: In-class initialize variables
|
10 years ago |
Lioncash
|
b759bf3513
|
render_base: Clarify/normalize getter functions
|
10 years ago |
Lioncash
|
c9f47a9b3c
|
renderer_base: Don't directly expose the rasterizer unique_ptr
There's no reason to allow direct access to the unique_ptr instance. Only
its contained pointer.
|
10 years ago |
LittleWhite
|
59fe02348a
|
Improve error report from Init() functions
Add error popup when citra initialization failed
|
10 years ago |
Yuri Kunde Schlesner
|
d2ce686d97
|
Pica: Write depth value even when depth test is disabled
This has been confirmed on hardware. Fixes Etrian Odyssey IV.
|
10 years ago |
Dwayne Slater
|
141fe87a0f
|
Add immediate mode vertex submission
|
10 years ago |
MerryMage
|
0e58079fcd
|
renderer_opengl: Initalise fragment shader LUT textures
|
10 years ago |
Dwayne Slater
|
77879fcf08
|
Fix out of bounds array access when loading a component >= 12
|
10 years ago |
Dwayne Slater
|
ad2c86d416
|
Add support for padding vertex attributes
|
10 years ago |
MerryMage
|
867c111e99
|
BitField: Make trivially copyable and remove assignment operator
|
10 years ago |
bunnei
|
a5f5751b75
|
pica: Cleanup lighting register definitions and documentation.
|
10 years ago |
bunnei
|
0a12278cd2
|
gl_rasterizer: Use alignas(16) instead of explicit padding.
|
10 years ago |
bunnei
|
1dd1f58218
|
renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.
|
10 years ago |
bunnei
|
a6ad0df69f
|
gl_rasterizer: Fix issue with interpolation of opposite quaternions.
|
10 years ago |
bunnei
|
0e48729a3a
|
pica_types: Fix typo in docstring.
|
10 years ago |
bunnei
|
cc283bfedd
|
pica_types: Replace float24/20/16 with a template class.
|
10 years ago |
bunnei
|
27523be7a4
|
command_processor: Add an assertion to ensure LUTs are not written past their boundaries.
|
10 years ago |
bunnei
|
fb6e05281c
|
gl_rasterizer: Remove unnecessary casts.
|
10 years ago |
bunnei
|
a30c609b75
|
gl_rasterizer: Fix PicaShaderConfig on GCC.
|
10 years ago |
bunnei
|
4e22e5544a
|
gl_rasterizer: Initial implementation of bump mapping.
|
10 years ago |
bunnei
|
da4f531a59
|
gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]).
|
10 years ago |
bunnei
|
ff25eb8cc9
|
gl_shader_gen: Implement lighting red, green, and blue reflection.
|
10 years ago |
bunnei
|
4f0fc85f84
|
gl_shader_gen: View should be normalized.
|
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
|
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 |