Yuri Kunde Schlesner
50a3f434a0
shader_jit_x64: Use LOOPCOUNT_REG as a 64-bit reg when indexing
9 years ago
Yuri Kunde Schlesner
66efdff1a7
VideoCore: Make profiling scope more representative
9 years ago
Yuri Kunde Schlesner
eb75205231
VideoCore: Inline IsPicaTracing
Speeds up ALBW main menu slightly (~3%)
9 years ago
Yuri Kunde Schlesner
d8fc6ee91b
VideoCore: Eliminate an unnecessary copy in the drawcall loop
9 years ago
Yuri Kunde Schlesner
8ec064951f
shader_jit_x64: Use Reg32 for LOOP* registers, eliminating casts
9 years ago
Yuri Kunde Schlesner
2d892f845c
VideoCore: Convert x64 shader JIT to use Xbyak for assembly
9 years ago
Lioncash
b0ebdfae34
Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
9 years ago
Markus Wick
aa8236a9b6
OpenGL: Drop framebuffer completeness check.
This OpenGL call synchronize the worker thread of the nvidia blob.
It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable.
Those errors should not happen on tested drivers.
It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148
9 years ago
emmauss
4865993e6f
Implement Frame rate limiter ( #2223 )
* implement frame limiter
* fixes
9 years ago
Jannik Vogel
869743d34c
ASSERT that shader was linked successfully
9 years ago
Jannik Vogel
d676c9a06f
Report shader uniform block size in case of mismatch
9 years ago
Jannik Vogel
d8142ae075
Print broken shader code to log
9 years ago
Yuri Kunde Schlesner
515096c197
OpenGL: Non-zero stride only makes sense for linear buffers
9 years ago
Yuri Kunde Schlesner
2271fa76fb
OpenGL: Ensure framebuffer binding is restored if completion check fails
9 years ago
Yuri Kunde Schlesner
f207da3a5a
OpenGL: Fix DisplayTransfer accel when input width != output width
Fixes #2246 , #2261
9 years ago
Jannik Vogel
3020767914
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
9 years ago
Yuri Kunde Schlesner
90fd00648c
clang-format: Fix coding style
9 years ago
Jannik Vogel
62c76b4207
shader_jit: Load LOOPCOUNT_REG and LOOPINC 4 bit left-shifted
9 years ago
Subv
a485a04208
ClangFormat: Fixed the clang-format errors
9 years ago
Subv
d16be9bdbd
Build: Fixed a few warnings.
9 years ago
Emmanuel Gil Peyrot
87d3afe635
GPU: Remove the broken frame_skip option.
Fixes #1960 .
9 years ago
Subv
47603a64f1
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
9 years ago
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
10 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.
10 years ago
Yuri Kunde Schlesner
e72584084e
OpenGL: Take cached viewport sub-rect into account for scissor
Fixes #1938
10 years ago
wwylele
4d867489a4
rasterizer: separate TextureCopy from DisplayTransfer
10 years ago
Yuri Kunde Schlesner
32bddfa1f5
Remove special rules for Windows.h and library includes
10 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
10 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.
10 years ago
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
10 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
10 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.
10 years ago
Jannik Vogel
e22a00f35f
OpenGL: Avoid error on unsupported lighting LUT
10 years ago
bunnei
cfefb55db2
config: Add a setting for graphics V-Sync.
10 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