aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2016-02-05gl_rasterizer: Use alignas(16) instead of explicit padding.bunnei
2016-02-05renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.bunnei
2016-02-05gl_rasterizer: Fix issue with interpolation of opposite quaternions.bunnei
2016-02-05pica_types: Fix typo in docstring.bunnei
2016-02-05pica_types: Replace float24/20/16 with a template class.bunnei
2016-02-05command_processor: Add an assertion to ensure LUTs are not written past ↵bunnei
their boundaries.
2016-02-05gl_rasterizer: Remove unnecessary casts.bunnei
2016-02-05gl_rasterizer: Fix PicaShaderConfig on GCC.bunnei
2016-02-05gl_rasterizer: Initial implementation of bump mapping.bunnei
2016-02-05gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]).bunnei
2016-02-05gl_shader_gen: Implement lighting red, green, and blue reflection.bunnei
2016-02-05gl_shader_gen: View should be normalized.bunnei
2016-02-05gl_shader_gen: Implement fragment lighting fresnel effect.bunnei
2016-02-05gl_shader_gen: Implement fragment lighting specular 1 component.bunnei
2016-02-05gl_shader_gen: Add support for D0 LUT scaling.bunnei
2016-02-05gl_shader_gen: Refactor lighting config to match Pica register naming.bunnei
- Also implement D0 LUT enable.
2016-02-05pica: Cleanup and add some comments to lighting registers.bunnei
2016-02-05gl_rasterizer: Minor naming refactor on Pica register naming.bunnei
2016-02-05gl_shader_gen: Reorganize and cleanup lighting code.bunnei
- No functional difference.
2016-02-05gl_shader_gen: Fix directional lights.bunnei
2016-02-05gl_shader_gen: Fix bug with lighting where clamp highlights was only applied ↵bunnei
to last light.
2016-02-05gl_shader_gen: View vector needs to be normalized when computing half angle ↵bunnei
vector.
2016-02-05renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.bunnei
- Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
2016-02-05renderer_opengl: Initial implementation of basic specular lighting.bunnei
2016-02-05renderer_opengl: Implement HW fragment lighting distance attenuation.bunnei
2016-02-05renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.bunnei
2016-02-05renderer_opengl: Implement diffuse component of HW fragment lighting.bunnei
2016-02-05pica: Implement decoding of basic fragment lighting components.bunnei
- Diffuse - Distance attenuation - float16/float20 types - Vertex Shader 'view' output
2016-02-05pica: Implement fragment lighting LUTs.bunnei
2016-02-05pica: Add decodings for distance attenuation and LUT registers.bunnei
2016-02-05pica: Add pica_types module and move float24 definition.bunnei
2016-02-03hwrasterizer: Use proper cached fb addr/sizetfarley
2016-02-02OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging levelYuri Kunde Schlesner
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-01-27Merge pull request #1367 from yuriks/jit-jmpbunnei
Shader JIT: Fix off-by-one error when compiling JMPs
2016-01-26Merge pull request #1369 from yuriks/jmpu-invertedbunnei
Shader: Implement "invert condition" feature of IFU instruction
2016-01-24Debugger: Use 3dbrew names for GPU registersYuri Kunde Schlesner
This list was imported from the 3dbrew wiki page and is pretty much complete.
2016-01-24Shader: Implement "invert condition" feature of IFU instructionYuri Kunde Schlesner
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-24Shader JIT: Fix off-by-one error when compiling JMPsYuri Kunde Schlesner
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-20Merge pull request #1334 from tfarley/hw-depth-modifiersbunnei
hwrasterizer: Use depth offset
2016-01-20hwrasterizer: Use depth offsettfarley
2016-01-17command_processor: Get rid of variable shadowingLioncash
2016-01-12Merge pull request #1196 from linkmauve/khr_debugbunnei
Add optional GL_KHR_debug support
2015-12-30video_core: Make the renderer global a unique_ptrLioncash
2015-12-29swrasterizer: Add missing override specifierLioncash
2015-12-20VideoCore: Sync state after changing rasterizersYuri Kunde Schlesner
This fixes various bugs that appear in the HW rasterizer after switching between it and the SW one during emulation.
2015-12-09Merge pull request #1267 from yuriks/flipped-framebufferYuri Kunde Schlesner
OpenGL: Flip framebuffers during transfer rather than when rendering
2015-12-08Merge pull request #1269 from Subv/triangle_fanbunnei
GPU/PrimitiveAssembler: Fixed drawing triangle fans.
2015-12-07VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
2015-12-06VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner
2015-12-06OpenGL: Rename cache functions to better match what they actually doYuri Kunde Schlesner