Subv
d64661e40e
Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
9 years ago
jphalimi
5a580171b6
Cache Vertices instead of Output registers ( #2165 )
This patch brings +3% performance improvement on average. It removes
ToVertex() as an important hotspot of the emulator.
9 years ago
wwylele
1db648c247
Fix format error from #2195
9 years ago
Subv
9ee95ffbec
GPU/CiTrace: Avoid calling GetTextures() when not necessary.
9 years ago
James Rowe
2d1eb1ae01
Minor formatting change
9 years ago
James Rowe
72786d410e
Add default hotkey to swap primary screens.
Also minor style changes
9 years ago
James Rowe
08f830fed4
Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
10 years ago
Ricardo de Almeida Gonzaga
07fdcf150d
Fix typos
9 years ago
Yuri Kunde Schlesner
d4bcba2ca1
VideoCore: Shader interpreter cleanups
9 years ago
Yuri Kunde Schlesner
7872ec7cc3
VideoCore: Fix out-of-bounds read in ShaderSetup::ProduceDebugInfo
As far as I can tell, memset was replaced by a fill without correcting
the parameter type, causing an out-of-bounds array read in the Vec4
constructor.
9 years ago
Yuri Kunde Schlesner
e72584084e
OpenGL: Take cached viewport sub-rect into account for scissor
Fixes #1938
9 years ago
wwylele
4d867489a4
rasterizer: separate TextureCopy from DisplayTransfer
9 years ago
Yuri Kunde Schlesner
32bddfa1f5
Remove special rules for Windows.h and library includes
9 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
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
300e68c5df
VideoCore: Fix dangling lambda context in shader interpreter
The static meant that after the first execution, these lambda context
would be pointing to a random location on the stack. Fixes a random
crash when using the interpreter.
9 years ago
Jannik Vogel
e22a00f35f
OpenGL: Avoid error on unsupported lighting LUT
9 years ago
bunnei
cfefb55db2
config: Add a setting for graphics V-Sync.
9 years ago
Yuri Kunde Schlesner
8e13889337
OpenGL: Add scaled resolution support to scissor
10 years ago
Yuri Kunde Schlesner
e1b005a568
PICA: Scissor fixes and cleanups
10 years ago
Subv
4a9e0e5430
PICA: Implement scissor test
10 years ago
scurest
de4705914d
Remove superfluous std::move in return std::move(local_var)
10 years ago
Jannik Vogel
41b823a637
OpenGL: Implement fog
10 years ago
Jannik Vogel
528b4ba2a7
Rasterizer: Implement fog
10 years ago
Jannik Vogel
0d7d513c54
Pica: Add fog state
10 years ago
Jannik Vogel
9a3c245750
OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE
10 years ago
mailwl
ee188dbdc6
gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue
10 years ago
Jannik Vogel
e00b2fbcc2
OpenGL: Set shader_dirty on lighting changes
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
be4a423c19
OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale
10 years ago
Jannik Vogel
4511a8505d
Refactor Tev stage dumper
10 years ago
Jannik Vogel
79369e240a
Extend Tev stage dumper
10 years ago
Jannik Vogel
df3eeea302
Retrieve shader result from new OutputRegisters-type
10 years ago
Jannik Vogel
8655efef3e
OpenGL: Only update depth uniforms if the depth changed
10 years ago
Jannik Vogel
dc25f50017
OpenGL: value-initialize variables which cause uninitialised access otherwise
10 years ago
Jannik Vogel
208a74a882
Use new shader-jit signature for interpreter
10 years ago
Jannik Vogel
b3e96d8e29
Refactor access to state in shader-jit
10 years ago
Jannik Vogel
55e804b610
OpenGL: Support blend equation
10 years ago
Jannik Vogel
ad0acfea14
Move program_counter and call_stack from UnitState to interpreter
10 years ago
Jannik Vogel
101eb11369
Move default_attributes into Pica state
10 years ago
Jannik Vogel
acfb5257dd
Turn ShaderSetup into struct
10 years ago
Jannik Vogel
833799a328
OpenGL: Implement texture type 3
10 years ago
Jannik Vogel
e149c3cad4
Rasterizer: Implement texture type 3
10 years ago
Jannik Vogel
76be1439f6
Pica: Add tc0.w to OutputVertex
10 years ago
Jannik Vogel
02a17627f5
Pica: Add texture type to state
10 years ago
Lioncash
4b5da9b606
gl_rasterizer: Fix compilation for debug builds
10 years ago
Jannik Vogel
1f3ecfa49a
OpenGL: Implement W-Buffers and fix depth-mapping
10 years ago