emmauss
c4e4fa53d9
Implement Frame rate limiter ( #2223 )
* implement frame limiter
* fixes
9 years ago
Jannik Vogel
fc4591fa49
ASSERT that shader was linked successfully
9 years ago
Jannik Vogel
4088afe23c
Report shader uniform block size in case of mismatch
9 years ago
Jannik Vogel
0edc986861
Print broken shader code to log
9 years ago
Yuri Kunde Schlesner
8a1f96011d
OpenGL: Non-zero stride only makes sense for linear buffers
9 years ago
Yuri Kunde Schlesner
2600633b89
OpenGL: Ensure framebuffer binding is restored if completion check fails
9 years ago
Yuri Kunde Schlesner
ba7f213655
OpenGL: Fix DisplayTransfer accel when input width != output width
Fixes #2246 , #2261
9 years ago
Jannik Vogel
2d8097eecc
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
9 years ago
Yuri Kunde Schlesner
4d5e42240c
clang-format: Fix coding style
9 years ago
Jannik Vogel
e2cb7d7833
shader_jit: Load LOOPCOUNT_REG and LOOPINC 4 bit left-shifted
9 years ago
Subv
e3e4f27447
ClangFormat: Fixed the clang-format errors
9 years ago
Subv
aea9a91100
Build: Fixed a few warnings.
9 years ago
Emmanuel Gil Peyrot
0820c99462
GPU: Remove the broken frame_skip option.
Fixes #1960 .
9 years ago
Subv
4623415026
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
9 years ago
Subv
743b0e71d9
Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
9 years ago
jphalimi
82210ab480
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
75affa13f7
Fix format error from #2195
9 years ago
Subv
050e9be15b
GPU/CiTrace: Avoid calling GetTextures() when not necessary.
9 years ago
James Rowe
19acec351c
Minor formatting change
9 years ago
James Rowe
d9305b0a07
Add default hotkey to swap primary screens.
Also minor style changes
9 years ago
James Rowe
2b1654ad9b
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
13d46f6820
Fix typos
9 years ago
Yuri Kunde Schlesner
d9a904f9cb
VideoCore: Shader interpreter cleanups
9 years ago
Yuri Kunde Schlesner
26b68313b9
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
01667d9a35
OpenGL: Take cached viewport sub-rect into account for scissor
Fixes #1938
9 years ago
wwylele
d2419570b9
rasterizer: separate TextureCopy from DisplayTransfer
9 years ago
Yuri Kunde Schlesner
f120e78b56
Remove special rules for Windows.h and library includes
9 years ago
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
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
396a8d91a4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Yuri Kunde Schlesner
a3afeb4687
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
7a79fa7a90
OpenGL: Avoid error on unsupported lighting LUT
9 years ago
bunnei
08ad9b36d4
config: Add a setting for graphics V-Sync.
9 years ago
Yuri Kunde Schlesner
ecf6ecf325
OpenGL: Add scaled resolution support to scissor
10 years ago
Yuri Kunde Schlesner
f0b9bc14b6
PICA: Scissor fixes and cleanups
10 years ago
Subv
f9be06b15f
PICA: Implement scissor test
10 years ago
scurest
0f9274fe24
Remove superfluous std::move in return std::move(local_var)
10 years ago
Jannik Vogel
a12571c709
OpenGL: Implement fog
10 years ago
Jannik Vogel
ebee2513a9
Rasterizer: Implement fog
10 years ago
Jannik Vogel
57855a1701
Pica: Add fog state
10 years ago
Jannik Vogel
c900c092e3
OpenGL: Avoid undefined behaviour for UNIFORM_BLOCK_DATA_SIZE
10 years ago
mailwl
07cc781163
gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueue
10 years ago
Jannik Vogel
6a28f46844
OpenGL: Set shader_dirty on lighting changes
10 years ago
Jannik Vogel
30a01584f2
Pica: Name LightSrc.config register
10 years ago
Jannik Vogel
8e905b3af6
Pica: Name lighting.config0 and .config1 registers
10 years ago
Jannik Vogel
068bd6f728
OpenGL: Use uniforms for dist_atten_bias and dist_atten_scale
10 years ago
Jannik Vogel
d77279a415
Refactor Tev stage dumper
10 years ago
Jannik Vogel
324c21c922
Extend Tev stage dumper
10 years ago
Jannik Vogel
ff0fa86b17
Retrieve shader result from new OutputRegisters-type
10 years ago